Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 3171172A2 for ; Fri, 30 Sep 2011 20:37:08 +0000 (UTC) Received: (qmail 40967 invoked by uid 500); 30 Sep 2011 20:37:07 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 40902 invoked by uid 500); 30 Sep 2011 20:37:07 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 40888 invoked by uid 99); 30 Sep 2011 20:37:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2011 20:37:07 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2011 20:37:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E4BE12A29AF for ; Fri, 30 Sep 2011 20:36:45 +0000 (UTC) Date: Fri, 30 Sep 2011 20:36:45 +0000 (UTC) From: "Milind Bhandarkar (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <2095065134.13144.1317415005938.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7629) regression with MAPREDUCE-2289 - setPermission passed immutable FsPermission (rpc failure) 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/HADOOP-7629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118410#comment-13118410 ] Milind Bhandarkar commented on HADOOP-7629: ------------------------------------------- Since this is a bugfix, and affects 0.22, can we request a patch for 0.22 as well ? > regression with MAPREDUCE-2289 - setPermission passed immutable FsPermission (rpc failure) > ------------------------------------------------------------------------------------------ > > Key: HADOOP-7629 > URL: https://issues.apache.org/jira/browse/HADOOP-7629 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.22.0 > Reporter: Patrick Hunt > Assignee: Todd Lipcon > Fix For: 0.20.206.0, 0.23.0 > > Attachments: hadoop-7629-20s.txt, hadoop-7629.txt, hadoop-7629.txt > > > MAPREDUCE-2289 introduced the following change: > {noformat} > + fs.setPermission(stagingArea, JOB_DIR_PERMISSION); > {noformat} > JOB_DIR_PERMISSION is an immutable FsPermission which cannot be used in RPC calls, it results in the following exception: > {noformat} > 2011-09-08 16:31:45,187 WARN org.apache.hadoop.ipc.Server: Unable to read call parameters for client 127.0.0.1 > java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.hadoop.fs.permission.FsPermission$2.() > at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:115) > at org.apache.hadoop.io.WritableFactories.newInstance(WritableFactories.java:53) > at org.apache.hadoop.io.ObjectWritable.readObject(ObjectWritable.java:236) > at org.apache.hadoop.ipc.RPC$Invocation.readFields(RPC.java:104) > at org.apache.hadoop.ipc.Server$Connection.processData(Server.java:1337) > at org.apache.hadoop.ipc.Server$Connection.processOneRpc(Server.java:1315) > at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1215) > at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:566) > at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:363) > Caused by: java.lang.NoSuchMethodException: org.apache.hadoop.fs.permission.FsPermission$2.() > at java.lang.Class.getConstructor0(Class.java:2706) > at java.lang.Class.getDeclaredConstructor(Class.java:1985) > at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:109) > ... 8 more > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira