[jira] [Updated] (ATLAS-2943) Export: Operation Fails if No Options are Specified

2019-09-25 Thread Carol Drummond (Jira)


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

Carol Drummond updated ATLAS-2943:
--
Labels:   (was: release-notes)

> Export: Operation Fails if No Options are Specified
> ---
>
> Key: ATLAS-2943
> URL: https://issues.apache.org/jira/browse/ATLAS-2943
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8.2, 0.8.3, trunk
>Reporter: Ashutosh Mestry
>Assignee: Ashutosh Mestry
>Priority: Major
> Fix For: 0.8.3, 1.2.0, 2.0.0, trunk
>
> Attachments: ATLAS-2943-Export-options-null-check-added.patch
>
>
> *Pre-requisites*
>  * Create database (say stocks), tables from beeline. 
> *Steps to Duplicate*
> Attempt an export using these parameters:
> {code:java}
> { "itemsToExport": [ { "typeName": "hive_db", "uniqueAttributes": { 
> "qualifiedName": "stocks@cl1" }} ] }
> {code}
> *Expected results*: Export should succeed with default options.
> *Actual results:* Export fails with the following exception:
> {code:java}
> 2018-10-28 16:03:54,311 ERROR - [pool-2-thread-9 - 
> e63a2ebe-2480-4a60-b5f8-12595effdd9d:hrt_qa:POST/api/atlas/admin/export] ~ 
> Operation failed:  (ExportService:116)
> java.lang.NullPointerException
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter.isReplicationOptionSet(AuditsWriter.java:74)
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter.access$200(AuditsWriter.java:44)
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter$ExportAudits.add(AuditsWriter.java:150)
>   
> {code}



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


[jira] [Updated] (ATLAS-2943) Export: Operation Fails if No Options are Specified

2019-09-25 Thread Carol Drummond (Jira)


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

Carol Drummond updated ATLAS-2943:
--
Labels: release-notes  (was: )

> Export: Operation Fails if No Options are Specified
> ---
>
> Key: ATLAS-2943
> URL: https://issues.apache.org/jira/browse/ATLAS-2943
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8.2, 0.8.3, trunk
>Reporter: Ashutosh Mestry
>Assignee: Ashutosh Mestry
>Priority: Major
>  Labels: release-notes
> Fix For: 0.8.3, 1.2.0, 2.0.0, trunk
>
> Attachments: ATLAS-2943-Export-options-null-check-added.patch
>
>
> *Pre-requisites*
>  * Create database (say stocks), tables from beeline. 
> *Steps to Duplicate*
> Attempt an export using these parameters:
> {code:java}
> { "itemsToExport": [ { "typeName": "hive_db", "uniqueAttributes": { 
> "qualifiedName": "stocks@cl1" }} ] }
> {code}
> *Expected results*: Export should succeed with default options.
> *Actual results:* Export fails with the following exception:
> {code:java}
> 2018-10-28 16:03:54,311 ERROR - [pool-2-thread-9 - 
> e63a2ebe-2480-4a60-b5f8-12595effdd9d:hrt_qa:POST/api/atlas/admin/export] ~ 
> Operation failed:  (ExportService:116)
> java.lang.NullPointerException
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter.isReplicationOptionSet(AuditsWriter.java:74)
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter.access$200(AuditsWriter.java:44)
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter$ExportAudits.add(AuditsWriter.java:150)
>   
> {code}



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


[jira] [Updated] (ATLAS-2943) Export: Operation Fails if No Options are Specified

2019-04-19 Thread Sarath Subramanian (JIRA)


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

Sarath Subramanian updated ATLAS-2943:
--
Fix Version/s: 2.0.0
   1.2.0

> Export: Operation Fails if No Options are Specified
> ---
>
> Key: ATLAS-2943
> URL: https://issues.apache.org/jira/browse/ATLAS-2943
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8.2, 0.8.3, trunk
>Reporter: Ashutosh Mestry
>Assignee: Ashutosh Mestry
>Priority: Major
> Fix For: 0.8.3, 1.2.0, 2.0.0, trunk
>
> Attachments: ATLAS-2943-Export-options-null-check-added.patch
>
>
> *Pre-requisites*
>  * Create database (say stocks), tables from beeline. 
> *Steps to Duplicate*
> Attempt an export using these parameters:
> {code:java}
> { "itemsToExport": [ { "typeName": "hive_db", "uniqueAttributes": { 
> "qualifiedName": "stocks@cl1" }} ] }
> {code}
> *Expected results*: Export should succeed with default options.
> *Actual results:* Export fails with the following exception:
> {code:java}
> 2018-10-28 16:03:54,311 ERROR - [pool-2-thread-9 - 
> e63a2ebe-2480-4a60-b5f8-12595effdd9d:hrt_qa:POST/api/atlas/admin/export] ~ 
> Operation failed:  (ExportService:116)
> java.lang.NullPointerException
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter.isReplicationOptionSet(AuditsWriter.java:74)
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter.access$200(AuditsWriter.java:44)
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter$ExportAudits.add(AuditsWriter.java:150)
>   
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (ATLAS-2943) Export: Operation Fails if No Options are Specified

2018-10-30 Thread Ashutosh Mestry (JIRA)


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

Ashutosh Mestry updated ATLAS-2943:
---
Attachment: ATLAS-2943-Export-options-null-check-added.patch

> Export: Operation Fails if No Options are Specified
> ---
>
> Key: ATLAS-2943
> URL: https://issues.apache.org/jira/browse/ATLAS-2943
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8.2, trunk, 0.8.3
>Reporter: Ashutosh Mestry
>Assignee: Ashutosh Mestry
>Priority: Major
> Fix For: trunk, 0.8.3
>
> Attachments: ATLAS-2943-Export-options-null-check-added.patch
>
>
> *Pre-requisites*
>  * Create database (say stocks), tables from beeline. 
> *Steps to Duplicate*
> Attempt an export using these parameters:
> {code:java}
> { "itemsToExport": [ { "typeName": "hive_db", "uniqueAttributes": { 
> "qualifiedName": "stocks@cl1" }} ] }
> {code}
> *Expected results*: Export should succeed with default options.
> *Actual results:* Export fails with the following exception:
> {code:java}
> 2018-10-28 16:03:54,311 ERROR - [pool-2-thread-9 - 
> e63a2ebe-2480-4a60-b5f8-12595effdd9d:hrt_qa:POST/api/atlas/admin/export] ~ 
> Operation failed:  (ExportService:116)
> java.lang.NullPointerException
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter.isReplicationOptionSet(AuditsWriter.java:74)
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter.access$200(AuditsWriter.java:44)
>   at 
> org.apache.atlas.repository.impexp.AuditsWriter$ExportAudits.add(AuditsWriter.java:150)
>   
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)