Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1827

HiveHookIT failures due to missing files in target folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • 1.3.0
    • atlas-intg
    • None

    Description

      Below tests fail because Hive cannot read the test files from addons/hive-bridge/target folder.
      org.apache.atlas.hive.hook.HiveHookIT.testLoadDFSPathPartitioned
      org.apache.atlas.hive.hook.HiveHookIT.testLoadLocalPath
      org.apache.atlas.hive.hook.HiveHookIT.testLoadLocalPathIntoPartition

      Stack trace for testLoadLocalPath:

      2017-05-24 06:37:37,150 ERROR - [main:] ~ FAILED: SemanticException Line 1:23 Invalid path ''file:///var/lib/jenkins/workspace/atlas-test/addons/hive-bridge/./target/load-data-7KV7AalW6D'': No files matching path file:/var/lib/jenkins/workspace/atlas-test/addons/hive-bridge/target/load-data-7KV7AalW6D
      org.apache.hadoop.hive.ql.parse.SemanticException: Line 1:23 Invalid path ''file:///var/lib/jenkins/workspace/atlas-test/addons/hive-bridge/./target/load-data-7KV7AalW6D'': No files matching path file:/var/lib/jenkins/workspace/atlas-test/addons/hive-bridge/target/load-data-7KV7AalW6D
      at org.apache.hadoop.hive.ql.parse.LoadSemanticAnalyzer.applyConstraints(LoadSemanticAnalyzer.java:139)
      at org.apache.hadoop.hive.ql.parse.LoadSemanticAnalyzer.analyzeInternal(LoadSemanticAnalyzer.java:230)
      at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:227)
      at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:424)
      at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:308)
      at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1122)
      at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1170)
      at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)
      at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)
      at org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:119)

      Attachments

        1. ATLAS-1827.patch
          2 kB
          Yussuf Shaikh

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yussufshaikh Yussuf Shaikh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: