Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-387

hbase-config.sh not using the right pid file

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: CDH3u1, CDH3u3
    • Fix Version/s: None
    • Component/s: HBase
    • Labels:
      None
    • Environment:
      Centos 5.5 and Scientific Linux 6.2

      Description

      I've actually posted to the mailing list about this already and decided to open a ticket in the meantime: https://groups.google.com/a/cloudera.org/group/cdh-user/browse_thread/thread/2d9065695cde385a

      The short version is that the hbase-config.sh defaults to using '/tmp' as the pid directory while the init scripts packaged with CDH3 are sourcing '/etc/defaults/hbase' which puts the pid files under '/var/run/hase'. This causes scripts such a '/usr/lib/hbase/bin/graceful_stop.sh' to not function since it's looking in the wrong place for the pid file.

      One fix is to source the '/etc/defaults/hbase' file in the '/usr/lib/hbase/bin/hbase-config.sh' script as shown here – http://paste.org/48352

        Attachments

          Activity

            People

            • Assignee:
              matteo.bertozzi Matteo Bertozzi
              Reporter:
              geoff@geoffreyanderson.net Geoffrey Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: