[ 
https://issues.apache.org/jira/browse/ATLAS-4994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17931220#comment-17931220
 ] 

ASF subversion and git services commented on ATLAS-4994:
--------------------------------------------------------

Commit f3bfe26b56adfacfc8aa5ea76db2751b37cbe717 in atlas's branch 
refs/heads/master from harmadasg
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=f3bfe26b5 ]

ATLAS-4994: The Atlas client should retry on HTTP 500 errors (#299)



> The Atlas client should retry on HTTP 500 errors
> ------------------------------------------------
>
>                 Key: ATLAS-4994
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4994
>             Project: Atlas
>          Issue Type: Improvement
>            Reporter: Gergely Harmadás
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently when bootstrapping the Atlas model, it's possible that the server 
> returns a 500 error, for example:
> {code:java}
> Caused by: org.apache.atlas.AtlasServiceException: Metadata service API 
> org.apache.atlas.AtlasClientV2$API_V2@145d13dc failed with status 500 
> (Internal Server Error) Response Body 
> ({"errorCode":"ATLAS-500-00-005","errorMessage":"Failed to get the lock; 
> another type update might be in progress. Please try again"})
> {code}
> which should be retried.
> This issue manifested in the atlas client within various components not 
> functioning correctly later on (since it never managed to get initialized) 
> with the error messages
> {code:java}
> 05:00:59.098 INFO [org.hw.qe.testng.ext.customlogging.TestNGListener] 
> [TestNG-tests-1] com.cloudera.qe.apiclient.model.ApiClientException: 
> {"errorCode":"ATLAS-400-00-00A","errorMessage":"schema_metadata_info: 
> Unknown/invalid typename"}
> {code}
> h2. Definition of done
>  * Change the Atlas client to include retries for 500 errors too (503 errors 
> are already retried)



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

Reply via email to