...
Once the package is built, you can start Ozone services by going to the hadoop-dist/target/ozone-0.
2?.
1?-SNAPSHOT
directory. The '?.?.?
' wildcard will be expanded by most shells to the correct Ozone version number.
Configuration
To get started, just save the minimal snippet to the hadoop-dist/target/ozone-?.?.?-SNAPSHOT/etc/hadoop/ozone-site.xml
file (inside your hadoop distribution)in the compiled distribution.
Code Block | ||
---|---|---|
| ||
<configuration> <properties> <property><name>ozone.scm.block.client.address</name><value>localhost</value></property> <property><name>ozone.handler.type</name><value>distributed</value></property> <property><name>ozone.enabled</name><value>True</value></property> <property><name>ozone.scm.datanode.id</name><value>/tmo/ozone/data/datanode.id</value></property> <property><name>ozone.scm.client.address</name><value>localhost</value></property> <property><name>ozone.replication</name><value>1</value></property> <property><name>ozone.metadata.dirs</name><value>/tmp/ozone/data/metadata</value></property> <property><name>ozone.scm.names</name><value>scm</value></property> <property><name>ozone.om.address</name><value>localhost</value></property> </properties> </configuration> |
Run
To start ozone, you need to start SCM and OzoneManager. In pseudo-cluster mode, both services will be started on localhost.
...