title: Impala on Cloudera CDH "Could not create logging file: Permission denied"
body: <p>I installed Impala via a parcel in the Cloudera Manager 4.5 on a CDH 4.2.0-1.cdh4.2.0.p0.10 cluster.</p>
  
  <p>When I try to start the service it fails on all nodes with this message</p>
  
  <pre><code>    perl -pi -e 's#{{CMF_CONF_DIR}}#/run/cloudera-scm-agent/process/800-impala-IMPALAD#g' /run/cloudera-scm-agent/process/800-impala-IMPALAD/impala-conf/impalad_flags
      '[' impalad = impalad ']'
      exec /opt/cloudera/parcels/IMPALA-0.6-1.p0.109/lib/impala/../../bin/impalad --flagfile=/run/cloudera-scm-agent/process/800-impala-IMPALAD/impala-conf/impalad_flags
  Could not create logging file: Permission denied
  COULD NOT CREATE A LOGGINGFILE 20130326-204959.15015!log4j:ERROR setFile(null,true) call failed.
  java.io.FileNotFoundException: /var/log/impalad/impalad.INFO (Permission denied)
      at java.io.FileOutputStream.openAppend(Native Method)
  ...
  at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
      at org.apache.hadoop.fs.FileSystem.&lt;clinit&gt;(FileSystem.java:92)
  + date
  </code></pre>
  
  <p><a href="http://pastebin.com/tw9M1xkz" rel="nofollow">Complete StdErr Log</a></p>
  
  <p>I'm unsure whether the permission issue is cause of Impala not running or whether something else crashes and the permission issues just comes up because the crash log can not be written.</p>
  
  <p>Any help would be great!</p>