[MINOR] Remove unused imports and some other checkstyle issues (#2800)
This commit is contained in:
@@ -77,7 +77,7 @@ public class HoodieTestHiveBase extends ITTestBase {
|
||||
tableType, hiveTableName, commitType, hoodieTableName);
|
||||
if (partitionType == PartitionType.MULTI_KEYS_PARTITIONED) {
|
||||
cmd = cmd + " --use-multi-partition-keys";
|
||||
} else if (partitionType == PartitionType.NON_PARTITIONED){
|
||||
} else if (partitionType == PartitionType.NON_PARTITIONED) {
|
||||
cmd = cmd + " --non-partitioned";
|
||||
}
|
||||
executeCommandStringInDocker(ADHOC_1_CONTAINER, cmd, true);
|
||||
|
||||
@@ -166,7 +166,7 @@ public abstract class ITTestBase {
|
||||
// try to capture stdout and stderr of the stuck process.
|
||||
|
||||
boolean completed =
|
||||
dockerClient.execStartCmd(createCmdResponse.getId()).withDetach(false).withTty(false).exec(callback)
|
||||
dockerClient.execStartCmd(createCmdResponse.getId()).withDetach(false).withTty(false).exec(callback)
|
||||
.awaitCompletion(540, SECONDS);
|
||||
if (!completed) {
|
||||
callback.getStderr().flush();
|
||||
|
||||
@@ -28,7 +28,6 @@ import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ package org.apache.hudi.integ.testsuite.converter;
|
||||
|
||||
import static junit.framework.TestCase.assertTrue;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
Reference in New Issue
Block a user