-
-
Save sherylj/ccd924be35537b4aa0e8 to your computer and use it in GitHub Desktop.
Insert into external table error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hive> insert overwrite table movies | |
> select * from moviestest; | |
Query ID = sherylj_20150624142929_378bdf16-aaa0-42a2-8a31-601626669016 | |
Total jobs = 1 | |
Launching Job 1 out of 1 | |
Number of reduce tasks is set to 0 since there's no reduce operator | |
java.io.FileNotFoundException: File does not exist: hdfs://localhost:9000/usr/local/Cellar/hadoop/hdfs/tmp/mapred/staging/sherylj808383908/.staging/job_local808383908_0001/libjars/elasticsearch-hadoop-2.1.0.jar | |
at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1122) | |
at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114) | |
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) | |
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1114) | |
at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.getFileStatus(ClientDistributedCacheManager.java:288) | |
at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.getFileStatus(ClientDistributedCacheManager.java:224) | |
at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.determineTimestamps(ClientDistributedCacheManager.java:93) | |
at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.determineTimestampsAndCacheVisibilities(ClientDistributedCacheManager.java:57) | |
at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:269) | |
at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:390) | |
at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:483) | |
at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1296) | |
at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1293) | |
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:1628) | |
at org.apache.hadoop.mapreduce.Job.submit(Job.java:1293) | |
at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:562) | |
at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:557) | |
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:1628) | |
at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:557) | |
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:548) | |
at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:429) | |
at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:137) | |
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160) | |
at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:85) | |
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1604) | |
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1364) | |
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1177) | |
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1004) | |
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:994) | |
at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:201) | |
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:153) | |
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:364) | |
at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:712) | |
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:631) | |
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:570) | |
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:606) | |
at org.apache.hadoop.util.RunJar.run(RunJar.java:221) | |
at org.apache.hadoop.util.RunJar.main(RunJar.java:136) | |
Job Submission failed with exception 'java.io.FileNotFoundException(File does not exist: hdfs://localhost:9000/usr/local/Cellar/hadoop/hdfs/tmp/mapred/staging/sherylj808383908/.staging/job_local808383908_0001/libjars/elasticsearch-hadoop-2.1.0.jar)' | |
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment