Hello,
I am encountering the exact issue that a user posted about last month (with
no response):
http://mail-archives.apache.org/mod_mbox/hive-dev/201103.mbox/%3caanlktimf6cr4v3-x+memr9po7dkmlwv23jf38x2+k...@mail.gmail.com%3E#archives

I have been working my way through the Hive GettingStarted guide (
http://wiki.apache.org/hadoop/Hive/GettingStarted#Running_Hive), but when I
try to create a table (
http://wiki.apache.org/hadoop/Hive/GettingStarted#DDL_Operations), I get
this error:

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

I believe my HDFS is set up properly:

kostmo@leetbook:~$ /home/kostmo/hadoop-0.20.2/bin/hadoop fs -ls /user/
Found 1 items
drwxr-xr-x   - root root       4096 2011-03-28 17:22 /user/hive
kostmo@leetbook:~$ /home/kostmo/hadoop-0.20.2/bin/hadoop fs -ls /user/hive
Found 1 items
drwxrwxr-x   - root root       4096 2011-03-28 17:22 /user/hive/warehouse

Karl

Reply via email to