|
@@ -810,6 +810,13 @@ public class ViewFileSystem extends FileSystem {
|
|
|
res.targetFileSystem.deleteSnapshot(res.remainingPath, snapshotName);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public void satisfyStoragePolicy(Path src) throws IOException {
|
|
|
+ InodeTree.ResolveResult<FileSystem> res =
|
|
|
+ fsState.resolve(getUriPath(src), true);
|
|
|
+ res.targetFileSystem.satisfyStoragePolicy(res.remainingPath);
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public void setStoragePolicy(Path src, String policyName) throws IOException {
|
|
|
InodeTree.ResolveResult<FileSystem> res = fsState.resolve(getUriPath(src),
|
|
@@ -1245,6 +1252,12 @@ public class ViewFileSystem extends FileSystem {
|
|
|
throw new NotInMountpointException(f, "getQuotaUsage");
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public void satisfyStoragePolicy(Path src) throws IOException {
|
|
|
+ checkPathIsSlash(src);
|
|
|
+ throw readOnlyMountTable("satisfyStoragePolicy", src);
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public void setStoragePolicy(Path src, String policyName)
|
|
|
throws IOException {
|