You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2014/02/02 12:30:09 UTC
[jira] [Commented] (HIVE-5746) "hive.files.umask.value" is not work
[ https://issues.apache.org/jira/browse/HIVE-5746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888902#comment-13888902 ]
Lefty Leverenz commented on HIVE-5746:
--------------------------------------
"hive.files.umask.value" should never have been documented, because it was never released. It existed temporarily in patches for HIVE-2504 before release 0.9.0, but the committed patch removed it and added hive.warehouse.subdir.inherit.perms. I've clarified this in the wiki.
* [Configuration Properties: hive.files.umask.value |https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.files.umask.value]
* [Configuration Properties: hive.warehouse.subdir.inherit.perms |https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.warehouse.subdir.inherit.perms]
* [HIVE-2504-1.patch |https://issues.apache.org/jira/secure/attachment/12521986/HIVE-2504-1.patch]
> "hive.files.umask.value" is not work
> ------------------------------------
>
> Key: HIVE-5746
> URL: https://issues.apache.org/jira/browse/HIVE-5746
> Project: Hive
> Issue Type: Test
> Components: Authentication, Authorization
> Affects Versions: 0.12.0
> Environment: hive 0.12.0,hadoop 2.0.3
> Reporter: omicron
> Priority: Trivial
>
> my "hive-site.xml" contents:
> <property>
> <name>hive.warehouse.subdir.inherit.perms</name>
> <value>false</value>
> </property>
> <property>
> <name>hive.files.umask.value</name>
> <value>0077</value>
> </property>
> but the folder that hive create has permisson 755.
> PS: hadoop "core-site.xml" has :
> <property>
> <name>fs.permissions.umask-mode</name>
> <value>077</value>
> </property>
> and when i create folder using "hdfs dfs -mkdir XXX",the permission of folder is right (700).
> so is it a bug ? or i missed something
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)