[
https://issues.apache.org/jira/browse/DRILL-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944806#comment-15944806
]
Arina Ielchiieva edited comment on DRILL-5391 at 3/28/17 3:12 PM:
------------------------------------------------------------------
Since 1.10.0 CTAS creates folders with 775 and files with 644, before that
folders and files were created without specifying permission thus default
permission was used.
https://github.com/apache/drill/blob/2af709f43d01f341b2a52c6473ea49d6761fdc61/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageStrategy.java#L39
Since change was done intentionally and if you don't have any other concerns
about it, can we close the Jira?
was (Author: arina):
Since 1.10.0 CTAS creates folders with 775 and files qith 644, before that
folders and files were created without specifying permission thus default
permission was used.
https://github.com/apache/drill/blob/2af709f43d01f341b2a52c6473ea49d6761fdc61/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageStrategy.java#L39
Since change was done intentionally and if you don't have any other concerns
about it, can we close the Jira?
> CTAS: folder and file permission should be configurable
> -------------------------------------------------------
>
> Key: DRILL-5391
> URL: https://issues.apache.org/jira/browse/DRILL-5391
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.9.0, 1.10.0
> Environment: CentOS 7, HDP 2.4
> Reporter: Chua Tianxiang
> Priority: Minor
> Attachments: Drill-1-10.PNG, Drill-1-9.PNG
>
>
> In Drill 1.9, CREATE TABLE AS creates a folder with permissions 777, while on
> Drill 1.10, the same commands creates a folder with permission 775. Both
> drills are started with root user, installed on the same servers and accesses
> the same HDFS.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)