标签: hive
当连接到beeline时,我的提示是JDBC url的一些大量截断版本:
0: jdbc:hive2//fully.qualified.host.na
占用了令人讨厌的房地产量 我尝试set hive.cli.prompt=foo>>,并得到一个错误,该属性不在允许在运行时修改的参数列表中。
set hive.cli.prompt=foo>>
是否无法将提示设置为自定义值?
答案 0 :(得分:1)
编辑:
对于蜂巢,您可以设置hive.cli.prompt;对于beeline,它在这里硬编码:
https://github.com/apache/hive/blob/477f541844db3ea5eaee8746033bf80cd48b7f8c/beeline/src/java/org/apache/hive/beeline/BeeLine.java#L1769-L1775