[ 
https://issues.apache.org/jira/browse/FLUME-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850632#comment-13850632
 ] 

Gopinathan A commented on FLUME-2263:
-------------------------------------

I m getting below error while running testcases in hadoop profile 2, i guess 
its taking hbase jar which is complied with hadoop-1. How to resolve this 
issue? 

{noformat}
org.apache.flume.sink.hbase.TestHBaseSink  Time elapsed: 579 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: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:545)
        at 
org.apache.flume.sink.hbase.TestHBaseSink.setUp(TestHBaseSink.java:66)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

{noformat}

> Bump Hadoop 2 version to 2.2.0
> ------------------------------
>
>                 Key: FLUME-2263
>                 URL: https://issues.apache.org/jira/browse/FLUME-2263
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Hari Shreedharan
>         Attachments: FLUME-2263-0.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to