You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/11/22 14:10:00 UTC
[jira] [Commented] (AMBARI-22499) Ambari server becomes unusable if
numeric value is specified as long
[ https://issues.apache.org/jira/browse/AMBARI-22499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16262570#comment-16262570 ]
Hadoop QA commented on AMBARI-22499:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12898849/AMBARI-22499.patch
against trunk revision .
{color:red}-1 patch{color}. Top-level [trunk compilation|https://builds.apache.org/job/Ambari-trunk-test-patch/12713//artifact/patch-work/trunkJavacWarnings.txt] may be broken.
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12713//console
This message is automatically generated.
> 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)