Re: Review Request 72595: ATLAS-3833 : Packaging for atlas index repair tool
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72595/#review221084 --- Ship it! Ship It! - Nixon Rodrigues On June 16, 2020, 1:44 p.m., chaitali wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/72595/ > --- > > (Updated June 16, 2020, 1:44 p.m.) > > > Review request for atlas, Jayendra Parab, Madhan Neethiraj, Nixon Rodrigues, > and Sarath Subramanian. > > > Bugs: ATLAS-3833 > https://issues.apache.org/jira/browse/ATLAS-3833 > > > Repository: atlas > > > Description > --- > > Add packaging for apache atlas build for tools/atlas-index-repair > > > Diffs > - > > distro/pom.xml 7159b16cf > distro/src/main/assemblies/atlas-repair-index-package.xml PRE-CREATION > pom.xml 8d02a6f26 > tools/atlas-index-repair/README PRE-CREATION > > > Diff: https://reviews.apache.org/r/72595/diff/3/ > > > Testing > --- > > verified tools directory after packaging atlas > > > Thanks, > > chaitali > >
[jira] [Updated] (ATLAS-3866) Relationship search API for hive storage desc throws error code 500
[ https://issues.apache.org/jira/browse/ATLAS-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pinal updated ATLAS-3866: - Description: Tried below API of ATLAS {code:java} v2/search/relationship?limit=10=0=3e424245-0676-4d47-96a1-e17228b38367=__hive_table.sd=name=ASCENDING=true{code} error Response: {code:java} { "errorCode": "ATLAS-500-00-001", "errorMessage": "Internal server error Relationship search query failed" } {code} *Cause of issue:* Above Request contains sortBy=name, 'name' attribute is not in hive_storagedesc definition, hence the issue. Also if sortBy is not passed, default attribute is 'name' was: Tried below API of ATLAS [CDH-7.2.0 runtime] {code:java} v2/search/relationship?limit=10=0=3e424245-0676-4d47-96a1-e17228b38367=__hive_table.sd=name=ASCENDING=true{code} error Response: {code:java} { "errorCode": "ATLAS-500-00-001", "errorMessage": "Internal server error Relationship search query failed" } {code} *Cause of issue:* Above Request contains sortBy=name, 'name' attribute is not in hive_storagedesc definition, hence the issue. Also if sortBy is not passed, default attribute is 'name' > Relationship search API for hive storage desc throws error code 500 > --- > > Key: ATLAS-3866 > URL: https://issues.apache.org/jira/browse/ATLAS-3866 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: 2.0.0 >Reporter: Pinal >Assignee: Pinal >Priority: Major > Labels: Relationships > Fix For: 2.1.0, 3.0.0 > > > Tried below API of ATLAS > {code:java} > v2/search/relationship?limit=10=0=3e424245-0676-4d47-96a1-e17228b38367=__hive_table.sd=name=ASCENDING=true{code} > error Response: > {code:java} > { > "errorCode": "ATLAS-500-00-001", > "errorMessage": "Internal server error Relationship search query failed" > } > {code} > > *Cause of issue:* > Above Request contains sortBy=name, 'name' attribute is not in > hive_storagedesc definition, hence the issue. > Also if sortBy is not passed, default attribute is 'name' -- This message was sent by Atlassian Jira (v8.3.4#803005)
Review Request 72625: ATLAS-3866 : Relationship search API for hive storage desc throws error code 500
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72625/ --- Review request for atlas, Jayendra Parab, Madhan Neethiraj, Nixon Rodrigues, and Sarath Subramanian. Bugs: ATLAS-3866 https://issues.apache.org/jira/browse/ATLAS-3866 Repository: atlas Description --- **Issue:** In relationship api v2/relationship, for hive_storagedesc it throws exception **Reason:** it is because, sort attribute is assigned 'name' as default, and 'name' attribute is not in the defination of hive_storagedesc. **Workaround:** Validate if attribute is present in relationship end def, if not ignore sorting Diffs - repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java dd4d1b441 Diff: https://reviews.apache.org/r/72625/diff/1/ Testing --- Manually tested Precommit : Thanks, Pinal Shah
[jira] [Created] (ATLAS-3866) Relationship search API for hive storage desc throws error code 500
Pinal created ATLAS-3866: Summary: Relationship search API for hive storage desc throws error code 500 Key: ATLAS-3866 URL: https://issues.apache.org/jira/browse/ATLAS-3866 Project: Atlas Issue Type: Bug Components: atlas-core Affects Versions: 2.0.0 Reporter: Pinal Assignee: Pinal Fix For: 2.1.0, 3.0.0 Tried below API of ATLAS [CDH-7.2.0 runtime] {code:java} v2/search/relationship?limit=10=0=3e424245-0676-4d47-96a1-e17228b38367=__hive_table.sd=name=ASCENDING=true{code} error Response: {code:java} { "errorCode": "ATLAS-500-00-001", "errorMessage": "Internal server error Relationship search query failed" } {code} *Cause of issue:* Above Request contains sortBy=name, 'name' attribute is not in hive_storagedesc definition, hence the issue. Also if sortBy is not passed, default attribute is 'name' -- This message was sent by Atlassian Jira (v8.3.4#803005)