hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hezhiqiang (Ransom)" <>
Subject RE: Can hive 0.8.1 work with hadoop 0.23.0?
Date Tue, 21 Feb 2012 11:29:39 GMT
Hi Xiaofeng,

Backup “hive_exec.jar” in all hadop directory, then delete “hive_exec.jar”. Try it.
Because “select * " just use hdfs . And “select col1” will use MapReduce.

Best regards

From: Carl Steinbach []
Sent: Tuesday, February 21, 2012 4:45 PM
Subject: Re: Can hive 0.8.1 work with hadoop 0.23.0?

Hi Xiaofeng,

Which mode are you running Hadoop in, e.g. local, pseudo-distributed, or distributed?


2012/2/1 张晓峰 <<>>

I installed hadoop 0.23.0 which can work.
The version of my hive is 0.8.1. The query like ‘select * from tablename’ can work. But
an exception is thrown when executing query like ‘select col1 form tablename’.

2012-02-01 16:32:20,296 WARN  mapreduce.JobSubmitter (
- Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for
the same.
2012-02-01 16:32:20,389 INFO  mapreduce.JobSubmitter (
- Cleaning up the staging area file:/tmp/hadoop-hadoop/mapred/staging/hadoop-469936305/.staging/job_local_0001
2012-02-01 16:32:20,392 ERROR exec.ExecDriver ( - Job Submission
failed with exception ' does not exist: /home/hadoop/hive-0.8.1/lib/hive-builtins-0.8.1.jar)' File does not exist: /home/hadoop/hive-0.8.1/lib/hive-builtins-0.8.1.jar
        at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(
        at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.getFileStatus(
        at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.determineTimestamps(
        at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(
        at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(
        at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(
        at org.apache.hadoop.mapreduce.Job$
        at org.apache.hadoop.mapreduce.Job$
        at Method)
        at org.apache.hadoop.mapreduce.Job.submit(
        at org.apache.hadoop.mapred.JobClient.submitJob(
        at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(
        at org.apache.hadoop.hive.ql.exec.ExecDriver.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(


View raw message