incubator-giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Mannix <jake.man...@gmail.com>
Subject way to run unit tests from inside IDE?
Date Sat, 29 Oct 2011 06:21:50 GMT
I seem to be getting weird stuff like:

setup: Using local job runner with location  for testBspCombiner
11/10/28 23:21:00 WARN mapred.JobClient: Use GenericOptionsParser for
parsing the arguments. Applications should implement Tool for the same.
11/10/28 23:21:00 INFO mapred.JobClient: Cleaning up the staging area
file:/tmp/hadoop-jake/mapred/staging/jake1475251079/.staging/job_local_0005

java.lang.IllegalArgumentException: Can not create a Path from an empty
string
 at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
at org.apache.hadoop.fs.Path.<init>(Path.java:90)
 at
org.apache.hadoop.mapred.JobClient.copyAndConfigureFiles(JobClient.java:720)
at
org.apache.hadoop.mapred.JobClient.copyAndConfigureFiles(JobClient.java:596)
 at org.apache.hadoop.mapred.JobClient.access$200(JobClient.java:170)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:806)
 at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:791)
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:1059)
 at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:791)
at org.apache.hadoop.mapreduce.Job.submit(Job.java:465)
 at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:494)
at org.apache.giraph.graph.GiraphJob.run(GiraphJob.java:495)
 at org.apache.giraph.TestBspBasic.testBspCombiner(TestBspBasic.java:261)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at
com.intellij.junit3.TestRunnerUtil$SuiteMethodWrapper.run(TestRunnerUtil.java:262)
at
com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:139)
 at
com.intellij.junit3.JUnit3IdeaTestRunner.startRunnerWithArgs(JUnit3IdeaTestRunner.java:52)
at
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:199)
 at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

When I try to run in IntelliJ, but not from command line.  Anyone run into
this?

  -jake

Mime
View raw message