we use django and impyla to connect hiveserver2, when qps is larger than 10, it will get these two errors, we can't find similar errors in google , we want to know why this error will happen, thanks very much
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/interface.py", line 175, in exit
self.close()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/hiveserver2.py", line 241, in close
self.session.close()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/hiveserver2.py", line 1020, in close
self._rpc('CloseSession', req)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/hiveserver2.py", line 923, in _rpc
response = self._execute(func_name, request)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/hiveserver2.py", line 940, in _execute
return func(request)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/_thrift_gen/TCLIService/TCLIService.py", line 205, in CloseSession
return self.recv_CloseSession()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/_thrift_gen/TCLIService/TCLIService.py", line 216, in recv_CloseSession
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift/protocol/TBinaryProtocol.py", line 126, in readMessageBegin
sz = self.readI32()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift/protocol/TBinaryProtocol.py", line 206, in readI32
buff = self.trans.readAll(4)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift/transport/TTransport.py", line 58, in readAll
chunk = self.read(sz - have)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift_sasl/init.py", line 159, in read
self._read_frame()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift_sasl/init.py", line 176, in _read_frame
decoded = read_all_compat(self._trans, length)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift_sasl/six.py", line 31, in
read_all_compat = lambda trans, sz: trans.readAll(sz)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift/transport/TTransport.py", line 58, in readAll
chunk = self.read(sz - have)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift/transport/TSocket.py", line 103, in read
buff = self.handle.recv(sz)
AttributeError: 'NoneType' object has no attribute 'recv'
we use django and impyla to connect hiveserver2, when qps is larger than 10, it will get these two errors, we can't find similar errors in google , we want to know why this error will happen, thanks very much
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/interface.py", line 175, in exit
self.close()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/hiveserver2.py", line 241, in close
self.session.close()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/hiveserver2.py", line 1020, in close
self._rpc('CloseSession', req)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/hiveserver2.py", line 923, in _rpc
response = self._execute(func_name, request)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/hiveserver2.py", line 940, in _execute
return func(request)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/_thrift_gen/TCLIService/TCLIService.py", line 205, in CloseSession
return self.recv_CloseSession()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/impala/_thrift_gen/TCLIService/TCLIService.py", line 216, in recv_CloseSession
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift/protocol/TBinaryProtocol.py", line 126, in readMessageBegin
sz = self.readI32()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift/protocol/TBinaryProtocol.py", line 206, in readI32
buff = self.trans.readAll(4)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift/transport/TTransport.py", line 58, in readAll
chunk = self.read(sz - have)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift_sasl/init.py", line 159, in read
self._read_frame()
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift_sasl/init.py", line 176, in _read_frame
decoded = read_all_compat(self._trans, length)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift_sasl/six.py", line 31, in
read_all_compat = lambda trans, sz: trans.readAll(sz)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift/transport/TTransport.py", line 58, in readAll
chunk = self.read(sz - have)
File "/appcom/AnacondaInstall/anaconda2-4.3.1/lib/python2.7/site-packages/thrift/transport/TSocket.py", line 103, in read
buff = self.handle.recv(sz) AttributeError: 'NoneType' object has no attribute 'recv'