Tag: cloudera cdh

HiveServer2 TTransportException:无效状态-128

我使用名为jshs2的configuration单元的node.js客户端驱动程序,但在连接到hiveserver2时遇到连接问题。 我试图查看无效状态128,但没有运气。 这是我的代码: const options = { auth: "NOSASL", host: "my host", port: 10000, timeout: 10000, username: "my username", password: "my password" hiveType: HS2Util.HIVE_TYPE.CDH, hiveVer: "0.13.1", thriftVer: "0.9.0", cdhVer: "5.3.3" }; it('test', function() { var configuration = new Configuration(options); var idl = new IDLContainer(); var cursor; return idl.initialize(configuration).then(function() { var connection = new HiveConnection(configuration, idl); […]