Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line numberDiff line numberDiff line change
Expand Up@@ -698,7 +698,7 @@ public static ReplicaAllocation analyzeReplicaAllocation(Map<String, String> pro
if (!parts[0].startsWith(TAG_LOCATION)) {
throw new AnalysisException("Invalid replication allocation tag property: " + location);
}
String locationVal = parts[0].substring(TAG_LOCATION.length() + 1); // +1 to skip dot.
String locationVal = parts[0].replace(TAG_LOCATION, "").replace(".", "");
if (Strings.isNullOrEmpty(locationVal)) {
throw new AnalysisException("Invalid replication allocation location tag property: " + location);
}
Expand Down