alexholmes / hdfs-file-slurper

Utility to easily copy files into HDFS
Apache License 2.0
69 stars 35 forks source link

Missing dependency: jetty #3

Closed miguno closed 12 years ago

miguno commented 12 years ago

The build of the current 0.1.0 version of the Slurper fails with the following error:

   Tests in error: 
     testCopyFromLocalToDfs(com.alexholmes.hdfsslurper.WorkerThreadTest): org/mortbay/thread/ThreadPool

Enabling debug output (mvn ... -e -X) yields:

-------------------------------------------------------------------------------
Test set: com.alexholmes.hdfsslurper.WorkerThreadTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.225 sec <<< FAILURE!
testCopyFromLocalToDfs(com.alexholmes.hdfsslurper.WorkerThreadTest)  Time elapsed: 2.156 sec  <<< ERROR!
java.lang.NoClassDefFoundError: org/mortbay/thread/ThreadPool
    at org.apache.hadoop.hdfs.server.namenode.NameNode$1.run(NameNode.java:367)

The problem is that pom.xml is missing the dependency for org.mortbay.jetty.jetty.

alexholmes commented 12 years ago

Patch 00d3bfaec330221ff186c643f6a241ccd7c4e5ff by Michael Noll committed