Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

hive server2 interactive logs

avatar
Explorer

Hi

Our Hive Server2 Interactive is stopping after around 10 min after restart.

I couldn't find hiveserver2Interactive.log in /var/log/hive, hive-server2-interactive.err is showing following:

/usr/hdp/current/hive-server2/conf_llap//hive-env.sh: line 43: [: !=: unary operator expected

2018-11-07 14:40:33: Starting HiveServer2 
SLF4J: Class path contains multiple SLF4J bindings. 
SLF4J: Found binding in [jar:file:/usr/hdp/3.0.1.0-187/hive/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
SLF4J: Found binding in [jar:file:/usr/hdp/3.0.1.0-187/hadoop/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] 

Hive Session ID = c4e8edc5-ed5e-4f96-ba70-00779ac20dc9 
Hive Session ID = b5ad883d-4a65-45f7-a6dd-1ea3797724ea

Any help will be appreciated.

Thanks

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Explorer

Many Thanks Sandeep.

Yes it is working now. I would like to add more details for fix:

Update hive-interactive-env template and hive-env template Hive config properties from Ambari UI.