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

Row key for bad row should be properly delimited in VerifyReplication

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 0.98.24, 2.0.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      --delimiter= option is added to verifyrep.
      The delimiter would wrap bad rows in log output.
      Show
      --delimiter= option is added to verifyrep. The delimiter would wrap bad rows in log output.

      Description

      In logFailRowAndIncreaseCounter():

            LOG.error(counter.toString() + ", rowkey=" + Bytes.toString(row.getRow()));
      

      In some cases, the row key has trailing whitespace(s).
      The whitespace wouldn't be easily observable in the above log.

      A delimiter should be put toward the end of the log line.

        Attachments

        1. 16409.addendum
          1 kB
          Ted Yu
        2. 16409.addendum2
          0.7 kB
          Ted Yu
        3. 16409.v1.txt
          3 kB
          Ted Yu
        4. 16409.v2.txt
          3 kB
          Ted Yu

          Activity

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: