bloomberg / chef-bach

Chef recipes for Bloomberg's deployment of Hadoop and related components
Apache License 2.0
61 stars 66 forks source link

Hive Services (Metastore, HiveServer2) doesn't come up after system restart #32

Closed amithkanand closed 9 years ago

amithkanand commented 9 years ago

Hive services metastore and hiveserver2 won't come up if the machine that has these services installed is restarted. The reason for this is that init script daemons for both the services are missing creation of /var/run/hive directory before attempting to start the service and hence causes these processes to not able to create pid files under /var/run/hive directory. In current implementation hive-server2 init script is created using this template and hive-metastore init script is created when hive-metastore package is installed from HDP 2.0 repository. To resolve this issue we need to do following:

amithkanand commented 9 years ago

Fixed in PR #36