brew安裝的配置單元在成熟時似乎有點害羞。首先,我不得不手動編輯德比initailization腳本:Hive cli無法從brew安裝配置單元運行
Unable to initialize hive with Derby from Brew install
做如此..開始cli
它只是掛起時:
$hive
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/Cellar/hive/2.1.0/libexec/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/Cellar/hadoop/2.7.3/libexec/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Logging initialized using configuration in jar:file:/usr/local/Cellar/hive/2.1.0/libexec/lib/hive-common-2.1.0.jar!/hive-log4j2.properties Async: true
所以現在已經遇到了兩個嚴重的問題..還沒有看到hive
實際上工作..有沒有已知的解決方法或更好的替代brew [re]install hive
?
更新:我發現了另一個Q & A解決了我的問題的第二部分。
配置蜂巢,以本地模式運行的
https://stackoverflow.com/a/33312359/1056563
該OP實際上是關於'cli' *懸掛*。 – javadba
@javadba謝謝你指出。更新我的答案是更相關的。 –
好吧,這在任何情況下都是有幫助的,因此upvoted – javadba