[HUDI-544] Archived commits command code cleanup (#1242)
* Archived commits command code cleanup
This commit is contained in:
@@ -132,6 +132,13 @@ public class ITTestHoodieSanity extends ITTestBase {
|
||||
String hdfsPath = "/" + hiveTableName;
|
||||
String hdfsUrl = HDFS_BASE_URL + hdfsPath;
|
||||
|
||||
// Delete hdfs path if it exists
|
||||
try {
|
||||
executeCommandStringInDocker(ADHOC_1_CONTAINER, "hdfs dfs -rm -r " + hdfsUrl, true);
|
||||
} catch (AssertionError ex) {
|
||||
// Path not exists, pass
|
||||
}
|
||||
|
||||
// Drop Table if it exists
|
||||
try {
|
||||
dropHiveTables(hiveTableName, tableType);
|
||||
|
||||
Reference in New Issue
Block a user