Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes troubleshooting steps and possible resolutions for issues when interacting with Azure HDInsight clusters.
Apache HBase region server process starts occupying close to 200% CPU, causing alerts to fire on HBase Master process and cluster to not function at full capacity.
If you are running HBase cluster v3.4, you might have been hit by a potential bug caused by upgrade of jdk to version 1.7.0_151. The symptom we see is region server process starts occupying close to 200% CPU. To verify this, run the top
command; if there is a process occupying close to 200% CPU get its pid
and confirm it is region server process by running ps -aux | grep
.
Install jdk 1.8 on ALL nodes of the cluster as given:
Run the script action
https://raw.githubusercontent.com/Azure/hbase-utils/master/scripts/upgradetojdk18allnodes.sh
. Be sure to select the option to run on all nodes.Alternatively, you can sign in to every individual node and run the command
sudo add-apt-repository ppa:openjdk-r/ppa -y && sudo apt-get -y update && sudo apt-get install -y openjdk-8-jdk
.
Go to Ambari UI -
https://<clusterdnsname>.azurehdinsight.cn
.Navigate to HBase->Configs->Advanced->Advanced
hbase-env configs
and change the variableJAVA_HOME
toexport JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
. Save the config change.[Optional but recommended] Flush all tables on cluster.
From Ambari UI again, restart all HBase services that need restart.
Depending on the data on cluster, it might take a few minutes to up to an hour for the cluster to reach stable state. To confirm that the cluster has reached a stable state, you can check the HMaster UI (ensure all region servers are active) in Ambari by refreshing the page. Alternatively, you can run the HBase shell from the headnode and then execute the status command.
To verify that your upgrade was successful, check that the relevant HBase processes are started using the appropriate Java version - for instance for region server check as:
ps -aux | grep regionserver, and verify the version like '''/usr/lib/jvm/java-8-openjdk-amd64/bin/java
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
- If you need more help, you can submit a support request from the Azure portal. Select Support from the menu bar or open the Help + support hub.