3
我試圖創建蜂巢外部表,但不斷收到以下錯誤:蜂巢錯誤創建外部表時(狀態= 08S01,代碼= 1)
create external table foobar (a STRING, b STRING) row format delimited fields terminated by "\t" stored as textfile location "/tmp/hive_test_1375711405.45852.txt";
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask (state=08S01,code=1)
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask (state=08S01,code=1)
Aborting command set because "force" is false and command failed: "create external table foobar (a STRING, b STRING) row format delimited fields terminated by "\t" stored as textfile location "/tmp/hive_test_1375711405.45852.txt";"
的/tmp/hive_test_1375711405.45852.txt
內容是:
abc\tdef
我經由beeline
命令行界面,它使用節儉HiveServer2
連接。
系統:
- 的Hadoop 2.0.0 cdh4.3.0
- 蜂巢0.10.0-cdh4.3.0
- 直線0.10.0-cdh4.3.0
- 客戶端操作系統 - 紅帽企業Linux服務器版本6.4(聖地亞哥)
我在我的系統中成功執行了命令 –
您是否已經卸載了prev hive安裝? –
謝謝你在你的系統上試用這個聲音。我應該提到我們以前安裝了CDH 4.1並且最近升級到了CDH 4.3。 – yoni