-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54444/
-----------------------------------------------------------

Review request for Ambari, Alejandro Fernandez and Sumit Mohanty.


Bugs: AMBARI-19116
    https://issues.apache.org/jira/browse/AMBARI-19116


Repository: ambari


Description
-------

- Currently, hive2/HiveServer2 (HSI) heap size is ket same as that of 
hive/HiveServer2.

**Required:**
- Hive2/HiveServer2 (HSI) heap size calculations to be based on LLAP 
concurrency.

 = min(max(2GB, 400*LLAP concurrency (Tez sessions)), 3/8 * <HS2 host total 
RAM>)


**Side fix:** 
Also, updated "hive.llap.daemon.queue.name" and 
"hive.server2.tez.default.queues" config values to one of the existing leaf 
queues, in case of HSI being turned on and config values have queue names which 
no more exist. The scenario can happen when, say :
- HSI was ON and the above 2 configs has queue name 'XYZ'. 
- HSI was then turned off.
- Capacity Scheduler queues were changed and 'XYZ' queue was deleted.
- The above configs without this fix will otherwise show stale/non-existing 
queue name.


Diffs
-----

  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
 8df6ba7 
  
ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-env.xml
 6e93f58 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 
df2faeb 

Diff: https://reviews.apache.org/r/54444/diff/


Testing
-------

Yes, manually tested on cluster.
Jenkins ongoing.


Thanks,

Swapan Shridhar

Reply via email to