hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ylyy-1985"<ylyy-1...@163.com>
Subject 回复: Re: Can hive-0.8.0 could work with HBase-0.9.2 and Zookeeper-3.4.2?
Date Sat, 14 Apr 2012 03:00:05 GMT
I am not sure about this, 'cause we just intergrate the 3 right now, and I don't know what
is the test case.sorry~

2012-04-14



Best Regards
Andes

Email:ylyy-1985@163.com



发件人:Bing Li
发送时间:2012-04-14 10:40
主题:Re: Can hive-0.8.0 could work with HBase-0.9.2 and Zookeeper-3.4.2?
收件人:"user"<user@hive.apache.org>
抄送:

Are the failures ONLY caused by Test case?


在 2012年4月14日 上午1:14,Bing Li <sarah.libing@gmail.com>写道:

thanks, Andes



2012/4/13 ylyy-1985 <ylyy-1985@163.com>

I would tell that system works with : hadoop0.20,hbase-0.90.3,hibve-0.8.1 and zookeeper-3.3.3.
good luck

2012-04-13



Best Regards
Andes

Email:ylyy-1985@163.com



发件人:Bing Li
发送时间:2012-04-13 18:35
主题:Can hive-0.8.0 could work with HBase-0.9.2 and Zookeeper-3.4.2?
收件人:"dev"<dev@hive.apache.org>,"user"<user@hive.apache.org>
抄送:

Hi, guys 
I ran Hive-0.8.0 UT with 
- Hadoop-1.0.0 ( applied patches for HIVE-2631 and HIVE-2629)
- HBase-0.92.0
- Zookeeper-3.4.2


But got the following error message:


     [echo] Project: hbase-handler
    [junit] Running org.apache.hadoop.hive.cli.TestHBaseCliDriver
    [junit] org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
for  after 10 tries.
    [junit] at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:908)
    [junit] at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:814)
    [junit] at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:782)
    [junit] at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:249)
    [junit] at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:213)
    [junit] at org.apache.hadoop.hive.hbase.HBaseTestSetup.setUpFixtures(HBaseTestSetup.java:95)
    [junit] at org.apache.hadoop.hive.hbase.HBaseTestSetup.preTest(HBaseTestSetup.java:61)
    [junit] at org.apache.hadoop.hive.hbase.HBaseQTestUtil.<init>(HBaseQTestUtil.java:31)
    [junit] at org.apache.hadoop.hive.cli.TestHBaseCliDriver.setUp(TestHBaseCliDriver.java:43)
    [junit] at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit] at junit.framework.TestResult.run(TestResult.java:113)
    [junit] at junit.framework.TestCase.run(TestCase.java:124)
    [junit] at junit.framework.TestSuite.runTest(TestSuite.java:243)
    [junit] at junit.framework.TestSuite.run(TestSuite.java:238)
    [junit] at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    [junit] at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    [junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit] at junit.extensions.TestSetup.run(TestSetup.java:27)
    [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
    [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
    [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
    [junit] Exception: Unable to find region for  after 10 tries.




The failed cases are 
- TestHBaseCliDriver
- TestHBaseMinimrCliDriver
- TestHBaseSerDe


Referred to HIVE-2748, I
- Add jackson-mapper-asl and jackson-core-asl to Hive classpath to resolve "No Class Found"
issue
- Modify HBaseTestSetup.java
   //    conf.set("hbase.master", hbaseCluster.getHMasterAddress().toString());
    conf.set("hbase.master", hbaseCluster.getMaster().getServerName().getHostAndPort());


But they doesn't work for the failed cases.




I noticed that in the latest patch for HIVE-2748, it includes some new classes related to
Thrift and test case for Zookeeper, Are they necessary for Hive-0.8.0 to work with HBase-0.92.0
& Zookeeper-3.4.2?
Are the failed cases ONLY caused by test cases themselves? 




Thanks,
- Sarah
Mime
View raw message