HBase
  1. HBase
  2. HBASE-7153

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          Lars Hofhansl made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Dave Latham made changes -
          Link This issue relates to HBASE-8025 [ HBASE-8025 ]
          Lars Hofhansl made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Resolution Fixed [ 1 ]
          Lars Hofhansl made changes -
          Assignee Dave Latham [ davelatham ]
          Lars Hofhansl made changes -
          Attachment 7153-0.94.txt [ 12572489 ]
          Dave Latham made changes -
          Fix Version/s 0.95.0 [ 12324094 ]
          Fix Version/s 0.98.0 [ 12323143 ]
          Fix Version/s 0.94.6 [ 12323907 ]
          Dave Latham made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Dave Latham made changes -
          Attachment HBASE-7153-0.94.patch [ 12572255 ]
          Dave Latham made changes -
          Field Original Value New Value
          Link This issue relates to HBASE-7091 [ HBASE-7091 ]
          wonderyl created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development