Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A560173DE for ; Tue, 10 Mar 2015 03:22:42 +0000 (UTC) Received: (qmail 14437 invoked by uid 500); 10 Mar 2015 03:22:39 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 14377 invoked by uid 500); 10 Mar 2015 03:22:39 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 14178 invoked by uid 99); 10 Mar 2015 03:22:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 03:22:38 +0000 Date: Tue, 10 Mar 2015 03:22:38 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-4070) JobHistoryServer creates /tmp directory with restrictive permissions if the directory doesn't already exist. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated MAPREDUCE-4070: ---------------------------------------- Status: Patch Available (was: Open) > JobHistoryServer creates /tmp directory with restrictive permissions if the directory doesn't already exist. > ------------------------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-4070 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4070 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.1 > Reporter: Ahmed Radwan > Assignee: Ahmed Radwan > Attachments: MAPREDUCE-4070.patch > > > Starting up the MapReduce JobhHistoryServer service after a clean install appears to automatically create the /tmp directory on HDFS. However, it is created with 750 permission. > Attempting to run MR jobs by other users results in the following permissions exception: > {code} > org.apache.hadoop.security.AccessControlException: Permission denied: user=cloudera, access=EXECUTE, inode="/tmp":yarn:supergroup:drwxr-x--- > at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:205) > .. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)