[jira] [Commented] (YARN-10266) Setting debug delay to a too high number will cause NM fail to start
[ https://issues.apache.org/jira/browse/YARN-10266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17149311#comment-17149311 ] Adam Antal commented on YARN-10266: --- I agree [~BilwaST]. It makes no sense to handle this exception in this particular case. Since we're using Java-internal methods I don't think there's much to do. Closing this. > Setting debug delay to a too high number will cause NM fail to start > > > Key: YARN-10266 > URL: https://issues.apache.org/jira/browse/YARN-10266 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn >Affects Versions: 3.3.0 >Reporter: Adam Antal >Priority: Trivial > Labels: newbie > > If I set some inappropriate number for > {{yarn.nodemanager.delete.debug-delay-sec}}, I'd rather have functional nM > with some ERROR messages in the log stating that it has been disabled due to > illegal argument, than to have a failed NM. > Stack trace: > {noformat} > java.lang.NumberFormatException: For input string: "999" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Integer.parseInt(Integer.java:583) > at java.lang.Integer.parseInt(Integer.java:615) > at org.apache.hadoop.conf.Configuration.getInt(Configuration.java:1509) > at > org.apache.hadoop.yarn.server.nodemanager.DeletionService.serviceInit(DeletionService.java:179) > at > org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) > at > org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108) > at > org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:478) > at > org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) > at > org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:936) > at > org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:1016) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-10266) Setting debug delay to a too high number will cause NM fail to start
[ https://issues.apache.org/jira/browse/YARN-10266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108043#comment-17108043 ] Bilwa S T commented on YARN-10266: -- Hi [~adam.antal] Thanks for raising this issue. This makes sense but in yarn nowhere exceptions are handled for inputs like this. only validation is done for boundary conditions. > Setting debug delay to a too high number will cause NM fail to start > > > Key: YARN-10266 > URL: https://issues.apache.org/jira/browse/YARN-10266 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn >Affects Versions: 3.3.0 >Reporter: Adam Antal >Assignee: Bilwa S T >Priority: Trivial > Labels: newbie > > If I set some inappropriate number for > {{yarn.nodemanager.delete.debug-delay-sec}}, I'd rather have functional nM > with some ERROR messages in the log stating that it has been disabled due to > illegal argument, than to have a failed NM. > Stack trace: > {noformat} > java.lang.NumberFormatException: For input string: "999" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Integer.parseInt(Integer.java:583) > at java.lang.Integer.parseInt(Integer.java:615) > at org.apache.hadoop.conf.Configuration.getInt(Configuration.java:1509) > at > org.apache.hadoop.yarn.server.nodemanager.DeletionService.serviceInit(DeletionService.java:179) > at > org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) > at > org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108) > at > org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:478) > at > org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) > at > org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:936) > at > org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:1016) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org