[
https://issues.apache.org/jira/browse/ATLAS-2895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16629506#comment-16629506
]
Madhan Neethiraj commented on ATLAS-2895:
-----------------------------------------
Replace:
{code} return (splits != null && splits.length == 2) ? splits[1] : splits[0];
{code}
With:
{code}
if (splits == null || splits.length < 1) {
return "";
} else if (splits.length >= 2) {
return splits[1];
} else {
return splits[0];
}
{code}
> $ , null characters as replicatedTo value on export.
> ----------------------------------------------------
>
> Key: ATLAS-2895
> URL: https://issues.apache.org/jira/browse/ATLAS-2895
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Reporter: Sharmadha Sainath
> Assignee: Ashutosh Mestry
> Priority: Minor
> Attachments: ATLAS-2895-Server-full-name-processing.patch
>
>
> 1. When the replicatedTo value is set to value that contains "$" in it ,
> cluster name is set incorrectly.
> Example : data_centre$1SFO$cl2
> On exporting , target cluster name is created as 1SFO
> 2. When replicatedTo is set to "$cl2", "Array out of bounds exception" is
> seen . Export happens successfully and 200 is returned, but Export Import
> audits are not created.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)