[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-11 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Summary: Export/Import : Atlas export fails and throws 
NullPointerException.  (was: Export/Import : Atlas export fails when glossary 
is assigned to exported entity with fetchtype : Incremental and changeMarker 
value greater than lastModified time of that entity.)

> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-11 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Description: 
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

Problem is it fails export and throws NullPointerException.

> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
> Problem is it fails export and throws NullPointerException.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-11 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Description: 
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

!image-2024-04-11-15-15-59-551.png!

  was:
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

Problem is it fails export and throws NullPointerException.


> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Attachments: image-2024-04-11-15-15-59-551.png
>
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
> !image-2024-04-11-15-15-59-551.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-11 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Attachment: image-2024-04-11-15-15-59-551.png

> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Attachments: image-2024-04-11-15-15-59-551.png
>
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
> Problem is it fails export and throws NullPointerException.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-11 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Description: 
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

 

  was:
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

!image-2024-04-11-15-15-59-551.png!


> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Attachments: image-2024-04-11-15-15-59-551.png
>
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-11 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Description: 
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

Problem is it throws NullPointerException and export is failed.

  was:
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

 


> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Attachments: image-2024-04-11-15-15-59-551.png
>
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
> Problem is it throws NullPointerException and export is failed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-12 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Attachment: ATLAS-4847.patch

> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Attachments: ATLAS-4847.patch, image-2024-04-11-15-15-59-551.png
>
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
> Problem is it throws NullPointerException and export is failed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-12 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Attachment: (was: image-2024-04-11-15-15-59-551.png)

> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Attachments: ATLAS-4847.patch
>
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
> Problem is it throws NullPointerException and export is failed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-12 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Description: 
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

Problem is it throws NullPointerException and export is failed.

 

Application.log

2024-04-10 17:49:44,148 INFO  - [etp370869802-458 - 
76b2eeb5-22fb-4631-a99a-2567c307152a:] ~ ==> export(user=admin, from=127.0.0.1) 
(ExportService:95)
2024-04-10 17:49:44,219 INFO  - [etp370869802-458 - 
76b2eeb5-22fb-4631-a99a-2567c307152a:] ~ 
export(item=AtlasObjectId\{guid='null', typeName='hive_table', 
uniqueAttributes={qualifiedName:test_db.abc__hive_impala_table_1@cm}}; 
matchType=null, fetchType=INCREMENTAL): found 1 entities: options: 
\{"itemsToExport":[{"typeName":"hive_table","uniqueAttributes":{"qualifiedName":"test_db.abc__hive_impala_table_1@cm"}}],"options":\{"fetchType":"INCREMENTAL","changeMarker":1712751459762},"fetchTypeOptionValue":"INCREMENTAL","skipLineageOptionValue":false,"omitZipResponseForEmptyExport":false,"changeTokenFromOptions":1712751459762}
 (StartEntityFetchByExportRequest:123)
2024-04-10 17:49:44,242 ERROR - [etp370869802-458 - 
76b2eeb5-22fb-4631-a99a-2567c307152a:] ~ Operation failed:  (ExportService:103)
java.lang.{color:#de350b}NullPointerException{color}
        at 
org.apache.atlas.repository.impexp.ExportService$ExportContext.getEntitiesWithModifiedTimestamp(ExportService.java:445)
        at 
org.apache.atlas.repository.impexp.ExportService.addEntity(ExportService.java:332)
        at 
org.apache.atlas.repository.impexp.ExportService.addGlossaryEntities(ExportService.java:299)
        at 
org.apache.atlas.repository.impexp.ExportService.processEntity(ExportService.java:274)

  was:
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

Problem is it throws NullPointerException and export is failed.


> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Attachments: ATLAS-4847.patch
>
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
> Problem is it throws NullPointerException and export is failed.
>  
> Application.log
> 2024-04-10 17:49:44,148 INFO  - [etp370869802-458 - 
> 76b2eeb5-22fb-4631-a99a-2567c307152a:] ~ ==> export(user=admin, 
> from=127.0.0.1) (ExportService:95)
> 2024-04-10 17:49:44,219 INFO  - [etp370869802-458 - 
> 76b2eeb5-22fb-4631-a99a-2567c307152a:] ~ 
> export(item=AtlasObjectId\{guid='null', typeName='hive_table', 
> uniqueAttributes={qualifiedName:test_db.abc__hive_impala_table_1@cm}}; 
> matchType=null, fetchType=INCREMENTAL): found 1 entities: options: 
> \{"itemsToExport":[{"typeName":"hive_table","uniqueAttributes":{"qualifiedName":"test_db.abc__hive_impala_table_1@cm"}}],"options":\{"fetchType":"INCREMENTAL","changeMarker":1712751459762},"fetchTypeOptionValue":"INCREMENTAL","skipLineageOptionValue":false,"omitZipResponseForEmptyExport":false,"changeTokenFromOptions":1712751459762}
>  (StartEntityFetchByExportRequest:123)
> 2024-04-10 17:49:44,242 ERROR - [etp370869802-458 - 
> 76b2eeb5-22fb-4631-a99a-2567c307152a:] ~ Operation failed:  
> (ExportService:103)
> java.lang.{color:#de350b}NullPointerException{color}
>         at 
> org.apache.atlas.repository.impexp.ExportService$ExportContext.getEntitiesWithModifiedTimestamp(ExportService.java:445)
>         at 
> org.apache.atlas.repository.impexp.ExportService.addEntity(ExportService.java:332)
>         at 
> org.apache.atlas.repository.impexp.ExportService.addGlossaryEntities(ExportService.java:299)
>         at 
> org.apache.atlas.repository.impexp.ExportService.processEntity(ExportService.java:274)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-12 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Description: 
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

Problem is it throws NullPointerException and export is failed.

  was:
Steps to reproduce:

1. Create a hive_table entity and assign a term to it.
2. Perform 1st incremental export of that entity without using changeMarker.
3. Without any modification on that entity perform 2nd consecutive incremental 
export with changeMarker from previous export.

Problem is it throws NullPointerException and export is failed.

 

Application.log

2024-04-10 17:49:44,148 INFO  - [etp370869802-458 - 
76b2eeb5-22fb-4631-a99a-2567c307152a:] ~ ==> export(user=admin, from=127.0.0.1) 
(ExportService:95)
2024-04-10 17:49:44,219 INFO  - [etp370869802-458 - 
76b2eeb5-22fb-4631-a99a-2567c307152a:] ~ 
export(item=AtlasObjectId\{guid='null', typeName='hive_table', 
uniqueAttributes={qualifiedName:test_db.abc__hive_impala_table_1@cm}}; 
matchType=null, fetchType=INCREMENTAL): found 1 entities: options: 
\{"itemsToExport":[{"typeName":"hive_table","uniqueAttributes":{"qualifiedName":"test_db.abc__hive_impala_table_1@cm"}}],"options":\{"fetchType":"INCREMENTAL","changeMarker":1712751459762},"fetchTypeOptionValue":"INCREMENTAL","skipLineageOptionValue":false,"omitZipResponseForEmptyExport":false,"changeTokenFromOptions":1712751459762}
 (StartEntityFetchByExportRequest:123)
2024-04-10 17:49:44,242 ERROR - [etp370869802-458 - 
76b2eeb5-22fb-4631-a99a-2567c307152a:] ~ Operation failed:  (ExportService:103)
java.lang.{color:#de350b}NullPointerException{color}
        at 
org.apache.atlas.repository.impexp.ExportService$ExportContext.getEntitiesWithModifiedTimestamp(ExportService.java:445)
        at 
org.apache.atlas.repository.impexp.ExportService.addEntity(ExportService.java:332)
        at 
org.apache.atlas.repository.impexp.ExportService.addGlossaryEntities(ExportService.java:299)
        at 
org.apache.atlas.repository.impexp.ExportService.processEntity(ExportService.java:274)


> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Attachments: ATLAS-4847.patch, NullPointerException_stackTrace.txt
>
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
> Problem is it throws NullPointerException and export is failed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-12 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Attachment: NullPointerException_stackTrace.txt

> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Attachments: ATLAS-4847.patch, NullPointerException_stackTrace.txt
>
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
> Problem is it throws NullPointerException and export is failed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ATLAS-4847) Export/Import : Atlas export fails and throws NullPointerException.

2024-04-15 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4847:
--
Fix Version/s: 3.0.0
   2.3.0

> Export/Import : Atlas export fails and throws NullPointerException.
> ---
>
> Key: ATLAS-4847
> URL: https://issues.apache.org/jira/browse/ATLAS-4847
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Priyanshi Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Fix For: 3.0.0, 2.3.0
>
> Attachments: ATLAS-4847.patch, NullPointerException_stackTrace.txt
>
>
> Steps to reproduce:
> 1. Create a hive_table entity and assign a term to it.
> 2. Perform 1st incremental export of that entity without using changeMarker.
> 3. Without any modification on that entity perform 2nd consecutive 
> incremental export with changeMarker from previous export.
> Problem is it throws NullPointerException and export is failed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)