Troubleshooting Ozone
When working with the Ozone file system, you can configure the respective service mentioned in Working with Ozone File System. If any of the below errors occur, you can follow the respective workarounds to troubleshoot them.
Error 1
Description: The OFS with Hive operations are failing with the below error message.
Error
java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.ozone.RootedOzoneFileSystem
Workaround:
- Navigate to Ambari UI > Hive > Configs > Advanced > Advanced hive-env, edit the hive-env as below, and restart the Hive service.
export HIVE_AUX_JARS_PATH=${HIVE_AUX_JARS_PATH}:/usr/odp/3.2.3.2-204/ozone/share/ozone/lib/ozone-filesystem-hadoop3-1.4.0.3.2.3.2-204.jar:/usr/odp/3.2.3.2-204/ozone/share/ozone/lib/ozone-filesystem-hadoop3-client-1.4.0.3.2.3.2-204.jar
Error 2
Description: The OFS with Hive operations are failing with the below error message.
Error
java.io.IOException: Cannot resolve OM host omservice in the URI.
Workaround:
- Navigate to Ambari UI > Hive > Configs > Advanced > Advanced hive-site, update the properties as below in hive-site, and restart the Hive service.
Property | Value |
ozone.om.service.ids | omservice |
ozone.om.address.omservice.om0 | <om-node1-host>:9862 |
ozone.om.address.omservice.om1 | <om-node2-host>:9862 |
ozone.om.address.omservice.om2 | <om-node3-host>:9862 |
ozone.om.nodes.omservice | om0,om1,om2 |
ozone.om.kerberos.keytab.file | /etc/security/keytabs/ozone.om.service.keytab |
Error 3
Error Description: The data is not updating on the Recon UI.
Workaround:
- Add dr.who user to ozone.administrator and restart the service.
- Remove dr.who user from ozone.administrator and restart the services again.
