You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "duan xiong (JIRA)" <ji...@apache.org> on 2019/02/14 01:36:00 UTC

[jira] [Commented] (OOZIE-2458) 'oozie-setup.sh sharelib create' should ensure uploaded jars are world readable

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

duan xiong commented on OOZIE-2458:
-----------------------------------

Hi,[~kmarton],I have check this bug in the new master branch. This porblem still exist, In Oozie, When run 'oozie-setup.sh sharelib create' ,It will use the Hadoop configuration "fs.permissions.umask-mode " value to create new Jar forder. So The 'oozie-setup.sh sharelib create' command should ensure that the installed jars are world readable, instead of rely on hadoop configuration.

> 'oozie-setup.sh sharelib create' should ensure uploaded jars are world readable
> -------------------------------------------------------------------------------
>
>                 Key: OOZIE-2458
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2458
>             Project: Oozie
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 4.1.0
>            Reporter: Ferenc Denes
>            Assignee: duan xiong
>            Priority: Critical
>             Fix For: trunk
>
>         Attachments: OOZIE-2458-1.patch
>
>
> If the default umask of HDFS does not include world read then the Oozie sharelib gets created accordingly, and then the jars can not be read at runtime because Oozie workflows impersonate the submitting user.
> The 'oozie-setup.sh sharelib create' command should ensure that the installed jars are world readable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)