Created 06-24-2016 12:24 PM
I am using beeline in HDP 2.4 and a non-kerberos environment and after opening the session and typing a few commands ( mostly add jar commands),
I am getting the below exception
Error: org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe (state=08S01,code=0)
Any thoughts on this error and what could be the reason
Created 06-24-2016 02:07 PM
Hi Arun,
Can you check if your metastore is running with no issues and are there any issues with metastore and backend DB connection ?
Thanks
Created 06-24-2016 03:32 PM
You should check the following:
If your query is failing on (2) can you please post the detailed error message from the hiveserver2 log.
Created 06-27-2016 05:04 AM
I am attaching the logs as a .txt file. I am able to connect to hive using beeline and then hiveserver2 goes down and comes back automatically. hiveserver2log.txt. Seeing ane error like cannot create znode in zookeeper.
Created 06-27-2016 05:25 AM
The attached log shows error registering with the zookeeper. Can you check the zookeeper log if you spot any errors there?
Created 06-27-2016 05:49 AM
hi @Deepesh, the zookeeper logs doesnt have anything , it is zero bytes. Does hive use zookeeper?
Created 06-27-2016 05:09 PM
HiveServer2 instance registers itself to Zookeeper under the /hiveserver2 node.