[HUDI-629]: Replace Guava's Hashing with an equivalent in NumericUtils.java (#1350)
* [HUDI-629]: Replace Guava's Hashing with an equivalent in NumericUtils.java
This commit is contained in:
@@ -28,13 +28,13 @@ import org.apache.hudi.common.table.timeline.dto.InstantDTO;
|
||||
import org.apache.hudi.common.table.timeline.dto.TimelineDTO;
|
||||
import org.apache.hudi.common.table.view.FileSystemViewManager;
|
||||
import org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView;
|
||||
import org.apache.hudi.common.util.ValidationUtils;
|
||||
import org.apache.hudi.timeline.service.handlers.BaseFileHandler;
|
||||
import org.apache.hudi.timeline.service.handlers.FileSliceHandler;
|
||||
import org.apache.hudi.timeline.service.handlers.TimelineHandler;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.google.common.base.Preconditions;
|
||||
import io.javalin.Context;
|
||||
import io.javalin.Handler;
|
||||
import io.javalin.Javalin;
|
||||
@@ -339,7 +339,7 @@ public class FileSystemViewHandler {
|
||||
+ " but server has the following timeline "
|
||||
+ viewManager.getFileSystemView(context.queryParam(RemoteHoodieTableFileSystemView.BASEPATH_PARAM))
|
||||
.getTimeline().getInstants().collect(Collectors.toList());
|
||||
Preconditions.checkArgument(!isLocalViewBehind(context), errMsg);
|
||||
ValidationUtils.checkArgument(!isLocalViewBehind(context), errMsg);
|
||||
long endFinalCheck = System.currentTimeMillis();
|
||||
finalCheckTimeTaken = endFinalCheck - beginFinalCheck;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user