12-14-2017 12:48 AM - last edited on 12-14-2017 04:32 AM by cjervis
I'm using bundled hive (1.1.0) in CDH 5.12.1.
I need to investigate an issue that a session handle was closed unexpectly.
These are what I did:
1. Checkout the hive 1.1.0 source codes from the Hive community and add some logs
in the SessionManager class
2. Build Hive jar files
3. Replace the /opt/cloudera/parcels/CHD/jars/hive-service-1.1.0-cdh5.12.1.jar with my hive-service-1.1.0.jar
4. Restart Hive in the CM web page
5. Rerun our test case
But I can't find our added log in the /var/log/hive/hadoop...HIVESERVER2*.log.out
Does anyone know which jar file should I replace?
We have only one hive server in our hadoop cluster