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

[jira] [Created] (OOZIE-3440) Oozie Spark action replaces local path symlink # to %23

Denes Bodo created OOZIE-3440:
---------------------------------

             Summary: Oozie Spark action replaces local 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: 5.1.0, 4.3.1
            Reporter: Denes Bodo
            Assignee: Denes Bodo


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
 * <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)