我正在尝试安装apache节俭服务器。我安装了火花,hadoop和纱线。我配置了蜂窝转移,并成功地启动了转移和hiveserver2: nohup服务转移>/var/log/ hive /asionore.log& nohup service hiveserver2 > /var/log/ hive /hiveserver2.log &
hiveserver2现在监听端口10000。
当我试图启动星火节约服务器时,我正在运行: sbin/ start -thriftserver.sh -hiveconf hive.server2.thrift.bind.host ycsb-vanilla- hive.server2.thrift.port 10001,但无法连接。我已经看到大多数示例都使用端口10000,但是端口已经被hiveserver2接受了。
运行直线连接到:!connect jdbc:hive2 2://localhost:10000
但是无法连接到:!connect jdbc:hive2 2://localhost:10001
试图连接辛巴检索errornum=10061,我遗漏了什么?
谢谢:)
发布于 2017-08-10 12:35:26
您是否尝试将hive-site.xml从hive目录复制到为节省而更改端口的conf目录中?在确认这一点之后,您将需要运行没有任何参数的sbin/start-thriftserver.sh。
发布于 2018-02-13 21:45:05
您只需通过以下方法使火花节约服务器在另一个端口上运行:
sbin/start-thriftserver.sh --hiveconf hive.server2.thrift.port 8088 https://stackoverflow.com/questions/45613283
复制相似问题