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

Denes Bodo commented on OOZIE-3440:
-----------------------------------

I've updated the environment info:
HDP 2.6.5, Hadoop 2.7.3 and Spark 2 . 2.3.0 . Oozie parameters the Spark 
command's --files option with the "%23" contained string. This can be 
reproduces using unit tests.

> Oozie Spark action replaces path symlink # to %23
> -------------------------------------------------
>
>                 Key: OOZIE-3440
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3440
>             Project: Oozie
>          Issue Type: Bug
>          Components: action
>    Affects Versions: 4.3.1, 5.1.0
>         Environment: Hadoop 2.7.3
> Spark 2 - 2.3.0
>            Reporter: Denes Bodo
>            Assignee: Denes Bodo
>            Priority: Major
>         Attachments: OOZIE-3440-001.patch
>
>
> When we provide in a hive action:
>  * --files /etc/spark2/conf/hive-site.xml#hive-site.xml or
>  * <file>/etc/spark2/conf/hive-site.xml#hive-site.xml</file> or
> * <file>hdfs:///tmp/spark2/conf/hive-site.xml#hive-site.xml</file> or
>  * <archive>/etc/spark2/conf/hive-site.xml#hive-site.xml</archive>
> we get the following error:
> {code}
> Failing Oozie Launcher, Main class 
> [org.apache.oozie.action.hadoop.SparkMain], main() threw exception, File 
> file:/etc/spark2/conf/hive-site.xml%23hive-site.xml does not exist
> {code}
> The culprit seems to be 
> https://github.com/apache/oozie/blob/master/sharelib/spark/src/main/java/org/apache/oozie/action/hadoop/SparkArgsExtractor.java#L480L489
>  .
> Please help me confirm if this is a bug or not. Meanwhile I am creating a 
> fix/workaround to this.



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

Reply via email to