You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/12/17 22:57:31 UTC

[GitHub] [incubator-druid] suneet-s commented on a change in pull request #9059: Fix hadoop ingestion property handling when using indexers

suneet-s commented on a change in pull request #9059: Fix hadoop ingestion property handling when using indexers
URL: https://github.com/apache/incubator-druid/pull/9059#discussion_r359072481
 
 

 ##########
 File path: indexing-hadoop/src/main/java/org/apache/druid/indexer/JobHelper.java
 ##########
 @@ -315,11 +315,21 @@ public static void injectDruidProperties(Configuration configuration, List<Strin
     String mapJavaOpts = StringUtils.nullToEmptyNonDruidDataString(configuration.get(MRJobConfig.MAP_JAVA_OPTS));
     String reduceJavaOpts = StringUtils.nullToEmptyNonDruidDataString(configuration.get(MRJobConfig.REDUCE_JAVA_OPTS));
 
-    for (String propName : System.getProperties().stringPropertyNames()) {
 
 Review comment:
   nit: Do we want to prevent `System.getProperties()` from being used in this project?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org