You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/05/07 15:15:17 UTC
[jira] [Commented] (HDFS-4801) lsSnapshottableDir throws
IllegalArgumentException when root is made snapshottable
[ https://issues.apache.org/jira/browse/HDFS-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650797#comment-13650797 ]
Hudson commented on HDFS-4801:
------------------------------
Integrated in Hadoop-Hdfs-Snapshots-Branch-build #176 (See [https://builds.apache.org/job/Hadoop-Hdfs-Snapshots-Branch-build/176/])
HDFS-4801. lsSnapshottableDir throws IllegalArgumentException when root is snapshottable. Contributed by Jing Zhao (Revision 1479709)
Result = FAILURE
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1479709
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/protocol/SnapshottableDirectoryStatus.java
* /hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestSnapshottableDirListing.java
> lsSnapshottableDir throws IllegalArgumentException when root is made snapshottable
> ----------------------------------------------------------------------------------
>
> Key: HDFS-4801
> URL: https://issues.apache.org/jira/browse/HDFS-4801
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Reporter: Ramya Sunil
> Assignee: Jing Zhao
> Priority: Minor
> Fix For: Snapshot (HDFS-2802)
>
> Attachments: HDFS-4801.001.patch
>
>
> $ hadoop dfsadmin -allowSnapshot /
> Allowing snaphot on / succeeded
> $ hadoop lsSnapshottableDir
> Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from an empty string
> at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
> at org.apache.hadoop.fs.Path.<init>(Path.java:90)
> at org.apache.hadoop.fs.Path.<init>(Path.java:45)
> at org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.getFullPath(SnapshottableDirectoryStatus.java:125)
> at org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.print(SnapshottableDirectoryStatus.java:166)
> at org.apache.hadoop.hdfs.tools.snapshot.LsSnapshottableDir.main(LsSnapshottableDir.java:55)
> Whereas,
> $ hadoop dfsadmin -disallowSnapshot /
> Disallowing snaphot on / succeeded
> $ hadoop lsSnapshottableDir
> $
--
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