[ 
https://issues.apache.org/jira/browse/OOZIE-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Artem Ervits updated OOZIE-2920:
--------------------------------
    Attachment: OOZIE-2920-2.patch

[~rkanter] 
#1. in my experience, it is only under explicit conditions will it work where 
core-site.xml has the property 
{code}ipc.client.fallback-to-simple-auth-allowed{code}. You can't bundle the 
core-site.xml with the wf, neither does uploading to the distcp sharelib. I'd 
love to know if there's another approach?

the following doesn't work either
{noformat}
<action name="distcp_1">
        <distcp xmlns="uri:oozie:distcp-action:0.2">
            <job-tracker>${resourceManager}</job-tracker>
            <name-node>${nameNode}</name-node>
            <arg>hdfs://cluster1:8020/tmp/hellounsecure</arg>
            <arg>hdfs://cluster2:8020/user/centos/</arg>
            
<java-opts>-Dipc.client.fallback-to-simple-auth-allowed=true</java-opts>
        </distcp>
        <ok to="end"/>
        <error to="kill"/>
{noformat}

#2. my example is built on the distcp example with minor changes. Do you want 
me to adjust both examples then to something that would make more sense?

#3. Thank you for the tip, how would I test that?

> Document Distcp can copy files within a cluster
> -----------------------------------------------
>
>                 Key: OOZIE-2920
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2920
>             Project: Oozie
>          Issue Type: Improvement
>    Affects Versions: 4.3.0
>            Reporter: Artem Ervits
>            Assignee: Artem Ervits
>            Priority: Trivial
>             Fix For: 4.3.0
>
>         Attachments: OOZIE-2920-0.patch, OOZIE-2920-1.patch, 
> OOZIE-2920-2.patch
>
>
> The FS action doesn't support a "copy" action.  We should update the 
> documentation to point to the DistCp action to help users looking for that 
> functionality.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to