Hive version is independent from hadoop version, so hive_0.3.0_rc1 should work on your cluster as long as the "ant package" is done with the correct hadoop version.
Do you know what hadoop version you are using? As long as that matches what you put in the "ant" command, it should work. However, if you previously did "ant package" in Hive with a wrong version of hadoop, you will have to do "ant clean" before doing "ant package" again. Zheng 2009/5/21 罗李 <[email protected]> > This is My step: > $ svn co > http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.3.0-rc1/hive_rc1 > $ cd hive_rc1 > $ ant -Dhadoop.version="0.19.1" package > > and I cd to build/dist, copy my config files to conf/, > then I start the step on the HiveGetingStarted. > and the situation keep happen when I try to run any query language if it > will launch a job on hadoop. > > I can't change my hadoop version , is that means nobody could use > hive_0.3.0_rc1 on my cluster? > > Zheng Shao wrote: > > This problem is mostly likely to be caused by inconsistent hadoop > > versions. > > > > Which version of hadoop do you use on the cluster? > > Make sure you run "ant clean package -Dhadoop.version=0.18.3' where > > 0.18.3 is your hadoop version on the cluster. > > > > Let us know what hadoop versions you are using, and whether that helps. > > > > Zheng > > > > On Thu, May 21, 2009 at 2:54 AM, 罗李 <[email protected] > > <mailto:[email protected]>> wrote: > > > > Hi all: > > I got a problem when I use Hive release-0.3.0-rc1 on top of > > Hadoop-0.19.1, When I followed the HiveGetingStarted to the step of > > " > > > > SELECT a.foo FROM invites a WHERE a.ds='<DATE>'; > > > > " > > I got no response from hadoop, and the jobtracker seem abnormal > > when I try to fresh the page of jobtracker.jsp. I use the jstack > > tool to get the stack information of the jobtracker process,and I > > got the follow: > > > > Found one Java-level deadlock: > > ============================= > > "SocketListener0-7": > > waiting to lock monitor 0x0000002c16f420d0 (object > > 0x0000002a9eedde60, a org.apache.hadoop.mapred.JobTracker), > > which is held by "IPC Server handler 6 on 9001" > > "IPC Server handler 6 on 9001": > > waiting to lock monitor 0x0000002c1a5dfdc0 (object > > 0x0000002aa050ce88, a org.apache.hadoop.mapred.JobInProgress), > > which is held by "initJobs" > > "initJobs": > > waiting to lock monitor 0x0000002c16f420d0 (object > > 0x0000002a9eedde60, a org.apache.hadoop.mapred.JobTracker), > > which is held by "IPC Server handler 6 on 9001" > > > > Everytime I try to launch a hive query ,this situation happened. > > If I switch to the trunk version of hive, this situation disappeared. > > Please help me ! > > > > luoli > > <http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.3.0-rc0/ > > > > > > > > > > > > -- > > Yours, > > Zheng > > > -- > > 阿里巴巴搜索技术中心(ASC)-分布式计算 > email:[email protected] > 电话:0571-85022088 39599 > 手机:13810093734 > 雅虎通:[email protected]. > 旺旺: nofearbit > > -- Yours, Zheng
