1
0

Fix Integration test flakiness in HoodieJavaStreamingApp (#1967)

This commit is contained in:
Balaji Varadarajan
2020-08-14 01:42:15 -07:00
committed by GitHub
parent 9bde6d616c
commit b8f4a30efd
5 changed files with 37 additions and 21 deletions

View File

@@ -16,6 +16,7 @@
* limitations under the License.
*/
import org.apache.hadoop.fs.Path;
import org.apache.hudi.DataSourceReadOptions;
import org.apache.hudi.DataSourceWriteOptions;
import org.apache.hudi.HoodieDataSourceHelpers;
@@ -120,6 +121,9 @@ public class HoodieJavaApp {
dataGen = new HoodieTestDataGenerator();
}
// Explicitly clear up the hoodie table path if it exists.
fs.delete(new Path(tablePath), true);
/**
* Commit with only inserts
*/