You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ran Haim (JIRA)" <ji...@apache.org> on 2016/06/29 09:15:31 UTC

[jira] [Comment Edited] (SPARK-15731) orc writer directory permissions

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

Ran Haim edited comment on SPARK-15731 at 6/29/16 9:14 AM:
-----------------------------------------------------------

I have tested it under 1.6.1.
When writing the data under the local file system the folders permissions are OK, but when writing the data under HDFS the problem occurs.

I don't see a point on testing it under 2.x.

thanks.
Ran.


was (Author: ran.haim@optimalplus.com):
I have tested it under 1.6.1, and writing the data under the local file system the permissions are OK, but when writing the data under HDFS the problem occurs.
I don't see a point on testing it under 2.x.

thanks.
Ran.

> orc writer directory permissions
> --------------------------------
>
>                 Key: SPARK-15731
>                 URL: https://issues.apache.org/jira/browse/SPARK-15731
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: Ran Haim
>
> When saving orc files with partitions, the partition directories created do not have x permission (even tough umask is 002), then no other users can get inside those directories to read the orc file.
> When writing parquet files there is no such issue.
> code example:
> datafrmae.write.format("orc").mode("append").partitionBy("date").save("/path")



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org