title: Can't import/load data to hive, why?
body: <p>I'm trying to import data (simple file with two columns, int and string), table looks:</p>
  
  <pre><code>hive&gt; describe test;
  id      int
  name    string
  </code></pre>
  
  <p>and when I try to import:</p>
  
  <pre><code>hive&gt; load data inpath '/user/test.txt' overwrite into table test;
  Loading data to table default.test
  rmr: org.apache.hadoop.security.AccessControlException: Permission denied: user=hadoop, access=ALL, inode="/user/hive/warehouse/test":hive:hadoop:drwxrwxr-x
  Failed with exception org.apache.hadoop.security.AccessControlException: Permission denied: user=hadoop, access=WRITE, inode="/user/hive/warehouse/test":hive:hadoop:drwxrwxr-x
  FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask
  </code></pre>
  
  <p>Looks like user hadoop has all permissions, but still can't load data, however I was able to create table.
  What's wrong?</p>