[
https://issues.apache.org/jira/browse/HIVE-23955?focusedWorklogId=467450&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-467450
]
ASF GitHub Bot logged work on HIVE-23955:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Aug/20 17:35
Start Date: 06/Aug/20 17:35
Worklog Time Spent: 10m
Work Description: pkumarsinha commented on a change in pull request #1358:
URL: https://github.com/apache/hive/pull/1358#discussion_r466576634
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/AtlasDumpTask.java
##########
@@ -196,12 +203,14 @@ private String checkHiveEntityGuid(AtlasRequestBuilder
atlasRequestBuilder, Stri
AtlasObjectId objectId = atlasRequestBuilder.getItemToExport(clusterName,
srcDb);
Set<Map.Entry<String, Object>> entries =
objectId.getUniqueAttributes().entrySet();
if (entries == null || entries.isEmpty()) {
- throw new SemanticException("Could find entries in objectId for:" +
clusterName);
+ throw new
SemanticException(ErrorMsg.REPL_INVALID_CONFIG_FOR_SERVICE.format("Could find "
+
+ "entries in objectId for:" + clusterName, "atlas"));
Review comment:
was referring to "atlas" part here and in other places like "ranger",
"hive" . Should we have one const defined per service and use that in stead?,
something like:
final String ReplUtils.ATLAS_SVC = "atlas";
ErrorMsg.REPL_INVALID_CONFIG_FOR_SERVICE.format("Could find " +
"entries in objectId for:" + clusterName, ReplUtils.ATLAS_SVC);
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 467450)
Time Spent: 1h 20m (was: 1h 10m)
> Classification of Error Codes in Replication
> --------------------------------------------
>
> Key: HIVE-23955
> URL: https://issues.apache.org/jira/browse/HIVE-23955
> Project: Hive
> Issue Type: Task
> Reporter: Aasha Medhi
> Assignee: Aasha Medhi
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-23955.01.patch, HIVE-23955.02.patch, Retry Logic
> for Replication.pdf
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)