如何删除beeline开头的addjar语句

pftdvrlh  于 2021-07-15  发布在  Hadoop
关注(0)|答案(1)|浏览(344)

如何删除直线终端启动时发生的语句?当我开始beeline时,默认情况下我有ad jar语句,但我没有这个jar which case错误消息:

ADD JAR /usr/share/hive3-dim-lookup/dimlookup-hive-udf-1.1.....jar;
Error: Error while processing statement{Failed in 10.35.144.186} : //usr/share/hive3-dim-lookup/dimlookup-hive-udf-1.1.....jar does not exist (state=,code=1)

当我启动beeline时,如何将其配置为不以beeline启动?

ar7v8xwq

ar7v8xwq1#

可以在users home dir中使用.hiverc文件。见hive-5160
检查.hiverc文件内容:

cat ~/.hiverc

从中取出add jar

相关问题