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

Hudson commented on HADOOP-9471:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1396 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1396/])
    HADOOP-9471. hadoop-client wrongfully excludes jetty-util JAR, breaking 
webhdfs. (tucu) (Revision 1466763)

     Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1466763
Files : 
* /hadoop/common/trunk/hadoop-client/pom.xml
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

                
> 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
>             Fix For: 2.0.5-beta
>
>         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

Reply via email to