[
https://issues.apache.org/jira/browse/HIVE-27089?focusedWorklogId=849784&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-849784
]
ASF GitHub Bot logged work on HIVE-27089:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Mar/23 11:49
Start Date: 08/Mar/23 11:49
Worklog Time Spent: 10m
Work Description: zabetak commented on PR #4068:
URL: https://github.com/apache/hive/pull/4068#issuecomment-1460040365
@yigress I am not sure if it is LLAP related. If you check the
`orc_merge1.q` file there are three `dfs -ls` operations always following an
`INSERT OVERWRITE TABLE` query. I assume that the `OVERWRITE` query rewrites
the directory every time.
Before HIVE-27016:
```
INSERT OVERWRITE TABLE
dfs -ls
-rw-r--r--
INSERT OVERWRITE TABLE
dfs -ls
-rw-rw-rw-
INSERT OVERWRITE TABLE
dfs -ls
-rw-rw-rw-
```
After HIVE-27016:
```
INSERT OVERWRITE TABLE
dfs -ls
-rw-rw-rw-
INSERT OVERWRITE TABLE
dfs -ls
-rw-rw-rw-
INSERT OVERWRITE TABLE
dfs -ls
-rw-rw-rw-
```
Worth mentioning that even before HIVE-27016 we have directories created
with `-rw-rw-rw-` just not the first time.
There must be a code-path that operates with different permissions and this
is definitely a bug. If someone can pinpoint the exact reason of why this
happens and raise a JIRA that would be great.
However, given that permission differences existed even before HIVE-27016, I
will not consider HIVE-27016 as a regression so I am OK to simply update the
.q.out files for the moment.
Issue Time Tracking
-------------------
Worklog Id: (was: 849784)
Time Spent: 2.5h (was: 2h 20m)
> Fix orc_merge*.q test failures
> ------------------------------
>
> Key: HIVE-27089
> URL: https://issues.apache.org/jira/browse/HIVE-27089
> Project: Hive
> Issue Type: Sub-task
> Reporter: Aman Raj
> Assignee: Aman Raj
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> The orc_merge1,2,3,4,10 .q tests fails with the following errors :
> < -rw-rw-rw- 3 ### USER ### ### GROUP ### 349 ### HDFS DATE ### hdfs://###
> HDFS PATH ###
> ---
> > -rw-r--r-- 3 ### USER ### ### GROUP ### 349 ### HDFS DATE ### hdfs://###
> > HDFS PATH ###
--
This message was sent by Atlassian Jira
(v8.20.10#820010)