Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Bigtop >> mail # dev >> Review Request: Use init script templates for HBase

Copy link to this message
Review Request: Use init script templates for Hive

This is an automatically generated e-mail. To reply, visit:

Review request for bigtop.

Hive currently has 3 distribution-specific init script templates, but this patch combines them all the use one template shared with other services. This reduces maintenance overhead now, and will make it easier to migrate to SysV-init replacements in the future.
This addresses bug BIGTOP-935.

  bigtop-packages/src/common/hive/hive-metastore.svc PRE-CREATION
  bigtop-packages/src/common/hive/hive-server.svc PRE-CREATION
  bigtop-packages/src/common/hive/hive.sh 0a61453
  bigtop-packages/src/common/hive/hive.sh.suse e079481
  bigtop-packages/src/deb/hive/install_init_scripts.sh 6c9e789
  bigtop-packages/src/deb/hive/rules 85289ca
  bigtop-packages/src/deb/hive/service-init.d.tpl 0473cbb
  bigtop-packages/src/rpm/hive/SPECS/hive.spec 2d1e2f3

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

Built and installed on Ubuntu 12, RHEL 6 and SLES 11. Started, stopped, restarted and checked status multiple times. Checked pid files, logs, process behavior, return values and environment for consistency.

Sean Mackrory