title: Hive is throwing permission error while creating table/database
body: <p>I am getting permission error in hive. </p>
  
  <p>I am using IBM cloud -
  <a href="http://my.imdemocloud.com/bigsql/3292" rel="noreferrer">my.imdemocloud.com</a></p>
  
  <p><code>hive&gt; create table a(key INT);
  FAILED: Error in metadata: MetaException(message:Got exception: org.apache.hadoop.security.AccessControlException org.apache.hadoop.security.AccessControlException: Permission denied: user=nehpraka, access=WRITE, inode="warehouse":biadmin:biadmin:rwxrwxr-x)
  FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask</code></p>
  
  <p>Where as I have given all the roles to m user.</p>
  
  <p><code>hive&gt; SHOW GRANT USER nehpraka on DATABASE default;
  OK</code></p>
  
  <p><code>database default
  principalName nehpraka 
  principalType USER
  privilege Create
  grantTime Wed Apr 16 14:17:51 EDT 2014
  grantor nehpraka
  Time taken: 0.051 seconds</code></p>
  
  <p>Please help me out in this.</p>
  
  <p>Thanks &amp; Ragards</p>