bloomberg / chef-bach

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

Template hv_hive-server2.erb has incorrect command to start hive-server2 #18

Closed amithkanand closed 9 years ago

amithkanand commented 9 years ago

In template hv_hive-server2.erb, hiveserver2 command is being used to start the hive-server2 process. The start-stop-daemon is passing parameters to hiveserver2 that are not required as hiveserver2 doesn't accept any parameters. This results in script failure resulting in hive-server2 process not started at all.

One of the following approach can be used to fix the issue:

  1. Replace hiveserver2 command with hive comamnd OR
  2. Remove parameters for hive server from start-stop-daemon command line option
amithkanand commented 9 years ago

Fixed in PR #36