ayushtkn commented on code in PR #299:
URL: https://github.com/apache/tez/pull/299#discussion_r1250942522


##########
tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java:
##########
@@ -2296,4 +2296,12 @@ static Set<String> getPropertySet() {
   @ConfigurationProperty
   public static final String TEZ_MRREADER_CONFIG_UPDATE_PROPERTIES = 
"tez.mrreader.config.update.properties";
 
+  /**
+   *  Frequency at which thread dump should be captured.
+   */
+  @ConfigurationScope(Scope.DAG)
+  @ConfigurationProperty
+  public static final String TEZ_JOB_PERIODIC_THREAD_DUMP_FREQUENCY = 
"tez.job.periodic.thread.dump.frequency";

Review Comment:
   I changed the config name, but didn't suffix ms, as this config can take any 
time unit, 1s, 10ms anything, if you don't specify unit, it is by default ms.
   
   I am using conf.getTimeDuration for retrieving the value



-- 
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: issues-unsubscr...@tez.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to