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

Hbase leaves some unnecessary directories and symlinks when being uninstalled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH3u0
    • Fix Version/s: CDH3u2
    • Component/s: HBase, Packaging
    • Labels:
      None
    • Environment:
      CentOS5
    • Release Note:
      As per request, we got rid of /usr/lib/hbase/[pid|lib] which doesn't seem to cause any problems, but could be worth mentioning.

      Description

      [root@localhost test]# yum list "hbase"
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile

      • addons: mirror.nwresd.org
      • base: mirror.stanford.edu
      • epel: linux.mirrors.es.net
      • extras: mirror.nwresd.org
      • updates: linux.mirrors.es.net
        Available Packages
        hadoop-hbase.noarch 0.90.1+15.18-1 cloudera-rc
        hadoop-hbase-doc.noarch 0.90.1+15.18-1 cloudera-rc
        hadoop-hbase-master.noarch 0.90.1+15.18-1 cloudera-rc
        hadoop-hbase-regionserver.noarch 0.90.1+15.18-1 cloudera-rc
        hadoop-hbase-thrift.noarch 0.90.1+15.18-1 cloudera-rc

      [root@localhost test]# rpm -qf /usr/lib/hbase/
      file /usr/lib/hbase is not owned by any package

      [root@localhost test]# ls /usr/lib/hbase/
      logs pids

      [root@localhost test]# ls /usr/lib/hbase/logs/
      hbase-hbase-master-localhost.localdomain.log hbase-hbase-regionserver-localhost.localdomain.log hbase-hbase-thrift-localhost.localdomain.log
      hbase-hbase-master-localhost.localdomain.out hbase-hbase-regionserver-localhost.localdomain.out hbase-hbase-thrift-localhost.localdomain.out
      hbase-hbase-master-localhost.localdomain.out.1 hbase-hbase-regionserver-localhost.localdomain.out.1 hbase-hbase-thrift-localhost.localdomain.out.1
      hbase-hbase-master-localhost.localdomain.out.2 hbase-hbase-regionserver-localhost.localdomain.out.2 hbase-hbase-thrift-localhost.localdomain.out.2
      hbase-hbase-master-localhost.localdomain.out.3 hbase-hbase-regionserver-localhost.localdomain.out.3 hbase-hbase-thrift-localhost.localdomain.out.3
      hbase-hbase-master-localhost.localdomain.out.4 hbase-hbase-regionserver-localhost.localdomain.out.4 hbase-hbase-thrift-localhost.localdomain.out.4
      hbase-hbase-master-localhost.localdomain.out.5 hbase-hbase-regionserver-localhost.localdomain.out.5 hbase-hbase-thrift-localhost.localdomain.out.5

      [root@localhost test]# ls -al /usr/lib/hbase/
      total 20
      drwxr-xr-x 2 hbase hbase 4096 Mar 28 18:18 .
      drwxr-xr-x 39 root root 12288 Mar 28 19:09 ..
      lrwxrwxrwx 1 root root 14 Mar 28 18:17 logs -> /var/log/hbase
      lrwxrwxrwx 1 root root 14 Mar 28 18:17 pids -> /var/run/hbase

        Attachments

          Activity

            People

            • Assignee:
              rvs Roman V Shaposhnik
              Reporter:
              bruno Bruno Mahé
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: