Created 07-26-2018 01:22 PM
Erro
===============================================================================================
Loading data to table vau.vau_multi_issr_mnthly_mrch_participation partition (cpd_dt=20180630)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask. Unable to move source hdfs://nameservice1/hive/vau.db/vau_multi_issr_mnthly_mrch_participation/cpd_dt=20180630/.hive-staging_hive_2018-07-26_11-06-28_809_8487593963319586229-1/-ext-10000 to destination hdfs://nameservice1/hive/vau.db/vau_multi_issr_mnthly_mrch_participation/cpd_dt=20180630
===============================================================================================
Command
===============================================================================================
insert overwrite table vau_multi_issr_mnthly_mrch_participation partition (cpd_dt=20180630)
select
concat_ws(':',cast (temp2.ua_mult_issr_id as string),temp2.ua_mult_issr_nm,
concat_ws('~',collect_list(concat_ws('|',cast(temp1.ua_issr_seg_id as string),
temp1.ua_issr_seg_nm,
cast(temp1.ua_issr_id as string),
temp1.ua_issr_nm,
cast(temp1.ua_bin as string),
cast(temp2.regn_cd as string),
cast(temp2.regn_nm as string),
cast(temp2.ctry_cd as string),
cast(temp2.ctry_nm as string),
cast(temp1.enrl_dt as string),
cast(rpt_fmt_ind as string),
lpad(cast(coalesce(vol_bus_id, '') as string), 8, '0'))))) as arr1
from
vau_multi_issr_mnthly_mrch_participation_temp1 temp1
inner join
vau_multi_issr_mnthly_mrch_participation_temp2 temp2
on
temp1.ua_issr_seg_id = temp2.ua_issr_seg_id
group by
temp2.ua_mult_issr_id,temp2.ua_mult_issr_nm;
Created 07-28-2018 02:06 PM
Hi Vinicious,
Thanks for you help. Pls note issue is resolved now there was issue with hive staging directory. Permission was 777.
Reagrds
Mohammad Shamim
Created 07-27-2018 05:48 PM
Hi @Mohammad Shamim!
Could you confirm if the user has permission on that directory?
or is there any space quota set?
Otherwise, try to enable the debug for the logs:
hive --hiveconf hive.root.logger=DEBUG,console
Hope this helps!
Created 07-28-2018 02:06 PM
Hi Vinicious,
Thanks for you help. Pls note issue is resolved now there was issue with hive staging directory. Permission was 777.
Reagrds
Mohammad Shamim
Created 07-29-2018 03:15 AM
Good to know @Mohammad Shamim!
Please if the issue is solved, I'd kindly ask you to accept the answer. This will help the other HCC users to find the best answer faster and will encourage the other users to keep doing a good job as well 🙂