hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9471) hadoop-client wrongfully excludes jetty-util JAR, breaking webhdfs
Date Thu, 11 Apr 2013 04:07:17 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alejandro Abdelnur updated HADOOP-9471:
---------------------------------------

    Target Version/s: 2.0.4-alpha
       Fix Version/s:     (was: 2.0.4-alpha)
    
> hadoop-client wrongfully excludes jetty-util JAR, breaking webhdfs
> ------------------------------------------------------------------
>
>                 Key: HADOOP-9471
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9471
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.0.3-alpha
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: HADOOP-9471.patch
>
>
> WebHdfsFileSystem uses jetty-util's JSON class.
> hadoop-client excludes that JAR, applications built using hadoop-client POM fail:
> {code}java.lang.NoClassDefFoundError: org/mortbay/util/ajax/JSON
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.jsonParse(WebHdfsFileSystem.java:277)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$Runner.getResponse(WebHdfsFileSystem.java:561)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$Runner.run(WebHdfsFileSystem.java:480)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.run(WebHdfsFileSystem.java:413)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getHdfsFileStatus(WebHdfsFileSystem.java:580)
> 	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getFileStatus(WebHdfsFileSystem.java:591)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1332)
> {code}

--
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