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

Junfan Zhang commented on OOZIE-3574:
-------------------------------------

[~asalamon74] [~matijhs] Sorry i missed a point that needed to be modified,code 
is 
[here|https://github.com/apache/oozie/blob/70f9cbd697644d6ad9f2cfd64325e2e95f37ac01/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java#L721].
 I think {{file.getPath().toUri().getPath()}} should be changed to 
{{file.getPath().toString()}}.

Please check v2 patch, i add a unit test.

> JavaAction create incorrect fileSystem instance in addActionLibs method
> -----------------------------------------------------------------------
>
>                 Key: OOZIE-3574
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3574
>             Project: Oozie
>          Issue Type: Sub-task
>            Reporter: Junfan Zhang
>            Assignee: Junfan Zhang
>            Priority: Major
>         Attachments: OOZIE-3574-v1.patch, OOZIE-3574-v2.patch
>
>
> Code is 
> [here|https://github.com/apache/oozie/blob/9c288fe5cea6f2fbbae76f720b9e215acdd07709/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java#L734].
> If actionlibPath scheme is different from appPath (like actionLibPath's 
> scheme is s3a, but the appPath is hdfs), this will fail to execute 
> {{fs.exist(actionLibsPath)}}. So i think Oozie should create fileSystem by 
> actionLibsPath.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to