title: Permission denied: user=basi, access=WRITE, inode="/":
body: <p>Im a fresher in hadoop and pig.i have installed pig in my local user in ubuntu and hadoop as hduser.Pig working fine in local mode for small datasets.started pig in mapreduce mode and tryng to implement wordcount but getting permission denied error as below.
  Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied: user=basi, access=WRITE, inode="/":hduser:supergroup:drwxr-xr-x</p>
  
  <p>started hadoop in psudomode
  statrted pig in local user:pig -x mapreduce</p>
  
  <pre><code>   grunt&gt; A = LOAD '/Wordcount.txt' AS (line:Chararray);
     grunt&gt; B = FOREACH A GENERATE FLATTEN(TOKENIZE(line)) AS word;
     grunt&gt; grouped = group B by word;
     grunt&gt; wc = FOREACH grouped GENERATE group, COUNT(B);
     grunt&gt; DUMP wc
  </code></pre>
  
  <p>/Wordcount.txt is file in hdfs</p>