|
John Vines
2013-01-22, 20:10
Keith Turner
2013-01-22, 20:23
John Vines
2013-01-22, 20:37
Christopher
2013-01-22, 20:46
John Vines
2013-01-22, 20:55
Keith Turner
2013-01-22, 21:04
Keith Turner
2013-01-22, 21:08
|
-
Debugging MiniAccumuloTestJohn Vines 2013-01-22, 20:10
I'm getting
java.lang.RuntimeException: Initialize process returned 255 at org.apache.accumulo.test.MiniAccumuloCluster.start(MiniAccumuloCluster.java:311) at org.apache.accumulo.test.MiniAccumuloClusterTest.setupMiniCluster(MiniAccumuloClusterTest.java:65) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) 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) and java.io.IOException: Bad file descriptor at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:220) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.readLine(BufferedReader.java:299) at java.io.BufferedReader.readLine(BufferedReader.java:362) at org.apache.accumulo.test.MiniAccumuloCluster$LogWriter.run(MiniAccumuloCluster.java:89) from miniAccumuloTest in my working branch, which is breaking things. Unfortunately, this is the only debug I seem to be getting and i cannot figure out how to run the eclipse debugger to attach to the new Process. I can do initialize with --instance-name and --password to set things outside of it, so I'm really not sure why it's breaking here. Does anyone have any tips on how to debug the MiniAccumulo cluster?
-
Re: Debugging MiniAccumuloTestKeith Turner 2013-01-22, 20:23
What svn version? When I look at line 311 I see a sleep statement.
On Tue, Jan 22, 2013 at 3:10 PM, John Vines <[EMAIL PROTECTED]> wrote: > setupMiniCluster(
-
Re: Debugging MiniAccumuloTestJohn Vines 2013-01-22, 20:37
It is 1433166 in my branch, but the 311 line corresponds with the current
trunk On Tue, Jan 22, 2013 at 3:23 PM, Keith Turner <[EMAIL PROTECTED]> wrote: > What svn version? When I look at line 311 I see a sleep statement. > > > > On Tue, Jan 22, 2013 at 3:10 PM, John Vines <[EMAIL PROTECTED]> wrote: > > setupMiniCluster( >
-
Re: Debugging MiniAccumuloTestChristopher 2013-01-22, 20:46
John, you should update your checkout of trunk. The version in the
ACCUMULO-259 branch is *not* the same as trunk right now. -- Christopher L Tubbs II http://gravatar.com/ctubbsii On Tue, Jan 22, 2013 at 3:37 PM, John Vines <[EMAIL PROTECTED]> wrote: > It is 1433166 in my branch, but the 311 line corresponds with the current > trunk > > > On Tue, Jan 22, 2013 at 3:23 PM, Keith Turner <[EMAIL PROTECTED]> wrote: > > > What svn version? When I look at line 311 I see a sleep statement. > > > > > > > > On Tue, Jan 22, 2013 at 3:10 PM, John Vines <[EMAIL PROTECTED]> wrote: > > > setupMiniCluster( > > >
-
Re: Debugging MiniAccumuloTestJohn Vines 2013-01-22, 20:55
I'm not going to do a merge mid-revision. The entire test subproject only
has a few differences from current trunk which I made for the ticket. All I'm asking for are suggestions on how to debug MiniTestCluster because I can't figure out how to debug it spinning off a new process. On Tue, Jan 22, 2013 at 3:46 PM, Christopher <[EMAIL PROTECTED]> wrote: > John, you should update your checkout of trunk. The version in the > ACCUMULO-259 branch is *not* the same as trunk right now. > > > > -- > Christopher L Tubbs II > http://gravatar.com/ctubbsii > > > On Tue, Jan 22, 2013 at 3:37 PM, John Vines <[EMAIL PROTECTED]> wrote: > >> It is 1433166 in my branch, but the 311 line corresponds with the current >> trunk >> >> >> On Tue, Jan 22, 2013 at 3:23 PM, Keith Turner <[EMAIL PROTECTED]> wrote: >> >> > What svn version? When I look at line 311 I see a sleep statement. >> > >> > >> > >> > On Tue, Jan 22, 2013 at 3:10 PM, John Vines <[EMAIL PROTECTED]> wrote: >> > > setupMiniCluster( >> > >> > >
-
Re: Debugging MiniAccumuloTestKeith Turner 2013-01-22, 21:04
On Tue, Jan 22, 2013 at 3:55 PM, John Vines <[EMAIL PROTECTED]> wrote:
> I'm not going to do a merge mid-revision. The entire test subproject only > has a few differences from current trunk which I made for the ticket. All > I'm asking for are suggestions on how to debug MiniTestCluster because I > can't figure out how to debug it spinning off a new process. > take a look in /tmp/junitXXXXXX/logs and see if there is an out or err file for Initialize. Seems like only one of the log writers died... so maybe something was written to stderr and stdout was not created. If that does not work, you can just modify the code to print out what comes from process.getErrorStream() and process.getInputStream() directly. Currently threads are created to write these to tmp dir. > > On Tue, Jan 22, 2013 at 3:46 PM, Christopher <[EMAIL PROTECTED]> wrote: > >> John, you should update your checkout of trunk. The version in the >> ACCUMULO-259 branch is *not* the same as trunk right now. >> >> >> >> -- >> Christopher L Tubbs II >> http://gravatar.com/ctubbsii >> >> >> On Tue, Jan 22, 2013 at 3:37 PM, John Vines <[EMAIL PROTECTED]> wrote: >> >>> It is 1433166 in my branch, but the 311 line corresponds with the current >>> trunk >>> >>> >>> On Tue, Jan 22, 2013 at 3:23 PM, Keith Turner <[EMAIL PROTECTED]> wrote: >>> >>> > What svn version? When I look at line 311 I see a sleep statement. >>> > >>> > >>> > >>> > On Tue, Jan 22, 2013 at 3:10 PM, John Vines <[EMAIL PROTECTED]> wrote: >>> > > setupMiniCluster( >>> > >>> >> >>
-
Re: Debugging MiniAccumuloTestKeith Turner 2013-01-22, 21:08
On Tue, Jan 22, 2013 at 3:55 PM, John Vines <[EMAIL PROTECTED]> wrote:
> I'm not going to do a merge mid-revision. The entire test subproject only > has a few differences from current trunk which I made for the ticket. All > I'm asking for are suggestions on how to debug MiniTestCluster because I > can't figure out how to debug it spinning off a new process. Oh you will probably need to comment out the code in tearDownMiniCluster() that deletes the junit tmp dir > > > On Tue, Jan 22, 2013 at 3:46 PM, Christopher <[EMAIL PROTECTED]> wrote: > >> John, you should update your checkout of trunk. The version in the >> ACCUMULO-259 branch is *not* the same as trunk right now. >> >> >> >> -- >> Christopher L Tubbs II >> http://gravatar.com/ctubbsii >> >> >> On Tue, Jan 22, 2013 at 3:37 PM, John Vines <[EMAIL PROTECTED]> wrote: >> >>> It is 1433166 in my branch, but the 311 line corresponds with the current >>> trunk >>> >>> >>> On Tue, Jan 22, 2013 at 3:23 PM, Keith Turner <[EMAIL PROTECTED]> wrote: >>> >>> > What svn version? When I look at line 311 I see a sleep statement. >>> > >>> > >>> > >>> > On Tue, Jan 22, 2013 at 3:10 PM, John Vines <[EMAIL PROTECTED]> wrote: >>> > > setupMiniCluster( >>> > >>> >> >> |