AnsweredAssumed Answered

Debugging Connection Problems

Question asked by duncan on Sep 8, 2014
Latest reply on Sep 9, 2014 by snelson
I have an application which has just started behaving strangely.
The app runs on a Mac, MapR is running on an Ubuntu VM.

The app now fails at startup with:
<pre>
2014-09-08 17:44:00,0619 ERROR Client fs/client/fileclient/cc/client.cc:385 Thread: 4397375488 Failed to initialize client for cluster 172.16.192.236:7222, error Operation not permitted(1)
</pre>

And a stack trace:
<pre>
java.io.IOException: Could not create FileClient
at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:351)
at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:363)
at com.mapr.fs.MapRFileSystem.getMapRFileStatus(MapRFileSystem.java:788)
at com.mapr.fs.MapRFileSystem.getFileStatus(MapRFileSystem.java:815)
at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:804)
at com.gopivotal.loganalytics.servers.DateBucketsIntegrationTest.cleanFs(DateBucketsIntegrationTest.java:106)
at com.gopivotal.loganalytics.servers.DateBucketsIntegrationTest.before(DateBucketsIntegrationTest.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
</pre>

The MapR VM is running OK, and I can access it from the command line client installed on a different VM.

The error message doesn't give enough information to see what the issue is. Is there any way of turning on extra debugging on the server to see what is happening?

Any idea what this error might be indicating?

Outcomes