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

目录
相关文章
|
5月前
|
存储 JSON Java
Protocol
【7月更文挑战第20天】
66 1
|
SQL JavaScript 关系型数据库
Client does not support authentication protocol requested by server
Client does not support authentication protocol requested by server
78 0
|
应用服务中间件
Error:Remote staging type or host is not specified.
Error:Remote staging type or host is not specified.
167 0
|
iOS开发 MacOS
curl: (4) A requested feature, protocol or option was not found
curl: (4) A requested feature, protocol or option was not found
280 0
curl: (4) A requested feature, protocol or option was not found
|
网络协议
OGG-01232 Receive TCP params error: TCP/IP error 104 (Connection reset by peer), endpoint:
源端: 2015-02-05 17:45:49 INFO OGG-01815 Virtual Memory Facilities for: COM anon alloc: mmap(MAP_ANON) anon free: munmap file alloc: mmap(MAP_SH...
3121 0
|
安全 网络安全
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)
884 0
|
网络安全 开发工具 数据安全/隐私保护
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
351 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
462 0
|
Web App开发 监控 应用服务中间件
recv() failed (104: Connection reset by peer) while reading response header from upstream
2017年12月1日10:18:34 情景描述: 浏览器执行了一会儿, 报500错误 运行环境:  nginx + php-fpm nginx日志:  recv() failed (104: Connection reset by peer) while reading response he...
9422 0