hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7629) regression with MAPREDUCE-2289 - setPermission passed immutable FsPermission (rpc failure)
Date Wed, 28 Sep 2011 03:17:46 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116094#comment-13116094
] 

Hudson commented on HADOOP-7629:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #990 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/990/])
    HDFS-2332. Add test for HADOOP-7629 (using an immutable FsPermission object as an RPC
parameter fails). Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176692
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSPermission.java

                
> 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.23.0
>
>         Attachments: 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.<init>()
>         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.<init>()
>         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

        

Mime
View raw message