You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "xiqing li (JIRA)" <ji...@apache.org> on 2016/09/14 03:40:20 UTC
[jira] [Commented] (HIVE-14749) Insert overwrite directory deleted
acl permissions
[ https://issues.apache.org/jira/browse/HIVE-14749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15489280#comment-15489280 ]
xiqing li commented on HIVE-14749:
----------------------------------
> dfs -ls /result/fin_abc/fin_abc/fact/abc_fct_reso_list_fvp/201604;
drwxr-xr-x+ - fin-abc fin-abc 0 2015-09-02 15:09 /result/fin_abc/fin_abc/fact/abc_fct_reso_list_fvp/201604/1
drwxr-xr-x - fin-abc hdfs 0 2016-05-12 16:00 /result/fin_abc/fin_abc/fact/abc_fct_reso_list_fvp/201604/2
drwxr-xr-x - fin-abc hdfs 0 2016-05-12 15:53 /result/fin_abc/fin_abc/fact/abc_fct_reso_list_fvp/201604/4
drwxr-xr-x - fin-abc hdfs 0 2016-05-12 15:47 /result/fin_abc/fin_abc/fact/abc_fct_reso_list_fvp/201604/5
hive> INSERT OVERWRITE TABLE abc_fct_reso_list_fvp partition(hq_month_code = '201604', hq_driv_code = '1')
> SELECT '100' MODE_CODE,
> 'a' YEAR_MONTH,
> 'b' BELONG_ABC_DEPT_ID,
> 'c' BELONG_ABC_DEPT_CODE,
> 'c' BELONG_ABC_DEPT_TYPE,
> 'e' FUNC_CODE,
> 'f' RESO_CODE,
> 'g' BILL_AMT,
> 5 FROM_FLAG,
> from_unixtime(unix_timestamp(), 'yyyy-MM-dd HH:mm:ss') LOAD_TM,
> '' SYS_NAME,
> NULL FZ_COL
> FROM default.dual A;
> dfs -ls /result/fin_abc/fin_abc/fact/abc_fct_reso_list_fvp/201604;
drwxr-xr-x - fin-abc fin-abc 0 2015-09-02 16:09 /result/fin_abc/fin_abc/fact/abc_fct_reso_list_fvp/201604/1
#The plus sign disappeared.
> Insert overwrite directory deleted acl permissions
> ---------------------------------------------------
>
> Key: HIVE-14749
> URL: https://issues.apache.org/jira/browse/HIVE-14749
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Affects Versions: 0.13.0
> Environment: centos6.6,hive0.13.0
> Reporter: xiqing li
>
> when i operate hive 'insert overwrite' dml,the hdfs directory's acl will be overwritted.in other words,acl will be deleted.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)