snleee commented on a change in pull request #6094:
URL: https://github.com/apache/incubator-pinot/pull/6094#discussion_r517861506



##########
File path: 
pinot-common/src/main/java/org/apache/pinot/common/utils/FileUploadDownloadClient.java
##########
@@ -148,6 +153,23 @@ public static URI 
getRetrieveAllSegmentWithTableTypeHttpUri(String host, int por
         rawTableName + TYPE_DELIMITER + tableType));
   }
 
+  public static URI getStartReplaceSegmentsURI(URI controllerURI, String 
rawTableName, String tableType)
+      throws URISyntaxException {
+    return new URI(StringUtil.join("/", StringUtils
+            .chomp(controllerURI.getScheme() + "://" + controllerURI.getHost() 
+ ":" + controllerURI.getPort(), "/"),
+        OLD_SEGMENT_PATH, rawTableName + START_REPLACE_SEGMENTS_PATH + 
TYPE_DELIMITER + tableType));
+  }
+
+  public static URI getEndReplaceSegmentsURI(URI controllerURI, String 
rawTableName, String tableType,
+      String segmentLineageEntryId)
+      throws URISyntaxException {
+    return new URI(StringUtil.join("/", StringUtils

Review comment:
       same error as above




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to