Setting HDFS Default FS to Ozone FS
Hi Team,
Looking for inputs on defaulting HDFS storage to Ozone FS. As part of HDFS configuration from Cloudera Manager, in core-site.xml tried setting the following properties mentioned in :
https://ozone.apache.org/docs/1.0.0/interface/ofs.html
Post restarting the service, SecondaryNameNode fails with below exception :
Failed to start secondary namenode
java.io.IOException: This is not a DFS
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.getInfoServer(SecondaryNameNode.java:456)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:239)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:194)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:690)
However other role types i.e DataNode and NamedNode start up fine.
Listing the files using the command :
- sudo -u hdfs hdfs dfs -ls /
Still list the content from HDFS file system and not from Ozone storage. The same config settings work fine for Hive in defaulting to Ozone from HDFS.
Any suggestions on right way of configuring HDFS to Ozone storage is appreciated ? Also is this a supported config scenario ? Thanks.

