5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 04:29:59 +08:00

S3 is removed from the parameter names in CloudImportJobTestCase.

This commit is contained in:
Szabolcs Vasas 2019-01-15 14:14:23 +01:00
parent 6b329762c2
commit 511d3f9565

View File

@ -170,17 +170,17 @@ protected void insertInputDataIntoTableForMerge(List<List<Object>> inputData) {
insertRecordsIntoTableWithColTypesAndNames(dataSet.getColumnNamesForMerge(), dataSet.getColumnTypesForMerge(), inputData);
}
protected void failIfOutputFilePathContainingPatternExists(FileSystem s3Client, Path targetDirPath, String pattern) throws IOException {
protected void failIfOutputFilePathContainingPatternExists(FileSystem cloudFileSystem, Path targetDirPath, String pattern) throws IOException {
List<Path> outputFilesWithPathContainingPattern = FileSystemUtil.findFilesWithPathContainingPattern(targetDirPath,
s3Client.getConf(), pattern);
cloudFileSystem.getConf(), pattern);
if (outputFilesWithPathContainingPattern.size() != 0) {
fail("No output file was expected with pattern" + pattern);
}
}
protected void failIfOutputFilePathContainingPatternDoesNotExists(FileSystem s3Client, Path targetDirPath, String pattern) throws IOException {
protected void failIfOutputFilePathContainingPatternDoesNotExists(FileSystem cloudFileSystem, Path targetDirPath, String pattern) throws IOException {
List<Path> outputFilesWithPathContainingPattern = FileSystemUtil.findFilesWithPathContainingPattern(targetDirPath,
s3Client.getConf(), pattern);
cloudFileSystem.getConf(), pattern);
if (outputFilesWithPathContainingPattern.size() == 0) {
fail("No output file was found with pattern" + pattern);
}