[ https://issues.apache.org/jira/browse/HADOOP-9471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur updated HADOOP-9471: --------------------------------------- Resolution: Fixed Fix Version/s: 2.0.5-beta Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committed to trunk and branch-2, CHANGES.txt under 2.0.5. If it makes it to 2.0.4-alpha, CHANGES.txt in trunk and branch-2 should be updated. > 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