Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> Accumulo and CDH4


Copy link to this message
-
RE: Accumulo and CDH4
Thanks Billie - issue solved.
From: Billie Rinaldi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2013 5:26 PM
To: [EMAIL PROTECTED]
Subject: Re: Accumulo and CDH4

Elise,

I've tried checking in a fix to the ShellTest for trunk.  Please check out a fresh copy or update your copy and see if it solves the issue.

Billie

On Tue, Apr 2, 2013 at 12:56 PM, Billie Rinaldi <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
This looks like one of the same issues we found in ACCUMULO-1118.  I lost track of what was happening with the fixes / reverts / etc. for that ticket.  John?  Anyone?

Billie
On Tue, Apr 2, 2013 at 12:33 PM, Newman, Elise <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Sorry, thought I had included this.

-------------------------------------------------------------------------------
Test set: org.apache.accumulo.core.util.shell.ShellTest
-------------------------------------------------------------------------------

Tests run: 9, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.032 sec <<< FAILURE!
duPatternTest(org.apache.accumulo.core.util.shell.ShellTest)  Time elapsed: 0.017 sec  <<< ERROR!
java.lang.NullPointerException
    at org.apache.accumulo.core.util.shell.Shell.getDefaultPrompt(Shell.java:527)
    at org.apache.accumulo.core.util.shell.Shell.execCommand(Shell.java:532)
    at org.apache.accumulo.core.util.shell.ShellTest.exec(ShellTest.java:61)
    at org.apache.accumulo.core.util.shell.ShellTest.exec(ShellTest.java:65)
    at org.apache.accumulo.core.util.shell.ShellTest.duPatternTest(ShellTest.java:191)

    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.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    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.runners.ParentRunner.run(ParentRunner.java:309)
    at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
    at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)

    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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
    at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
    at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
    at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
aboutTest(org.apache.accumulo.core.util.shell.ShellTest)  Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
    at org.apache.accumulo.core.util.shell.Shell.getDefaultPrompt(Shell.java:527)
    at org.apache.accumulo.core.util.shell.Shell.execCommand(Shell.java:532)
    at org.apache.accumulo.core.util.shell.ShellTest.exec(ShellTest.java:61)
    at org.apache.accumulo.core.util.shell.ShellTest.exec(ShellTest.java:77)
    at org.apache.accumulo.core.util.shell.ShellTest.exec(ShellTest.java:73)
    at org.apache.accumulo.core.util.shell.ShellTest.aboutTest(ShellTest.java:111)

    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.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    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.j