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.

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.
Bash
Copy

Error 2

Description: The OFS with Hive operations are failing with the below error message.

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.
PropertyValue
ozone.om.service.idsomservice
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.omserviceom0,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:

  1. Add dr.who user to ozone.administrator and restart the service.
  2. Remove dr.who user from ozone.administrator and restart the services again.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated