hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4781) File listing of .snapshot under a non-existing dir throws NullPointer
Date Thu, 02 May 2013 13:10:16 GMT

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

Hudson commented on HDFS-4781:
------------------------------

Integrated in Hadoop-Hdfs-Snapshots-Branch-build #175 (See [https://builds.apache.org/job/Hadoop-Hdfs-Snapshots-Branch-build/175/])
    HDFS-4781. Fix a NullPointerException when listing .snapshot under a non-existing directory.
(Revision 1478135)

     Result = FAILURE
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1478135
Files : 
* /hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-2802.txt
* /hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
* /hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java
* /hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeDirectory.java
* /hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestSnapshotPathINodes.java

                
> File listing of .snapshot under a non-existing dir throws NullPointer
> ---------------------------------------------------------------------
>
>                 Key: HDFS-4781
>                 URL: https://issues.apache.org/jira/browse/HDFS-4781
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Ramya Sunil
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: Snapshot (HDFS-2802)
>
>         Attachments: h4781_20130430.patch
>
>
> $ hadoop dfs -ls /invalidDir/.snapshot
> ls: java.io.IOException: java.lang.NullPointerException
> {noformat}
> INFO org.apache.hadoop.ipc.Server: IPC Server handler 2 on 8020, call getFileInfo(/invalidDir/.snapshot)
from .* : error: java.io.IOException: java.lang.NullPointerException
> java.io.IOException: java.lang.NullPointerException
>         at org.apache.hadoop.hdfs.server.namenode.FSDirectory.getFileInfo4DotSnapshot(FSDirectory.java:1208)
>         at org.apache.hadoop.hdfs.server.namenode.FSDirectory.getFileInfo(FSDirectory.java:1189)
>         at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(FSNamesystem.java:2545)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.getFileInfo(NameNode.java:949)
>         at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:587)
>         at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1405)
>         at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1401)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1195)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1399)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message