That did the trick, thank you very much!
On 02/10/2014 11:57 AM, Akila Wajirasena wrote:
You can fix this by setting umask 022.
Please refer;
http://stackoverflow.com/questions/17625938/hbase-minidfscluster-java-fails-in-certain-environments
https://issues.apache.org/jira/browse/HDFS-2556
On Mon, Feb 10, 2014 at 4:23 PM, Sebastian Schelter <[email protected]> wrote:
Thanks,
but I want to submit a patch and in order for that, all tests should
successfully run.
--sebastian
On 02/10/2014 11:47 AM, Unmesh Joshi wrote:
Try to build with
mvn -DskipTests=true package
This creates all the output jar files.
On Feb 10, 2014 11:33 AM, "Sebastian Schelter" <[email protected]> wrote:
Hi,
I'm having problems with building trunk on my local machine, I get the
following error in TestHBaseRootMarkerVertextFormat. Is anybody else
getting the same? I'm working on GIRAPH-844 btw.
--sebastian
------------------------------------------------------------
-------------------
Test set: org.apache.giraph.io.hbase.TestHBaseRootMarkerVertextFormat
------------------------------------------------------------
-------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.059 sec
<<< FAILURE!
testHBaseInputOutput(org.apache.giraph.io.hbase.
TestHBaseRootMarkerVertextFormat) Time elapsed: 2.643 sec <<< ERROR!
java.lang.NullPointerException
at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(
MiniDFSCluster.java:426)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(
MiniDFSCluster.java:284)
at org.apache.hadoop.hbase.HBaseTestingUtility.
startMiniDFSCluster(HBaseTestingUtility.java:452)
at org.apache.hadoop.hbase.HBaseTestingUtility.
startMiniCluster(
HBaseTestingUtility.java:620)
at org.apache.hadoop.hbase.HBaseTestingUtility.
startMiniCluster(
HBaseTestingUtility.java:576)
at org.apache.hadoop.hbase.HBaseTestingUtility.
startMiniCluster(
HBaseTestingUtility.java:563)
at org.apache.giraph.io.hbase.TestHBaseRootMarkerVertextForm
at.testHBaseInputOutput(TestHBaseRootMarkerVertextFormat.java:98)
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.InvokeMethod.
evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.
evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(
RunAfters.java:27)
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.JUnit4TestSet.execute(
JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.
executeTestSet(AbstractDirectoryTestSuite.java:120)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.
execute(AbstractDirectoryTestSuite.java:103)
at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
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.apache.maven.surefire.booter.SurefireBooter.
runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(
SurefireBooter.java:1021)
: