Hi Margus, The commit (code version) you are using for building ozone is very old (Tue Nov 22 17:41:13 2016), can you do a “git pull” on HDFS-7240 branch and take a new build?
The documentation you are referring is also very old one, currently the documentation work is happening as part of HDFS-12664 You can follow - https://issues.apache.org/jira/browse/HDFS-12664 Below are the mandatory properties that has to be set in ozone-site.xml to enable Ozone Setting Value Comment -------------------------------------------------------------------------------------------------------------------------------- ozone.enabled True This enables Ozone in an HDFS cluster. ozone.metadata.dirs <file path> The metadata will be stored here. ozone.scm.names <SCM server name> Hostname:port or IP:port address of SCM. ozone.scm.datanode.id <file path> Data node ID is the location of data node's ID file ozone.scm.block.client.address <SCM server name> Used by services like KSM ozone.ksm.address <KSM server name> Used by Ozone REST front end, Ozone clients, and Ozone file system. To run a pseudo cluster you can use the below configuration ozone-site.xml <property> <name>ozone.enabled</name> <value>True</value> </property> <property> <name>ozone.scm.client.address</name> <value>localhost</value> </property> <property> <name>ozone.scm.block.client.address</name> <value>localhost</value> </property> <property> <name>ozone.scm.names</name> <value>localhost</value> </property> <property> <name>ozone.ksm.address</name> <value>localhost</value> </property> <property> <name>ozone.scm.datanode.id</name> <value>/data/datanode.id</value> </property> <property> <name>ozone.metadata.dirs</name> <value>/data/metadata</value> </property> </configuration> Thanks, Nanda ------------------------------------------------ Hi Downloaded and compiled ozone as described https://wiki.apache.org/hadoop/Ozone Version: 3.0.0-alpha2-SNAPSHOT, rffe937a1f295398ed0e0606b00566f41129f157c Compiled: Wed Feb 01 17:38:00 +0200 2017 by ozone from HDFS-7240 hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/bin/hdfs shows that there are arguments: ... oz command line interface for ozone ... scm run the Storage Container Manager service But if I'll try to use them I am getting [ozone@bigdata24 hadoop-3.0.0-alpha2-SNAPSHOT]$ bin/hdfs oz ERROR: oz is not COMMAND nor fully qualified CLASSNAME. [ozone@bigdata24 hadoop-3.0.0-alpha2-SNAPSHOT]$ bin/hdfs scm Error: Could not find or load main class [ozone@bigdata24 hadoop-3.0.0-alpha2-SNAPSHOT]$ bin/hdfs classpath /home/ozone/hadoop_ozone/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/etc/hadoop:/home/ozone/hadoop_ozone/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/share/hadoop/common/lib/*:/home/ozone/hadoop_ozone/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/share/hadoop/common/*:/home/ozone/hadoop_ozone/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/share/hadoop/hdfs:/home/ozone/hadoop_ozone/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/share/hadoop/hdfs/lib/*:/home/ozone/hadoop_ozone/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/share/hadoop/hdfs/*:/home/ozone/hadoop_ozone/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/share/hadoop/mapreduce/*:/home/ozone/hadoop_ozone/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/share/hadoop/yarn/lib/*:/home/ozone/hadoop_ozone/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/share/hadoop/yarn/* hints? -- Margus (margusja) Roo http://margus.roo.ee<http://margus.roo.ee/> skype: margusja https://www.facebook.com/allan.tuuring +372 51 48 780
