public static class Hadoop23Shims.StoragePolicyShim extends Object implements HadoopShims.StoragePolicyShim
Constructor and Description |
---|
StoragePolicyShim(org.apache.hadoop.hdfs.DistributedFileSystem fs) |
Modifier and Type | Method and Description |
---|---|
void |
setStoragePolicy(org.apache.hadoop.fs.Path path,
HadoopShims.StoragePolicyValue policy) |
public StoragePolicyShim(org.apache.hadoop.hdfs.DistributedFileSystem fs)
public void setStoragePolicy(org.apache.hadoop.fs.Path path, HadoopShims.StoragePolicyValue policy) throws IOException
setStoragePolicy
in interface HadoopShims.StoragePolicyShim
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.