You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/11/22 12:52:00 UTC
[jira] [Created] (AMBARI-22499) Ambari server becomes unusable if
numeric value is specified as long
Doroszlai, Attila created AMBARI-22499:
------------------------------------------
Summary: Ambari server becomes unusable if numeric value is specified as long
Key: AMBARI-22499
URL: https://issues.apache.org/jira/browse/AMBARI-22499
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 3.0.0
Reporter: Doroszlai, Attila
Assignee: Doroszlai, Attila
Priority: Blocker
Fix For: 3.0.0
Configure numeric property (eg. {{hive.compactor.worker.timeout}}) with value specified as {{long}} (eg. {{86400L}}). Ambari UI becomes unresponsive due to being flooded of the following exception:
{noformat}
17 Nov 2017 13:32:29,464 WARN [ambari-hearbeat-monitor] HeartbeatMonitor:130 - Exception received
java.lang.NumberFormatException: For input string: "86400L"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at org.apache.ambari.server.state.ConfigHelper.valuesAreEqual(ConfigHelper.java:1515)
at org.apache.ambari.server.state.ConfigHelper.findChangedKeys(ConfigHelper.java:1497)
at org.apache.ambari.server.state.ConfigHelper.calculateIsStaleConfigs(ConfigHelper.java:1352)
at org.apache.ambari.server.state.ConfigHelper.isStaleConfigs(ConfigHelper.java:476)
at org.apache.ambari.server.state.ConfigHelper.isStaleConfigs(ConfigHelper.java:470)
at org.apache.ambari.server.agent.HeartbeatMonitor.createStatusCommand(HeartbeatMonitor.java:317)
at org.apache.ambari.server.agent.HeartbeatMonitor.generateStatusCommands(HeartbeatMonitor.java:225)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)