2013-07-06 48 views
0

我在Hive上工作,我在我的ubuntu上配置了配置單元(Linux master 3.2.0-48-generic#74-Ubuntu SMP Thu Jun 6 19:43:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux)machine and hadoop but當我試圖在蜂巢數據庫,然後我得到以下錯誤:已配置Hadoop但無法從配置單元響應?

錯誤是:

FAILED: Error in metadata: MetaException(message:Got exception:java.io.FileNotFoundException File file:/user/hive/warehouse/foo does not exist.) 
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask 
+1

'file:/ user/hive/warehouse/foo'不存在很清楚,我不是嗎? –

回答

1

正確configuire您的Hadoop和編輯自己的核心的site.xml mapred-site.xml中和HDFS -site.xml並導出配置單元的路徑.bashrc