thriftpy2.protocol.exc.TProtocolException: No protocol version header

简介: thriftpy2.protocol.exc.TProtocolException: No protocol version header
thriftpy2.protocol.exc.TProtocolException: No protocol version header
Traceback (most recent call last):
  File "D:\Anaconda\lib\site-packages\thriftpy2\transport\socket.py", line 96, in open
    self.sock.connect(addr)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "E:/Code/PyCharm/Spark实训/test.py", line 13, in <module>
    connection.open()
  File "D:\Anaconda\lib\site-packages\happybase\connection.py", line 176, in open
    self.transport.open()
  File "D:\Anaconda\lib\site-packages\thriftpy2\transport\buffered\__init__.py", line 29, in open
    return self._trans.open()
  File "D:\Anaconda\lib\site-packages\thriftpy2\transport\socket.py", line 105, in open
    message="Could not connect to %s" % str(addr))
thriftpy2.transport.base.TTransportException: TTransportException(type=1, message="Could not connect to ('hadoop102', 9090)")

使用happybase连接HBase时出现上面的问题,经过一番排查,发现是HBase的Thrift服务没有启动

bin/hbase-daemon.sh start thrift


1a86ee9147dd57e3c00fcef1a4ab7aed_watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5a2m5aeQ5bim5L2g546pQUk=,size_20,color_FFFFFF,t_70,g_se,x_16.png

1a86ee9147dd57e3c00fcef1a4ab7aed_watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5a2m5aeQ5bim5L2g546pQUk=,size_20,color_FFFFFF,t_70,g_se,x_16.png

目录
相关文章
|
9月前
|
应用服务中间件
Error:Remote staging type or host is not specified.
Error:Remote staging type or host is not specified.
|
10月前
|
应用服务中间件 网络安全 nginx
ERR_SSL_PROTOCOL_ERROR #53
ERR_SSL_PROTOCOL_ERROR #53
275 0
|
开发工具 git
fatal: protocol ‘“https‘ is not supported
fatal: protocol ‘“https‘ is not supported
|
iOS开发 MacOS
curl: (4) A requested feature, protocol or option was not found
curl: (4) A requested feature, protocol or option was not found
214 0
curl: (4) A requested feature, protocol or option was not found
|
安全 网络安全
SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)
SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)
723 0
|
开发工具 git
fatal: protocol ‘–https‘ is not supported
fatal: protocol ‘–https‘ is not supported
382 0
fatal: protocol ‘–https‘ is not supported
|
网络安全 开发工具 数据安全/隐私保护
Fetch failed: unable to access': E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Fetch failed: unable to access': E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
284 0
solidity中transfer异常"send" and "transfer" are only available for objects of type address
solidity中transfer异常"send" and "transfer" are only available for objects of type address
412 0