Ah yes.. now i recall. Thanks. +1 -roshan
On Fri, Jun 13, 2014 at 6:30 PM, Hari Shreedharan <[email protected] > wrote: > Did you compile hbase 94 against Hadoop 2 before running the build? Hbase > did not release Hadoop 2 compatible artifacts. > > On Friday, June 13, 2014, Roshan Naik <[email protected]> wrote: > > > Do we plan to support -Dhadoop.profile=2 ? it appears to be failing on > > asynchbase tests: > > > > # mvn -Dhadoop.profile=2 > > > > -roshan > > > > > > > > *-------------------------------------------------------* > > * T E S T S* > > *-------------------------------------------------------* > > *Running org.apache.flume.sink.hbase.TestAsyncHBaseSink* > > *Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.549 > sec > > <<< FAILURE!* > > *org.apache.flume.sink.hbase.TestAsyncHBaseSink Time elapsed: 548 sec > <<< > > ERROR!* > > *java.lang.NoSuchMethodError: > > > > > org.apache.hadoop.hdfs.MiniDFSCluster.<init>(ILorg/apache/hadoop/conf/Configuration;IZZZLorg/apache/hadoop/hdfs/server/common/HdfsConstants$StartupOption;[Ljava/lang/String;[Ljava/lang/String;[J)V* > > * at > > > > > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:433)* > > * at > > > > > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:601)* > > * at > > > > > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:557)* > > * at > > > > > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:526)* > > * at > > > > > org.apache.flume.sink.hbase.TestAsyncHBaseSink.setUp(TestAsyncHBaseSink.java:69)* > > * 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: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.RunBefores.evaluate(RunBefores.java:27)* > > * at > > > > > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)* > > * at org.junit.runners.ParentRunner.run(ParentRunner.java:300)* > > * at > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)* > > * at > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)* > > * at > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)* > > * 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:115)* > > * at > > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)* > > > > *Running org.apache.flume.sink.hbase.TestHBaseSink* > > *Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.557 > sec > > <<< FAILURE!* > > *org.apache.flume.sink.hbase.TestHBaseSink Time elapsed: 557 sec <<< > > ERROR!* > > *java.lang.NoSuchMethodError: > > > > > org.apache.hadoop.hdfs.MiniDFSCluster.<init>(ILorg/apache/hadoop/conf/Configuration;IZZZLorg/apache/hadoop/hdfs/server/common/HdfsConstants$StartupOption;[Ljava/lang/String;[Ljava/lang/String;[J)V* > > * at > > > > > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:433)* > > * at > > > > > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:601)* > > * at > > > > > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:557)* > > * at > > > > > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:526)* > > * at > > > org.apache.flume.sink.hbase.TestHBaseSink.setUpOnce(TestHBaseSink.java:81)* > > * 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: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.RunBefores.evaluate(RunBefores.java:27)* > > * at > > > > > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)* > > * at org.junit.runners.ParentRunner.run(ParentRunner.java:300)* > > * at > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)* > > * at > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)* > > * at > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)* > > * 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:115)* > > * at > > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)* > > > > *Running org.apache.flume.sink.hbase.TestHBaseSinkCreation* > > *Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.265 > sec* > > *Running org.apache.flume.sink.hbase.TestRegexHbaseEventSerializer* > > *Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.276 > sec* > > > > *Results :* > > > > *Tests in error: * > > * org.apache.flume.sink.hbase.TestAsyncHBaseSink: > > > > > org.apache.hadoop.hdfs.MiniDFSCluster.<init>(ILorg/apache/hadoop/conf/Configuration;IZZZLorg/apache/hadoop/hdfs/server/common/HdfsConstants$StartupOption;[Ljava/lang/String;[Ljava/lang/String;[J)V* > > * org.apache.flume.sink.hbase.TestHBaseSink: > > > > > org.apache.hadoop.hdfs.MiniDFSCluster.<init>(ILorg/apache/hadoop/conf/Configuration;IZZZLorg/apache/hadoop/hdfs/server/common/HdfsConstants$StartupOption;[Ljava/lang/String;[Ljava/lang/String;[J)V* > > > > *Tests run: 8, Failures: 0, Errors: 2, Skipped: 0* > > > > > > > > > > > > > > -- > > CONFIDENTIALITY NOTICE > > NOTICE: This message is intended for the use of the individual or entity > to > > which it is addressed and may contain information that is confidential, > > privileged and exempt from disclosure under applicable law. If the reader > > of this message is not the intended recipient, you are hereby notified > that > > any printing, copying, dissemination, distribution, disclosure or > > forwarding of this communication is strictly prohibited. If you have > > received this communication in error, please contact the sender > immediately > > and delete it from your system. Thank You. > > > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
