Please refer following doc for storage policy commands.now it’s “hdfs storagepolicies”
https://hadoop.apache.org/docs/r2.7.3/hadoop-project-dist/hadoop-hdfs/ArchivalStorage.html Regards Brahmareddy On Wed, Sep 26, 2018 at 12:05 PM, Kousuke Miyamoto < [email protected]> wrote: > Hi users, > I use HDFS version 2.7.3 with that command manual but I could not run > dfsadmin command with -getStoragePolicy or -setStoragePolicy. > > $ hdfs dfsadmin -getStoragePolicy /user/guest/ > getStoragePolicy: Unknown command > > $ hdfs dfsadmin -setStoragePolicy /user/guest/ COLD > setStoragePolicy: Unknown command > > Do these options exist in dfsadmin command? > If not, is this a manual bug? > > Reference:< > https://hadoop.apache.org/docs/r2.7.3/hadoop-project-dist/hadoop-hdfs/HDFSCommands.html#dfsadmin > > > > Best Regards > > Kousuke Miyamoto > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- --Brahma Reddy Battula
