Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3440

[action] Oozie Spark action replaces path symlink # to %23

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.1, 5.1.0
    • 5.2.0
    • action
    • None
    • Hadoop 2.7.3
      Spark 2 - 2.3.0

    Description

      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:

      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
      

      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.

      Attachments

        1. OOZIE-3440-001.patch
          4 kB
          Dénes Bodó
        2. OOZIE-3440-002.patch
          7 kB
          Dénes Bodó
        3. OOZIE-3440-003.patch
          7 kB
          Dénes Bodó

        Activity

          People

            dionusos Dénes Bodó
            dionusos Dénes Bodó
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: