码迷,mamicode.com
首页 > 其他好文 > 详细

hive数据导出到本地目录 抛异常

时间:2018-06-17 21:47:22      阅读:289      评论:0      收藏:0      [点我收藏+]

标签:fail   uri   HERE   exec   end   目录   复试   TE   launch   

经过反复试验,最终重启hdfs和hive解决问题 

 1 hive> insert overwrite local directory ‘/Users/wooluwalker/Desktop/‘ select * from tb_test;
 2 Total jobs = 1
 3 Launching Job 1 out of 1
 4 Number of reduce tasks is set to 0 since there‘s no reduce operator
 5 Starting Job = job_1529105640036_0105, Tracking URL = http://wooluwalkerdeMacBook-Air.local:8088/proxy/application_1529105640036_0105/
 6 Kill Command = /Users/wooluwalker/software/hadoop-2.8.3/bin/hadoop job  -kill job_1529105640036_0105
 7 Hadoop job information for Stage-1: number of mappers: 0; number of reducers: 0
 8 2018-06-17 08:11:46,038 Stage-1 map = 0%,  reduce = 0%
 9 Ended Job = job_1529105640036_0105 with errors
10 Error during job, obtaining debugging information...
11 FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
12 MapReduce Jobs Launched:
13 Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 FAIL
14 Total MapReduce CPU Time Spent: 0 msec

 

hive数据导出到本地目录 抛异常

标签:fail   uri   HERE   exec   end   目录   复试   TE   launch   

原文地址:https://www.cnblogs.com/wooluwalker/p/9193726.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!