[ 
https://issues.apache.org/jira/browse/AMBARI-21510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Swapan Shridhar updated AMBARI-21510:
-------------------------------------
    Description: 
In one code flow, calculated value for 
*'hive.server2.tez.sessions.per.default.queue*' is not converted it to *long* 
and it ends up getting set as *float*.  This effects HSI's Hive2/HiveServer2 
alerts. 

Fixed the issue by converting calculated value to *long* before setting it.

  was:
When calculated value for *'hive.server2.tez.sessions.per.default.queue*' =1.0, 
the code flow doesn't convert it to *long* and end up getting set as *float*.  
This effects HSI's Hive2/HiveServer2 alerts. 

Fixed the issue.


> Convert calculated value for 'hive.server2.tez.sessions.per.default.queue' to 
> long before setting it.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21510
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21510
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.5.1
>            Reporter: Swapan Shridhar
>            Assignee: Swapan Shridhar
>            Priority: Critical
>             Fix For: trunk, 2.5.2
>
>         Attachments: AMBARI-21510.patch, Screen Shot 2017-07-18 at 1.38.47 
> PM.png
>
>
> In one code flow, calculated value for 
> *'hive.server2.tez.sessions.per.default.queue*' is not converted it to *long* 
> and it ends up getting set as *float*.  This effects HSI's Hive2/HiveServer2 
> alerts. 
> Fixed the issue by converting calculated value to *long* before setting it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to