[ 
https://issues.apache.org/jira/browse/GORA-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lewis John McGibbney resolved GORA-370.
---------------------------------------
    Resolution: Fixed

Resolved for some time now.

> Implement MapReduce 2.X tests
> -----------------------------
>
>                 Key: GORA-370
>                 URL: https://issues.apache.org/jira/browse/GORA-370
>             Project: Apache Gora
>          Issue Type: Test
>          Components: build process, gora-core, testing
>    Affects Versions: 0.5
>            Reporter: Lewis John McGibbney
>            Assignee: Henry Saputra
>             Fix For: 0.7
>
>
> After committing GORA-346 it turns out that using Hadoop 2.X breaks our 
> lovely TestDataFileAvroStoreMapReduce test with the following
> Error Message
> org/apache/hadoop/hdfs/DistributedFileSystem
> Stacktrace
> java.lang.NoClassDefFoundError: org/apache/hadoop/hdfs/DistributedFileSystem
>       at java.lang.Class.getDeclaredMethods0(Native Method)
>       at java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
>       at java.lang.Class.getMethod0(Class.java:2764)
>       at java.lang.Class.getMethod(Class.java:1653)
>       at 
> org.junit.internal.builders.SuiteMethodBuilder.hasSuiteMethod(SuiteMethodBuilder.java:20)
>       at 
> org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:13)
>       at 
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
>       at 
> org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
>       at 
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
>       at 
> org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
>       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:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       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)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.hadoop.hdfs.DistributedFileSystem
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>       ... 22 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to