You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Mandar Ambawane (Jira)" <ji...@apache.org> on 2021/06/03 14:04:00 UTC

[jira] [Updated] (ATLAS-4301) Handle Test Case Failure on Pre-commit environment

     [ https://issues.apache.org/jira/browse/ATLAS-4301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mandar Ambawane updated ATLAS-4301:
-----------------------------------
    Description: 
Getting following error on Pre-commit build due to change in the file path

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

Also,

There is Enum "Type" in the "Entity"
{code:java}
Class: org.apache.hadoop.hive.ql.hooks.Entity
Enum: Type{code}
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:
 # While creating "hive_process" entity, The "outputs" attribute is not getting set (Which is of type "hdfs_path").
 # While setting the "qualifiedName" of "hive_process" entity, File path is not getting appended.

This causing Failure of some Test cases.

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

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


> Handle Test Case Failure on Pre-commit environment
> --------------------------------------------------
>
>                 Key: ATLAS-4301
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4301
>             Project: Atlas
>          Issue Type: Improvement
>            Reporter: Mandar Ambawane
>            Assignee: Mandar Ambawane
>            Priority: Major
>
> Getting following error on Pre-commit build due to change in the file path
> hive-bridge/target/logs/application.log
> {code:java}
> Wrong FS: pfile:/home/jenkins/jenkins-agent/workspace/Atlas/PreCommit-ATLAS-Build-Test/addons/hive-bridge/target/partition-data-{dir}, expected: file:///
> {code}
>  
> Also,
> There is Enum "Type" in the "Entity"
> {code:java}
> Class: org.apache.hadoop.hive.ql.hooks.Entity
> Enum: Type{code}
> 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:
>  # While creating "hive_process" entity, The "outputs" attribute is not getting set (Which is of type "hdfs_path").
>  # While setting the "qualifiedName" of "hive_process" entity, File path is not getting appended.
> This causing Failure of some Test cases.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)