hive后台服务启动和客户端启动

版权声明:转载标明出处即可 https://blog.csdn.net/tclwh123/article/details/83903720

需要保证数据库和hive可以正常启动

自己写了个shell脚本,启动命令懒得记了

   #!/bin/sh
    read -p 'please input your hostname:' NAME
    nohup bin/hiveserver2 1>/dev/null 2>&1 &
    /root/apps/hive-1.2.1/bin/beeline -u jdbc:hive2://$NAME:10000 -n root

猜你喜欢

转载自blog.csdn.net/tclwh123/article/details/83903720
今日推荐