[ 
https://issues.apache.org/jira/browse/AMBARI-22499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16263643#comment-16263643
 ] 

Hudson commented on AMBARI-22499:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #8432 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/8432/])
AMBARI-22499. Ambari server becomes unusable when config properties are 
(adoroszlai: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1d4cbc8aca2eddd0294b27755ec5769c66bf6b80])
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/state/ConfigHelperTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java


> 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
>
>         Attachments: AMBARI-22499.patch
>
>
> 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)

Reply via email to