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

Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
-------

Ambari installs are missing the the Linux configuration files for the open-
files/max-processes for HiveServer2.

In comparison HDFS ships such a required file

/etc/security/limits.d/hdfs.conf

which contains the ulimit exceptions for nofile/nproc variables (similar to
the ones listed in this doc item)

<https://ambari.apache.org/1.2.0/installing-hadoop-using-ambari/content
/ambari-chap5-3-1.html>

An equivalent /etc/security/limits.d/hive.conf is required for HiveServer2 to
avoid similar issues.

This is a purely installed issue, with no corresponding Hive changes in
Apache.


Diffs
-----

  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
 c988bb2 
  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params.py
 913e0f5 
  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/templates/hive.conf.j2
 PRE-CREATION 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_client.py ef289d7 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_metastore.py 
9698bae 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py f0d6d7a 
  ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py ae0acec 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to