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

Backport HBASE-3890 'Scheduled tasks in distributed log splitting not in sync with ZK' to 0.94

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.13
    • None
    • None
    • Reviewed

    Description

      HBASE-3890 was fixed in 0.96 and trunk. This issue is to backport to 0.94

      Note that there must be more slightly off here. Although the splitlogs znode is now empty the master is still stuck here:

      Doing distributed log split in hdfs://localhost:8020/hbase/.logs/10.0.0.65,60020,1305406356765	
      - Waiting for distributed tasks to finish. scheduled=2 done=1 error=0   4380s
      
      Master startup	
      - Splitting logs after master startup   4388s
      

      There seems to be an issue with what is in ZK and what the TaskBatch holds. In my case it could be related to the fact that the task was already in ZK after many faulty restarts because of the NPE. Maybe it was added once (since that is keyed by path, and that is unique on my machine), but the reference count upped twice? Now that the real one is done, the done counter has been increased, but will never match the scheduled.

      Attachments

        1. 9651.patch
          0.9 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: