首页 新闻 赞助 找找看

hive 创建分区和insert overwrite到一个分区时显示的分区所有者不一样

0
悬赏园豆:10 [待解决问题]

谁能帮忙看看这是什么原因:

hive> alter table hello_libor_hold add partition (dt=20170601); 

 

hive>Insert overwrie table  hello_libor_hold partition(dt=20170602)  select a from tb;

 

hive> dfs -ls hdfs://myer/apps/hive/warehouse/aadb/hello_libor_hold ;

drwxr-xr-x - job      hdfs 0 2017-11-18 14:23 hdfs://myer/apps/hive/warehouse/aadb/hello_libor_hold /dt=20170601
drwxr-xr-x - bridge hdfs 0 2017-11-18 14:24 hdfs://myer/apps/hive/warehouse/aadb/hello_libor_hold /dt=20170602

 

我是用bridge用户登录的,为什么20170601分区显示为job用户?还有我insert overwrite报错了:(报错了却创建了20170602的分区 ?...)

Loading data to table bridge.hello_libor_hold partition (dt=20170602)
Failed with exception java.util.ConcurrentModificationException
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

到底为什么insert overwrite会出错?怎么修复这个bug呢?

hongma的主页 hongma | 初学一级 | 园豆:179
提问于:2017-11-20 20:48
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册