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

RegionServerTracker should escape data in log messages

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.98.7, 0.99.1, 0.94.25
    • None
    • None
    • Reviewed

    Description

      Trivial thing I observed when testing 0.94.24RC2.

      I see a log message of the form:
      2014-10-01 13:52:35,632 INFO org.apache.hadoop.hbase.zookeeper.RegionServerTracker: Rs node: /hbase/rs/newbunny,52514,1412196754788 data: PBUο^C

      Obviously the tracker does not escape the value (or maybe it shouldn't log it in the fist place)

      Attachments

        1. 12146.094.txt
          2 kB
          Michael Stack
        2. 12146.098.txt
          4 kB
          Michael Stack
        3. 12146.txt
          15 kB
          Michael Stack

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stack Michael Stack
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment