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

Handle Test Case Failure on Pre-commit environment

    XMLWordPrintableJSON

Details

    Description

      Getting following error on Pre-commit build due to change in the file path

      hive-bridge/target/logs/application.log

      Wrong FS: pfile:/home/jenkins/jenkins-agent/workspace/Atlas/PreCommit-ATLAS-Build-Test/addons/hive-bridge/target/partition-data-{dir}, expected: file:///
      

       

      Also,

      There is Enum "Type" in the "Entity"

      Class: org.apache.hadoop.hive.ql.hooks.Entity
      Enum: Type

      Enum "Type" has one constant "LOCAL_DIR"

      Due to recent changes, we need to provide support for this constant "LOCAL_DIR" in Testing Environment.

      Without which following issues occuring on Testing Environment:

      1. While creating "hive_process" entity, The "outputs" attribute is not getting set (Which is of type "hdfs_path").
      2. While setting the "qualifiedName" of "hive_process" entity, File path is not getting appended.

      This causing Failure of some Test cases.

      Attachments

        1. ATLAS-4301.patch
          6 kB
          Mandar Ambawane

        Issue Links

          Activity

            People

              mandar_va Mandar Ambawane
              mandar_va Mandar Ambawane
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: