java.net.SocketException: Broken pipe (Write failed) (state=08S01,code=0)

0: jdbc:hive2://localhost:10000/default> desc function StringLower;
Unknown HS2 problem when communicating with Thrift server.
Error: org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe (Write failed) (state=08S01,code=0)

只要hiveserver2启动了,就不会报这个错误了。

先查下hiveserver2启动没,启动要好久。

$ ps -anp|grep 10000(打错了。。)

一直没反应,卧槽,原来是打错了。

应该是

liugen@ubuntu:~$ netstat -anp|grep 10000
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp6       0      0 :::10000                :::*                    LISTEN      29778/java   

猜你喜欢

转载自blog.csdn.net/u011495642/article/details/84324821
今日推荐