You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2017/03/28 09:00:48 UTC

[jira] [Commented] (DRILL-5391) Difference in directory permissions when using CREATE TABLE AS on HDFS storage plugin

    [ https://issues.apache.org/jira/browse/DRILL-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944806#comment-15944806 ] 

Arina Ielchiieva commented on DRILL-5391:
-----------------------------------------

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?

> Difference in directory permissions when using CREATE TABLE AS on HDFS storage plugin
> -------------------------------------------------------------------------------------
>
>                 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)