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

print gc option in hbase-env.sh affects hbase zkcli

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.0
    • Fix Version/s: 0.98.0, 0.94.6, 0.95.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I un-commented the -verbose:gc option in hbase-env.sh, which print out the gc info.
      but when I use hbase zkcli to check zk, it can not connect to the server.
      the problem is zkcli uses "hbase org.apache.hadoop.hbase.zookeeper.ZooKeeperMainServerArg" to get the server_arg in the script hbase. when gc verbose option is open, the output of ZooKeeperMainServerArg is with gc info, which masses up with server_arg. and this is the reason stop zkcli working.
      I think the easiest way to fix this is to trim the gc info out of server_arg in the hbase script.

        Attachments

        1. HBASE-7153-0.94.patch
          0.7 kB
          Dave Latham
        2. 7153-0.94.txt
          0.4 kB
          Lars Hofhansl

          Issue Links

            Activity

              People

              • Assignee:
                davelatham Dave Latham
                Reporter:
                wonderyl wonderyl
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: