Hello,

I'm new to Oozie and am working on implementing it at LinkedIn. We have version 
4.1.0 with a couple of cherry-picked patches and a few unit tests are failing:

Failed tests:
  testCoordLogStreaming(org.apache.oozie.TestCoordinatorEngineStreamLog)
  
testActionKillCommandDate(org.apache.oozie.command.coord.TestCoordActionsKillXCommand):
 expected:<RUNNING> but was:<KILLED>
  testProtoConfStorage(org.apache.oozie.command.wf.TestSubmitXCommand): 
expected:<3> but was:<2>
  
testRequeueOnException(org.apache.oozie.command.coord.TestCoordPushDependencyCheckXCommand)

How do I run individual unit tests? I am trying to run them with "mvn test 
-Phadoop-2 -Dtest=TestCoordinatorEngineStreamLog". This runs the specified 
test, but I get an error:

Tests in error:
  testCoordLogStreaming(org.apache.oozie.TestCoordinatorEngineStreamLog): Call 
From abain-ld/127.0.0.1 to abain-ld.linkedin.biz:59441 failed on connection 
exception: java.net.ConnectException: Connection refused; For more details see: 
 http://wiki.apache.org/hadoop/ConnectionRefused

The test seems to be trying to run without starting mini-cluster first (or 
mini-oozie, I'm not sure which the unit tests use); thus, the connection 
request is refused. On the other hand "mvn test -Phadoop-2" runs fine (except 
for the fact that the unit test fails). I've got Java 1.6.0.27 and Maven 3.2.3. 
We're running Hadoop 2.3.0, which is why I'm passing -Phadoop-2.

Thanks,
Alex

Reply via email to