设为首页 加入收藏

TOP

cloudera mamager中配置hive加载第三方JAR.,为甚beeline不好用?
2018-11-26 17:05:21 】 浏览:366
Tags:cloudera mamager 配置 hive 加载 第三方 JAR. 为甚 beeline 不好
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/haoxiaoyan/article/details/83302346

for a in {24,25,26,27,28,29,30,31,32,33};do ssh 1.3.8.$a "mkdir -p /etc/hive/auxlib" ;done

/etc/hive/auxlib

HIVE_AUX_JARS_PATH=/etc/hive/auxlib

for i in {24,25,26,27,28,29,30,31,32,33}; do scp /home/airflow/benmu-analyze/workflow2/udf/tmp/json_array.jar root@1.3.8.$i:/etc/hive/auxlib/; done

root@bigdata:~# beeline
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Beeline version 1.1.0-cdh5.13.3 by Apache Hive
beeline> !connect jdbc:hive2://1.3.8.4:10000/default
scan complete in 2ms
Connecting to jdbc:hive2://1.3.8.4:10000/default
Enter username for jdbc:hive2://1.3.8.4:10000/default: hive
Enter password for jdbc:hive2://1.3.8.4:10000/default: ****
Connected to: Apache Hive (version 1.1.0-cdh5.13.3)
Driver: Hive JDBC (version 1.1.0-cdh5.13.3)
Transaction isolation: TRANSACTION_REPEATABLE_READ
0: jdbc:hive2://1.3.8.4:10000/default> add jar /etc/hive/auxlib/json_array.jar;
Error: Insufficient privileges to execute add (state=42000,code=0)

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Hive: Metastore Configuration 下一篇hive中group by 提示Expression N..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目