Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6301210B90 for ; Tue, 4 Mar 2014 01:20:26 +0000 (UTC) Received: (qmail 37795 invoked by uid 500); 4 Mar 2014 01:20:23 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 37695 invoked by uid 500); 4 Mar 2014 01:20:21 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 37325 invoked by uid 99); 4 Mar 2014 01:20:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 01:20:21 +0000 Date: Tue, 4 Mar 2014 01:20:21 +0000 (UTC) From: "Siddharth Wagle (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-4928) Cannot launch Hive CLI due to HDFS permission issues MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Siddharth Wagle created AMBARI-4928: --------------------------------------- Summary: Cannot launch Hive CLI due to HDFS permission issues Key: AMBARI-4928 URL: https://issues.apache.org/jira/browse/AMBARI-4928 Project: Ambari Issue Type: Bug Components: agent Affects Versions: 1.5.0 Reporter: Siddharth Wagle Assignee: Siddharth Wagle Fix For: 1.5.0 I couldnt launch the hive cli with the following exception being dumped {code} Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.security.AccessControlException: Permission denied: user=hive, access=READ_EXECUTE, inode="/apps/hive/install":hive:hdfs:drw-r-xr-x at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkFsPermission(FSPermissionChecker.java:265) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:251) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:182) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:5441) {code} There were no JARs under {{/apps/hive/install}}. These were the following hdfs permissions. Notable is {{/apps/hive/insatll}} permissions of 0655. {code} $ hadoop fs -ls /apps Found 5 items drwxrwxrwx - falcon hdfs 0 2014-03-03 14:21 /apps/falcon drwxr-xr-x - hdfs hdfs 0 2014-03-03 14:21 /apps/hbase drwxr-xr-x - hdfs hdfs 0 2014-03-03 14:23 /apps/hive drw-r-xr-x - tez hdfs 0 2014-03-03 14:23 /apps/tez drwxr-xr-x - hcat hdfs 0 2014-03-03 14:29 /apps/webhcat $ hadoop fs -ls /apps/hive Found 2 items drw-r-xr-x - hive hdfs 0 2014-03-03 14:23 /apps/hive/install drwxrwxrwx - hive hdfs 0 2014-03-03 14:23 /apps/hive/warehouse {code} -- This message was sent by Atlassian JIRA (v6.2#6252)