1. 程式人生 > >hive數據導出到本地目錄 拋異常

hive數據導出到本地目錄 拋異常

uwa pac style ica hadoop PE ini launched edt

經過反復試驗,最終重啟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數據導出到本地目錄 拋異常