HADOOP-18360. Update commons-csv from 1.0 to 1.9.0. (#4928). Contributed by fanshilun.

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
slfan1989 2022-10-13 14:40:54 +08:00 committed by Ayush Saxena
parent 12feeae983
commit 09a4f5a4e7
No known key found for this signature in database
GPG Key ID: D09AE71061AB564D
4 changed files with 4 additions and 4 deletions

View File

@ -310,7 +310,7 @@ org.apache.avro:avro:1.7.7
org.apache.commons:commons-collections4:4.2 org.apache.commons:commons-collections4:4.2
org.apache.commons:commons-compress:1.21 org.apache.commons:commons-compress:1.21
org.apache.commons:commons-configuration2:2.8.0 org.apache.commons:commons-configuration2:2.8.0
org.apache.commons:commons-csv:1.0 org.apache.commons:commons-csv:1.9.0
org.apache.commons:commons-digester:1.8.1 org.apache.commons:commons-digester:1.8.1
org.apache.commons:commons-lang3:3.12.0 org.apache.commons:commons-lang3:3.12.0
org.apache.commons:commons-math3:3.1.1 org.apache.commons:commons-math3:3.1.1

View File

@ -118,7 +118,7 @@
<commons-codec.version>1.15</commons-codec.version> <commons-codec.version>1.15</commons-codec.version>
<commons-collections.version>3.2.2</commons-collections.version> <commons-collections.version>3.2.2</commons-collections.version>
<commons-compress.version>1.21</commons-compress.version> <commons-compress.version>1.21</commons-compress.version>
<commons-csv.version>1.0</commons-csv.version> <commons-csv.version>1.9.0</commons-csv.version>
<commons-io.version>2.8.0</commons-io.version> <commons-io.version>2.8.0</commons-io.version>
<commons-lang3.version>3.12.0</commons-lang3.version> <commons-lang3.version>3.12.0</commons-lang3.version>
<commons-logging.version>1.1.3</commons-logging.version> <commons-logging.version>1.1.3</commons-logging.version>

View File

@ -93,7 +93,7 @@ public class FileSystemTimelineReaderImpl extends AbstractService
private static final String STORAGE_DIR_ROOT = "timeline_service_data"; private static final String STORAGE_DIR_ROOT = "timeline_service_data";
private final CSVFormat csvFormat = private final CSVFormat csvFormat =
CSVFormat.DEFAULT.withHeader("APP", "USER", "FLOW", "FLOWRUN"); CSVFormat.Builder.create().setHeader("APP", "USER", "FLOW", "FLOWRUN").build();
public FileSystemTimelineReaderImpl() { public FileSystemTimelineReaderImpl() {
super(FileSystemTimelineReaderImpl.class.getName()); super(FileSystemTimelineReaderImpl.class.getName());

View File

@ -74,7 +74,7 @@ public static void initializeDataDirectory(String rootDir) throws Exception {
loadEntityData(rootDir); loadEntityData(rootDir);
// Create app flow mapping file. // Create app flow mapping file.
CSVFormat format = CSVFormat format =
CSVFormat.DEFAULT.withHeader("APP", "USER", "FLOW", "FLOWRUN"); CSVFormat.Builder.create().setHeader("APP", "USER", "FLOW", "FLOWRUN").build();
String appFlowMappingFile = rootDir + File.separator + "entities" + String appFlowMappingFile = rootDir + File.separator + "entities" +
File.separator + "cluster1" + File.separator + File.separator + "cluster1" + File.separator +
FileSystemTimelineReaderImpl.APP_FLOW_MAPPING_FILE; FileSystemTimelineReaderImpl.APP_FLOW_MAPPING_FILE;