samarthjain commented on code in PR #13624:
URL: https://github.com/apache/druid/pull/13624#discussion_r1065231132


##########
indexing-hadoop/src/main/java/org/apache/druid/indexer/HadoopIngestionSpec.java:
##########
@@ -69,6 +73,7 @@ public HadoopIngestionSpec(
     this.ioConfig = ioConfig;
     this.tuningConfig = tuningConfig == null ? 
HadoopTuningConfig.makeDefaultTuningConfig() : tuningConfig;
     this.uniqueId = uniqueId == null ? UUIDUtils.generateUuid() : uniqueId;
+    this.context = context == null ? new HashMap<>() : new HashMap<>(context);

Review Comment:
   @maytasm and I discussed offline and we agreed that to match with other 
batch ingestion methodologies,  context could be set as an empty mutable map. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to