hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6367) EnumSetParam$Domain#parse fails for parameter containing more than one enum.
Date Mon, 19 May 2014 03:20:38 GMT

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

Tsz Wo Nicholas Sze commented on HDFS-6367:
-------------------------------------------

Thanks for fixing this.

> EnumSetParam$Domain#parse fails for parameter containing more than one enum.
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-6367
>                 URL: https://issues.apache.org/jira/browse/HDFS-6367
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 3.0.0
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: HDFS-6367.patch
>
>
> Fails because additional "," 
> ----------------------------------------------------------------
> {noformat}
> java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.fs.Options$Rename.,OVERWRITE
> 	at java.lang.Enum.valueOf(Enum.java:196)
> 	at org.apache.hadoop.hdfs.web.resources.EnumSetParam$Domain.parse(EnumSetParam.java:85)
> 	at org.apache.hadoop.hdfs.web.resources.RenameOptionSetParam.<init>(RenameOptionSetParam.java:45)
> 	at org.apache.hadoop.hdfs.web.resources.TestParam.testRenameOptionSetParam(TestParam.java:355)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message