You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/09/21 04:14:00 UTC
[jira] [Commented] (ATLAS-4431) Random NPE when retrieving tasks
[ https://issues.apache.org/jira/browse/ATLAS-4431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417903#comment-17417903 ]
ASF subversion and git services commented on ATLAS-4431:
--------------------------------------------------------
Commit e57204bd55d27f258c19e7334c10cc4802cf14c7 in atlas's branch refs/heads/master from Disha Talreja
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=e57204b ]
ATLAS-4431: Add additional null check when retrieving tasks from vertex
Signed-off-by: Sarath Subramanian <sa...@apache.org>
> Random NPE when retrieving tasks
> --------------------------------
>
> Key: ATLAS-4431
> URL: https://issues.apache.org/jira/browse/ATLAS-4431
> Project: Atlas
> Issue Type: Bug
> Components: atlas-intg
> Reporter: Disha Talreja
> Assignee: Disha Talreja
> Priority: Major
> Attachments: ATLAS-4431.patch
>
>
> System tests fail randomly because retrieving tasks using the "admin/tasks" endpoint sometimes returns HTTP 500.
> Atlas logs:
> {noformat}
> 2021-09-06 13:51:28,938 INFO - [etp985324122-24:] ~ Logged into Atlas as = hrt_qa, by proxyUser = null (AtlasAuthenticationFilter$KerberosFilterChainWrapper:724)
> 2021-09-06 13:51:28,939 INFO - [etp985324122-24:knox:POST/api/atlas/v2/entity/bulk/classification] ~ Request from authenticated user: knox, URL=/api/atlas/v2/entity/bulk/classification?doAs=hrt_qa (AtlasAuthenticationFilter$KerberosFilterChainWrapper:739)
> 2021-09-06 13:51:28,969 INFO - [etp985324122-24 - 78a12f6b-7472-4600-a35d-bfe660358712:knox:POST/api/atlas/v2/entity/bulk/classification] ~ updateClassificationText: tag_iuanl: tag_iuanl date Mon Sep 06 13:51:28 UTC 2021 hive_principal_type USER boolean true string XXJid byte -58 double 9.475147275250526E37 arr_string fEOKO short -29141 arr_int 781216025 float -3.09E38 int 1369026004 long -2808157562510626816 (EntityGraphMapper:2732)
> 2021-09-06 13:51:29,173 INFO - [etp985324122-24 - 78a12f6b-7472-4600-a35d-bfe660358712:knox:POST/api/atlas/v2/entity/bulk/classification] ~ {"type":"CLASSIFICATION_PROPAGATION_ADD","guid":"a4ed45a8-cc15-41dd-9340-ebaca95b07f1","createdBy":"hrt_qa","createdTime":1630936288947,"updatedTime":1630936288947,"parameters":{"relationshipGuid":null,"entityGuid":"5c89916f-9dbc-4be8-afd5-9e7659bbb745","classificationVertexId":"44486696"},"attemptCount":0,"status":"PENDING"} (TaskExecutor$TaskLogger:170)
> 2021-09-06 13:51:29,190 INFO - [atlas-task-0-etp985324122-24 - c6aa9190-8454-43a4-a862-1f61393994a6:] ~ updateClassificationText: tag_iuanl: tag_iuanl date Mon Sep 06 13:51:28 UTC 2021 hive_principal_type USER boolean true string XXJid byte -58 double 9.475147275250526E37 arr_string fEOKO short -29141 arr_int 781216025 float -3.09E38 int 1369026004 long -2808157562510626816 (EntityGraphMapper:2732)
> 2021-09-06 13:51:29,193 INFO - [atlas-task-0-etp985324122-24 - c6aa9190-8454-43a4-a862-1f61393994a6:] ~ updateClassificationText: tag_iuanl: tag_iuanl date Mon Sep 06 13:51:28 UTC 2021 hive_principal_type USER boolean true string XXJid byte -58 double 9.475147275250526E37 arr_string fEOKO short -29141 arr_int 781216025 float -3.09E38 int 1369026004 long -2808157562510626816 (EntityGraphMapper:2732)
> 2021-09-06 13:51:29,366 ERROR - [etp985324122-594:] ~ URL not supported in HA mode: /api/atlas/admin/tasks (ActiveServerFilter:121)
> 2021-09-06 13:51:29,366 INFO - [etp985324122-594:] ~ Logged into Atlas as = hrt_qa, by proxyUser = null (AtlasAuthenticationFilter$KerberosFilterChainWrapper:724)
> 2021-09-06 13:51:29,366 INFO - [etp985324122-594:knox:GET/api/atlas/admin/tasks] ~ Request from authenticated user: knox, URL=/api/atlas/admin/tasks?doAs=hrt_qa (AtlasAuthenticationFilter$KerberosFilterChainWrapper:739)
> 2021-09-06 13:51:29,375 ERROR - [etp985324122-594 - 73d22020-c612-4a00-8f47-b2ebd149e976:knox:GET/api/atlas/admin/tasks] ~ Error handling a request: f1318c48aa5440a9 (ExceptionMapperUtil:32)
> java.lang.NullPointerException
> at org.apache.atlas.tasks.TaskRegistry.toAtlasTask(TaskRegistry.java:188)
> at org.apache.atlas.tasks.TaskRegistry.getAll(TaskRegistry.java:155)
> at org.apache.atlas.tasks.TaskManagement.getAll(TaskManagement.java:120)
> at org.apache.atlas.web.resources.AdminResource.getTaskStatus(AdminResource.java:772)
> at jdk.internal.reflect.GeneratedMethodAccessor324.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
> at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
> at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> ...
> at java.base/java.lang.Thread.run(Thread.java:834)
> 2021-09-06 13:51:29,410 INFO - [atlas-task-0-etp985324122-24 - c6aa9190-8454-43a4-a862-1f61393994a6:] ~ {"type":"CLASSIFICATION_PROPAGATION_ADD","guid":"a4ed45a8-cc15-41dd-9340-ebaca95b07f1","createdBy":"hrt_qa","createdTime":1630936288947,"updatedTime":1630936288947,"endTime":1630936289260,"parameters":{"relationshipGuid":null,"entityGuid":"5c89916f-9dbc-4be8-afd5-9e7659bbb745","classificationVertexId":"44486696"},"attemptCount":0,"status":"COMPLETE"} (TaskExecutor$TaskLogger:170)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)