Hi Lewis, These test cases pass on my machine (i guess on yours' too). Had it been related to Hadoop API then tests must fail everywhere. What is different about the setup where the nightly builds are executed ?
Thanks, Tejas Patil On Mon, Jan 7, 2013 at 3:24 PM, Lewis John Mcgibbney < lewis.mcgibb...@gmail.com> wrote: > Hi All, > > An update to this issue then... > > The failing tests indicate an addition (security?) feature which makes the > tests fail on Jenkins as it results in the following stack traces for the > following tests > > TestCrawlDBMerger > TestGenerator > TestInjector > TestLinkDBMerger > TestFetcher > TestSegmentMerger > > Same every time. > Currently I am not sure how we can work around this, however I suspect > that we need to use some other aspect of the Hadoop API in all calls to > obtain socket addresses from servers. > Any ideas? > > java.net.UnknownHostException: -s: -s > at java.net.InetAddress.getLocalHost(InetAddress.java:1354) > at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:936) > at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:912) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1136) > at > org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:912) > at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:886) > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1323) > at org.apache.nutch.crawl.Generator.generate(Generator.java:551) > at org.apache.nutch.crawl.Generator.generate(Generator.java:465) > at > org.apache.nutch.crawl.TestGenerator.generateFetchlist(TestGenerator.java:313) > at > org.apache.nutch.crawl.TestGenerator.testFilter(TestGenerator.java:259) > > > > -- > *Lewis* >