Support Questions

Find answers, ask questions, and share your expertise

Hive Server2 Interactive (LLAP) Starting Error

Hi,
I got the following error from datanodes when trying to start LLAP (Hiveserver2 Interactive):

----------------------

ERROR [main ()] org.apache.hadoop.hive.llap.daemon.impl.LlapDaemon: Failed to start LLAP Daemon with exception
java.lang.NoClassDefFoundError: org/apache/tez/hadoop/shim/HadoopShimsLoader
	at org.apache.hadoop.hive.llap.daemon.impl.ContainerRunnerImpl.<init>(ContainerRunnerImpl.java:157) ~[hive-llap-server-2.1.0.2.6.4.0-91.jar:2.1.0.2.6.4.0-91]
	at org.apache.hadoop.hive.llap.daemon.impl.LlapDaemon.<init>(LlapDaemon.java:291) ~[hive-llap-server-2.1.0.2.6.4.0-91.jar:2.1.0.2.6.4.0-91]
	at org.apache.hadoop.hive.llap.daemon.impl.LlapDaemon.main(LlapDaemon.java:529) [hive-llap-server-2.1.0.2.6.4.0-91.jar:2.1.0.2.6.4.0-91]

2 REPLIES 2

Super Mentor
@Mahmoud Sabri

Can you please check your "/usr/hdp/x.x.x.x/tez_hive2/" directory and then see if you have the following kind of JARs present there?
Here please replace the "x.x.x.x" with the respective version of your HDP
Example: Version may be different in your case? If not then the LLAP might not be installed properly. Try reinstalling it once.

[root@sandbox ~]# cd /usr/hdp/2.6.0.3-8/tez_hive2
[root@sandbox tez_hive2]# ls -l hadoop-shim-*
-rw-r--r-- 1 root root 8792 Apr  1  2017 hadoop-shim-0.8.4.2.6.0.3-8.jar
-rw-r--r-- 1 root root 5463 Apr  1  2017 hadoop-shim-hdp-0.8.4.2.6.0.3-8.jar

Yes, I've as following on all nodes:

# ls -al /usr/hdp/2.6.4.0-91/tez_hive2/hadoop-shim*.jar

-rw-r--r-- 1 root root 8803 Jan 4 13:35 /usr/hdp/2.6.4.0-91/tez_hive2/hadoop-shim-0.8.4.2.6.4.0-91.jar

-rw-r--r-- 1 root root 5453 Jan 4 13:35 /usr/hdp/2.6.4.0-91/tez_hive2/hadoop-shim-hdp-0.8.4.2.6.4.0-91.jar

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.