static BlobId getBlobIdFromString(String blobIdStr, ClusterMap clusterMap) throws RestServiceException {
    try {
      return new BlobId(blobIdStr, clusterMap);
    } catch (Exception e) {
      throw new RestServiceException("Invalid blob id=" + blobIdStr, RestServiceErrorCode.BadRequest);
    }
  }
Fetches {@link BlobId} from the given string representation of BlobId
@param blobIdStr string representation of BlobId
@param clusterMap {@link ClusterMap} instance to use
@return the {@link BlobId} thus generated
@throws RestServiceException on invalid blobId
ambry-frontend/src/main/java/com/github/ambry/frontend/FrontendUtils.java