启动期间无法连接到localhost:port pseudo_hdfs4

时间:2017-12-15 11:35:47

标签: hadoop hive hdfs hue

我正在尝试为beeswax app运行unittest。

在我的机器中hdfs和hive工作正常,但是当我运行unittest时,会产生伪_dffs4,我收到错误:

StructuredThriftTransportException: Could not connect to localhost:port (code THRIFTTRANSPORT): TTransportException('Could not connect to localhost:port',)

测试名称: beeswax.tests.TestBeeswaxWithHadoop

日志:

beeswax.server.hive_server2_lib: INFO: Opening beeswax thrift session for user test
root: INFO: Thrift exception; retrying: Could not connect to lwo1-lhp-f70489:44981
root: INFO: Thrift exception; retrying: Could not connect to lwo1-lhp-f70489:44981
root: WARNING: Out of retries for thrift call: OpenSession
root: INFO: Thrift saw a transport exception: Could not connect to lwo1-lhp-f70489:44981
beeswax.test_base: ERROR: Failed to open Hive Server session
Traceback (most recent call last):
  File "/home/bdemydov/Projects/roku/roku-hue-3-12/hue-3.12.0/apps/beeswax/src/beeswax/test_base.py", line 131, in get_shared_beeswax_server
    db.open_session(user)
  File "/home/bdemydov/Projects/roku/roku-hue-3-12/hue-3.12.0/apps/beeswax/src/beeswax/server/dbms.py", line 320, in open_session
    return self.client.open_session(user)
  File "/home/bdemydov/Projects/roku/roku-hue-3-12/hue-3.12.0/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 1263, in open_session
    return self._client.open_session(user)
  File "/home/bdemydov/Projects/roku/roku-hue-3-12/hue-3.12.0/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 604, in open_session
    res = self._client.OpenSession(req)
  File "/home/bdemydov/Projects/roku/roku-hue-3-12/hue-3.12.0/desktop/core/src/desktop/lib/thrift_util.py", line 389, in wrapper
    raise StructuredThriftTransportException(e, error_code=502)
StructuredThriftTransportException: Could not connect to lwo1-lhp-f70489:44981 (code THRIFTTRANSPORT): TTransportException('Could not connect to lwo1-lhp-f70489:44981',)

0 个答案:

没有答案