Title
Create new category
Edit page index title
Edit category
Edit link
Troubleshooting ODP
This section helps you with solving and configuring common issues related to component installation in ODP.
Configure /tmp
If /tmp is required to be mounted as exec but compliance issues necessitate mounting it as noexec, follow the steps below on every node to create an alternative tmp directory:
- Create an alternative tmp directory:
sudo mkdir -p /hadoop/tmpsudo chown root:hadoop /hadoop/tmpsudo chmod 1770 /hadoop/tmp- Update Ambari configuration for respective services:
- For HBase, YARN-HBase (Timeline Reader), and Ambari Metrics (AMS): In Ambari, update the YARN configurations
yarn-hbase-env, AMSams-hbase-env, and HBasehbase-envby adding:
export HBASE_OPTS="$HBASE_OPTS -Dorg.apache.hbase.thirdparty.io.netty.native.workdir=/hadoop/tmp"- For Knox: Directly update
gateway.shandknoxcli.shin the file system on all Knox hosts by appending:
-Djava.io.tmpdir=/hadoop/tmp -D*jna*.tmpdir=/hadoop/tmp- For HDFS/YARN/MR: Override
HADOOP_OPTSand append:
-Djava.io.tmpdir=/hadoop/tmpThe above adjustments ensure compatibility and functionality despite the noexec mount constraint.
Cruise Control
If Cruise Control fails to start after enabling SSL, verify the value of the following properties.
Path: In the Ambari UI > Kafka > Configs > Advanced cruise-control.
zookeeper.connect = <zk-connect-string>zookeeper.security.enabled = trueImpala
- Update/add these configurations respectively for smooth Impala installation
Pre-installation > Update in impala-env, if not set :
is_coordinator = true
is_executor = true
Post-installation > Add custom properties in hadoop core-site :
hadoop.proxyuser.impala.groups=*
hadoop.proxyuser.impala.hosts=*
Ranger
- If the KMS ranger policy fails to create. Perform the following steps:
- Remove the empty KMS policy folder from the CLI
- Restart Ranger from Ambari UI
- Then, Restart Ranger KMS from Ambari UI
- If service repo creation fails with a missing RangerLookup user, create a RangerLookup user manually from the Ranger UI.
- On enabling Ranger SSL, if the plugin component fails to start with the following error, add htrace-core4-4.1.0-incubating.jar to the respective Ranger plugin lib path and restart the service.
Error:
Execute[(u'/usr/odp/3.2.3.5-3/ranger-ozone-plugin/ranger_credential_helper.py', '-l', u'/usr/odp/3.2.3.5-3/ranger-ozone-plugin/install/lib/*', '-f', '/etc/ranger/rl8F32342_ozone/cred.jceks', '-k', 'sslTrustStore', '-v', [PROTECTED], '-c', '1')] {'logoutput': True, 'environment': {'JAVA_HOME': u'/usr/lib/jvm/java-1.8.0-openjdk'}, 'sudo': True}Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/htrace/core/Tracer$BuilderExample solution:
cp /usr/odp/3.2.3.5-3/ranger-admin/cred/lib/htrace-core4-4.1.0-incubating.jar /usr/odp/3.2.3.5-3/ranger-ozone-plugin/install/lib/Spark2
During the installation of Spark2, if the user interface displays "installing Livy3" instead of "Livy2," it is a typographical error on the UI front and can be disregarded.
MySQL 8.x
- If service setup or start fails with the error "Host 'host' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'", follow these steps:
# Check and increase max connections# MySQL shellSET GLOBAL max_connect_errors=100000;- If MySQL connection fails with the error "SQLException: SQL state: 08001 java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed ErrorCode: 0", this is caused by the default authentication plugin change from
mysql_native_passwordtocaching_sha2_passwordin MySQL 8.0. See MySQL 8.0 Reference Manual :: 3.5 Changes in MySQL 8.0.
To fix this issue, add ?allowPublicKeyRetrieval=true&useSSL=false to the MySQL JDBC connection string. For example: "jdbc:mysql://hostname:3306/ranger?allowPublicKeyRetrieval=true&useSSL=false".