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

[0.92 UNIT TESTS] TestReplication.queueFailover occasionally fails [Part-2]

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

    Details

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

      Description

      The failure is in TestReplication.queueFailover (fails due to unreplicated rows). I have come across two problems:
      1. The sleepMultiplier is not properly reset when the currentPath is changed (in ReplicationSource.java).
      2. ReplicationExecutor sometime removes files to replicate from the queue too early, resulting in corresponding edits missing. Here the problem is due to the fact the log-file length that the replication executor finds is not the most updated one, and hence it doesn't read anything from there, and ultimately, when there is a log roll, the replication-queue gets a new entry, and the executor drops the old entry out of the queue.

        Attachments

        1. 6733-1.patch
          1 kB
          Devaraj Das
        2. 6733-2.patch
          0.9 kB
          Devaraj Das
        3. 6733-3.patch
          1 kB
          Devaraj Das
        4. HBASE-6733-0.94.patch
          1 kB
          Sergey Shelukhin

          Activity

            People

            • Assignee:
              ddas Devaraj Das
              Reporter:
              ddas Devaraj Das

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment