Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14075

HBaseClusterManager should use port(if given) to find pid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • None
    • None
    • None
    • None

    Description

      This issue is found while we run ITBLL in distributed cluster. Our testing env is kind of special that we run multiple regionserver instance on a single physical machine, so

      ps -ef | grep proc_regionserver

      will return more than one line, thus cause the tool might check/kill the wrong process

      Actually in HBaseClusterManager we already introduce port as a parameter for methods like isRunning, kill, etc. So the only thing to do here is to get pid through port if port is given

      Attachments

        1. HBASE-14075-master_v7.patch
          6 kB
          Yu Li
        2. HBASE-14075-master_v6.patch
          39 kB
          Yu Li
        3. HBASE-14075-master_v5.patch
          39 kB
          Yu Li
        4. HBASE-14075-master_v4.patch
          37 kB
          Yu Li
        5. HBASE-14075-master_v3.patch
          37 kB
          Yu Li
        6. HBASE-14075-master_v2.patch
          37 kB
          Yu Li
        7. HBASE-14075.patch
          3 kB
          Yu Li

        Activity

          People

            Unassigned Unassigned
            liyu Yu Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: