----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19445/#review37890 -----------------------------------------------------------
Ship it! Ship It! - Andrew Onischuk On March 20, 2014, 1:55 a.m., Sid Wagle wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/19445/ > ----------------------------------------------------------- > > (Updated March 20, 2014, 1:55 a.m.) > > > Review request for Ambari, Andrew Onischuk, Mahadev Konar, and Sumit Mohanty. > > > Bugs: AMBARI-5156 > https://issues.apache.org/jira/browse/AMBARI-5156 > > > Repository: ambari > > > Description > ------- > > In a cluster node we had set the below in _/etc/hive/conf/hive-site.xml_ > > <property> > <name>hive.jar.directory</name> > <value>hdfs:///apps/hive/install</value> > </property> > > The HDFS folder has the following contents > # hadoop fs -ls -R /apps/hive/ > drwxr-xr-x - hive hdfs 0 2014-03-19 17:10 /apps/hive/install > -rwxr-xr-x 3 hive hdfs 14719276 2014-03-19 17:10 > /apps/hive/install/hive-exec.jar > drwxrwxrwx - hive hdfs 0 2014-03-19 17:08 /apps/hive/warehouse > > As user _ambari-qa_ I run the _hive_ command to hit this exception > $ hive > > Logging initialized using configuration in > file:/etc/hive/conf.dist/hive-log4j.properties > Exception in thread "main" java.lang.RuntimeException: > org.apache.hadoop.security.AccessControlException: Permission denied: > user=ambari-qa, access=WRITE, inode="/apps/hive/install":hive:hdfs:drwxr-xr-x > > > Diffs > ----- > > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_server.py > 057b8f6 > > Diff: https://reviews.apache.org/r/19445/diff/ > > > Testing > ------- > > ---------------------------------------------------------------------- > Ran 188 tests in 0.611s > > OK > ---------------------------------------------------------------------- > Total run:507 > Total errors:0 > Total failures:0 > OK > > > Thanks, > > Sid Wagle > >
