gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewis john mcgibbney <lewi...@apache.org>
Subject Re: Gora install issue
Date Tue, 26 Dec 2017 14:47:26 GMT
Hi Bruce,
By any chance are you attempting to install on a Windows machine? If so,
then we don't really support using Gora on Windows.
Anyways, in order to skip test execution, merely execute the following
mvn clean install -DskipTests
Lewis

On Fri, Dec 22, 2017 at 8:12 AM, bruce <bruce2k@163.com> wrote:

> Hi John
>
> yesterday i download the Gora 0.8, when i install Gora use "mvn clean
> install". During compile the 'gora-core' module I always meet the
> same error as below , the attached files is the  detail information of the
> issue,because i don't know who can help me , so could you please help
> tranfor the issue to right people ?
>
> Thanks very much! & Merry Christmas!
>
> Bruce
>
> 2017-12-22 15:05:40,665 INFO  [IPC Server handler 2 on 60985]
> FSNamesystem.audit (FSNamesystem.java:logAuditMessage(8482)) -
> allowed=true       ugi=Administratro (auth:SIMPLE) ip=/127.0.0.1
> cmd=setPermission        src=/user/Administratro/target/MiniMRCluster_
> 511309495-tmpDir/hadoop-mapreduce-client-jobclient-2.5.2-tests.jar
> dst=null        perm=Administratro:supergroup:rwxr--r--proto=rpc
> 2017-12-22 15:05:40,798 ERROR [main] mapreduce.DataStoreMapReduceTestBase
> (DataStoreMapReduceTestBase.java:setUp(64)) - Hadoop Test Case set up
> failed
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: failed to create
> symlink from C:\cygwin\tmp\1513926340736 to D:\apache-gora-0.8\gora-core\
> target\MiniMRCluster_511309495, shell output:
>         at org.apache.hadoop.yarn.server.MiniYARNCluster.<init>(
> MiniYARNCluster.java:175)
>         at org.apache.hadoop.yarn.server.MiniYARNCluster.<init>(
> MiniYARNCluster.java:199)
>         at org.apache.hadoop.yarn.server.MiniYARNCluster.<init>(
> MiniYARNCluster.java:211)
>         at org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.<init>(
> MiniMRYarnCluster.java:75)
>         at org.apache.hadoop.mapred.MiniMRClientClusterFactory.create(
> MiniMRClientClusterFactory.java:73)
>         at org.apache.hadoop.mapred.MiniMRCluster.<init>(
> MiniMRCluster.java:187)
>         at org.apache.hadoop.mapred.MiniMRCluster.<init>(
> MiniMRCluster.java:175)
>         at org.apache.hadoop.mapred.MiniMRCluster.<init>(
> MiniMRCluster.java:167)
>         at org.apache.hadoop.mapred.MiniMRCluster.<init>(
> MiniMRCluster.java:159)
>         at org.apache.hadoop.mapred.MiniMRCluster.<init>(
> MiniMRCluster.java:152)
>         at org.apache.hadoop.mapred.MiniMRCluster.<init>(
> MiniMRCluster.java:145)
>         at org.apache.hadoop.mapred.MiniMRCluster.<init>(
> MiniMRCluster.java:138)
>         at org.apache.hadoop.mapred.MiniMRCluster.<init>(
> MiniMRCluster.java:133)
>         at org.apache.hadoop.mapred.HadoopTestCase.setUp(
> HadoopTestCase.java:157)
>         at org.apache.gora.mapreduce.DataStoreMapReduceTestBase.setUp(
> DataStoreMapReduceTestBase.java:60)
>         at junit.framework.TestCase.runBare(TestCase.java:132)
>         at junit.framework.TestResult$1.protect(TestResult.java:110)
>         at junit.framework.TestResult.runProtected(TestResult.java:128)
>         at junit.framework.TestResult.run(TestResult.java:113)
>         at junit.framework.TestCase.run(TestCase.java:124)
>         at junit.framework.TestSuite.runTest(TestSuite.java:243)
>         at junit.framework.TestSuite.run(TestSuite.java:238)
>         at org.junit.internal.runners.JUnit38ClassRunner.run(
> JUnit38ClassRunner.java:83)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(
> JUnit4Provider.java:365)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.
> executeWithRerun(JUnit4Provider.java:272)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.
> executeTestSet(JUnit4Provider.java:236)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(
> JUnit4Provider.java:159)
>         at org.apache.maven.surefire.booter.ForkedBooter.
> invokeProviderInSameClassLoader(ForkedBooter.java:386)
>         at org.apache.maven.surefire.booter.ForkedBooter.
> runSuitesInProcess(ForkedBooter.java:323)
>         at org.apache.maven.surefire.booter.ForkedBooter.main(
> ForkedBooter.java:143)
> Caused by: ExitCodeException exitCode=1: CreateSymbolicLink error (1314):
> ???????????
>
>         at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
>         at org.apache.hadoop.util.Shell.run(Shell.java:455)
>         at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(
> Shell.java:702)
>         at org.apache.hadoop.yarn.server.MiniYARNCluster.<init>(
> MiniYARNCluster.java:173)
>         ... 29 more
> 2017-12-22 15:05:40,802 INFO  [main] mapreduce.DataStoreMapReduceTestBase
> (DataStoreMapReduceTestBase.java:tearDown(72)) - Tearing down Hadoop Test
> Case...
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 11.502 s <<< FAILURE! - in org.apache.gora.avro.mapreduce.
> TestDataFileAvroStoreMapReduce
> [ERROR] testCountQuery(org.apache.gora.avro.mapreduce.
> TestDataFileAvroStoreMapReduce)  Time elapsed: 11.387 s  <<< ERROR!
> java.lang.NullPointerException
> [INFO] Running org.apache.gora.avro.store.TestAvroStore
> 2017-12-22 15:05:42,912 INFO  [main] examples.WebPageDataCreator
> (WebPageDataCreator.java:createWebPageData(116)) - creating web page data
> 2017-12-22 15:05:42,999 INFO  [main] examples.WebPageDataCreator
> (WebPageDataCreator.java:createWebPageData(140)) - finished creating web
> page data
> 2017-12-22 15:05:43,050 INFO  [main] examples.WebPageDataCreator
> (WebPageDataCreator.java:createWebPageData(116)) - creating web page data
> 2017-12-22 15:05:43,074 INFO  [main] examples.WebPageDataCreator
> (WebPageDataCreator.java:createWebPageData(140)) - finished creating web
> page data
> 2017-12-22 15:05:43,134 ERROR [main] store.AvroStore
> (AvroStore.java:close(121)) -
> java.nio.channels.ClosedChannelException
>         at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer.
> checkClosed(ChecksumFileSystem.java:417)
>         at org.apache.hadoop.fs.FSOutputSummer.write(
> FSOutputSummer.java:98)
>         at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(
> FSDataOutputStream.java:58)
>         at java.io.DataOutputStream.write(DataOutputStream.java:107)
>         at org.codehaus.jackson.impl.Utf8Generator._flushBuffer(
> Utf8Generator.java:1754)
>         at org.codehaus.jackson.impl.Utf8Generator.flush(
> Utf8Generator.java:1088)
>         at org.apache.avro.io.JsonEncoder.flush(JsonEncoder.java:73)
>         at org.apache.gora.avro.store.AvroStore.close(AvroStore.java:116)
>         at org.apache.gora.avro.store.TestAvroStore.tearDown(
> TestAvroStore.java:85)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
> FrameworkMethod.java:45)
>         at org.junit.internal.runners.model.ReflectiveCallable.run(
> ReflectiveCallable.java:15)
>         at org.junit.runners.model.FrameworkMethod.invokeExplosively(
> FrameworkMethod.java:42)
>         at org.junit.internal.runners.statements.RunAfters.evaluate(
> RunAfters.java:36)
>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(
> BlockJUnit4ClassRunner.java:68)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(
> BlockJUnit4ClassRunner.java:47)
>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
>         at org.junit.runners.ParentRunner.runChildren(
> ParentRunner.java:229)
>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
>         at org.junit.runners.ParentRunner$2.evaluate(
> ParentRunner.java:222)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(
> JUnit4Provider.java:365)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.
> executeWithRerun(JUnit4Provider.java:272)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.
> executeTestSet(JUnit4Provider.java:236)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(
> JUnit4Provider.java:159)
>         at org.apache.maven.surefire.booter.ForkedBooter.
> invokeProviderInSameClassLoader(ForkedBooter.java:386)
>         at org.apache.maven.surefire.booter.ForkedBooter.
> runSuitesInProcess(ForkedBooter.java:323)
>         at org.apache.maven.surefire.booter.ForkedBooter.main(
> ForkedBooter.java:143)
> [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 1.046 s - in org.apache.gora.avro.store.TestAvroStore
> [INFO] Running org.apache.gora.avro.store.TestDataFileAvroStore
> 2017-12-22 15:05:44,714 INFO  [main] examples.WebPageDataCreator
> (WebPageDataCreator.java:createWebPageData(116)) - creating web page data
> 2017-12-22 15:05:44,795 INFO  [main] examples.WebPageDataCreator
> (WebPageDataCreator.java:createWebPageData(140)) - finished creating web
> page data
> 2017-12-22 15:05:44,843 INFO  [main] examples.WebPageDataCreator
> (WebPageDataCreator.java:createWebPageData(116)) - creating web page data
> 2017-12-22 15:05:44,867 INFO  [main] examples.WebPageDataCreator
> (WebPageDataCreator.java:createWebPageData(140)) - finished creating web
> page data
> [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 1.169 s - in org.apache.gora.avro.store.TestDataFileAvroStore
> [INFO] Running org.apache.gora.examples.TestWebPageDataCreator
>
>
>
>



-- 
http://home.apache.org/~lewismc/
@hectorMcSpector
http://www.linkedin.com/in/lmcgibbney

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message