Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> 回复:  Can hive-0.8.0 could work with HBase-0.9.2 and Zookeeper-3.4.2?


+
ylyy-1985 2012-04-13, 13:07
+
Bing Li 2012-04-13, 17:14
Copy link to this message
-
Re: Can hive-0.8.0 could work with HBase-0.9.2 and Zookeeper-3.4.2?
Are the failures ONLY caused by Test case?

在 2012年4月14日 上午1:14,Bing Li <[EMAIL PROTECTED]>写道:

> thanks, Andes
>
>
> 2012/4/13 ylyy-1985 <[EMAIL PROTECTED]>
>
>> **
>> 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:[EMAIL PROTECTED]
>> **
>>  ------------------------------
>>  *发件人:*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"<[EMAIL PROTECTED]>,"user"<[EMAIL PROTECTED]>
>> *抄送:*
>>
>> 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?*
+
ylyy-1985 2012-04-14, 03:00