Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19969

Dependency order (dirlist) assessment fails in yetus run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      As seen here, the dirlist step of yetus fails to determine order of modules to be built. It silently falls back to alphabetical order which may or may not work depending on the patch.

      Thu Jun 21 02:43:04 UTC 2018
      cd /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958
      mvn -q exec:exec -Dexec.executable=pwd -Dexec.args=''
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/storage-api
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/upgrade-acid
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/classification
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/shims/common
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/shims/0.23
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/shims/scheduler
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/shims/aggregator
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/common
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/service-rpc
      /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/serde
      Usage: java [-options] class [args...]
                 (to execute a class)
         or  java [-options] -jar jarfile [args...]
                 (to execute a jar file)
      where options include:

      The problem is in standalone-metastore module: maven plugin 'exec' has a global config set executable=java disregarding the dirlist task's -Dexec.executable=pwd and causing the above error.

      Attachments

        1. HIVE-19969.0.patch
          1 kB
          Ádám Szita
        2. HIVE-19969.1.patch
          1 kB
          Ádám Szita
        3. HIVE-19969.2.patch
          1 kB
          Ádám Szita

        Activity

          People

            szita Ádám Szita
            szita Ádám Szita
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: