2012-11-23 58 views
0

蜂巢/ lib目录/蜂房内建-0.9.0.jar我有一个配置在我的本地盒的Hadoop 0.23,得到它用一个简单的地图,减少单词计数程序中工作。我已经配置蜂巢与它合作。所有DDL查询工作正常。但是,当我火了具有聚集(这会触发地图,得出职位)查询FileNotFoundException异常在蜂房

java.io.FileNotFoundException: File does not exist: /Users/varadham/projects/hadoop/hive/lib/hive-builtins-0.9.0.jar 
    at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:738) 
    at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.getFileStatus(ClientDistributedCacheManager.java:208) 
    at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.determineTimestamps(ClientDistributedCacheManager.java:71) 
    at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:252) 
    at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:290) 
    at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:361) 
    at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1218) 
    at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1215) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at javax.security.auth.Subject.doAs(Subject.java:415) 
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1212) 
    at org.apache.hadoop.mapreduce.Job.submit(Job.java:1215) 
    at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:609) 
    at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:604) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at javax.security.auth.Subject.doAs(Subject.java:415) 
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1212) 
    at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:604) 
    at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:435) 
    at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:693) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:601) 
    at org.apache.hadoop.util.RunJar.main(RunJar.java:208) 
Job Submission failed with exception 'java.io.FileNotFoundException(File does not exist: /Users/varadham/projects/hadoop/hive/lib/hive-builtins-0.9.0.jar)' 

回答

0

您应该创建相同的文件/Users/varadham/projects/hadoop/hive/lib/hive-builtins-0.9.0在的.jar您的Hadoop文件系统。那么它应该工作。

0

请确保您有在HDFS的罐子。