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

endtime argument for VerifyReplication was incorrectly specified in usage

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 0.98.21, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Working on a customer case where the following was given for verifyrep:

      --starttime=1456790400000 \ 
      --stoptime=1456876800000
      

      Customer complained that the timestamp of a (sample) row reported as ONLY_IN_PEER_TABLE_ROWS corresponded to time outside the time range.
      The code says:

      final String endTimeArgKey = "--endtime=";
      

      It turns out that usage String was wrong:

          System.err.println("Usage: verifyrep [--starttime=X]" +
              " [--stoptime=Y] [--families=A] <peerid> <tablename>");
      

        Attachments

        1. 16045.v3.txt
          2 kB
          Ted Yu
        2. 16045.v2.txt
          2 kB
          Ted Yu
        3. 16045.v1.txt
          2 kB
          Ted Yu

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: