hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张晓峰 <zhangxiaofe...@q.com.cn>
Subject Can hive 0.8.1 work with hadoop 0.23.0?
Date Wed, 01 Feb 2012 13:14:32 GMT
Hi,

 

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
(JobSubmitter.java:copyAndConfigureFiles(139)) - Use GenericOptionsParser
for parsing the arguments. Applications should implement Tool for the same.

2012-02-01 16:32:20,389 INFO  mapreduce.JobSubmitter
(JobSubmitter.java:submitJobInternal(388)) - Cleaning up the staging area
file:/tmp/hadoop-hadoop/mapred/staging/hadoop-469936305/.staging/job_local_0
001

2012-02-01 16:32:20,392 ERROR exec.ExecDriver
(SessionState.java:printError(380)) - Job Submission failed with exception
'java.io.FileNotFoundException(File does not exist:
/home/hadoop/hive-0.8.1/lib/hive-builtins-0.8.1.jar)'

java.io.FileNotFoundException: File does not exist:
/home/hadoop/hive-0.8.1/lib/hive-builtins-0.8.1.jar

        at
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSy
stem.java:764)

        at
org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.getFileS
tatus(ClientDistributedCacheManager.java:208)

        at
org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.determin
eTimestamps(ClientDistributedCacheManager.java:71)

        at
org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.
java:246)

        at
org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.
java:284)

        at
org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java
:355)

        at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1159)

        at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1156)

        at java.security.AccessController.doPrivileged(Native Method)

        at javax.security.auth.Subject.doAs(Subject.java:396)

        at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.ja
va:1152)

        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1156)

        at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:571)

        at
org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:452)

        at
org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:710)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.hadoop.util.RunJar.main(RunJar.java:189)

 

Thanks,

xiaofeng

 


Mime
View raw message