Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> pig output path permissions


+
anup ahire 2013-10-07, 18:27
Copy link to this message
-
Re: pig output path permissions
Hello,

Yes you can using oozie action

<action name="[NODE-NAME]">
        <fs>
            <delete path='[PATH]'/>
            ...
            <mkdir path='[PATH]'/>
            ...
            <move source='[SOURCE-PATH]' target='[TARGET-PATH]'/>
            ...
            <chmod path='[PATH]' permissions='[PERMISSIONS]'
dir-files='false' />
            ...
        </fs>
        <ok to="[NODE-NAME]"/>
        <error to="[NODE-NAME]"/>
</action>
Thanks
Krishnan
On Mon, Oct 7, 2013 at 11:27 AM, anup ahire <[EMAIL PROTECTED]> wrote:

> Hello,
>
> Is it possible to set file permissions for pig output path at job level ?
>
> Thanks,
> Anup
>
+
Nitin Pawar 2013-10-07, 18:36