Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18477 Umbrella JIRA for HBase Read Replica clusters
  3. HBASE-18448

EndPoint example for refreshing HFiles for stores

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.1, 2.0.0
    • 1.4.0, 2.0.0-alpha-3, 2.0.0
    • Coprocessors
    • None
    • Reviewed
    • Adds a new RefreshHFiles Coprocessor Endpoint example. Includes client and serverside-endpoint that iterates region Stores to call #refreshStoreFiles.

    Description

      In the case where multiple HBase clusters are sharing a common rootDir, even after flushing the data from
      one cluster doesn't mean that other clusters (replicas) will automatically pick the new HFile. Through this patch,
      we are exposing the refresh HFiles API which when issued from a replica will update the in-memory file handle list
      with the newly added file.
      This allows replicas to be consistent with the data written through the primary cluster.

      Attachments

        1. HBASE-18448.branch-1.001.patch
          21 kB
          Ajay Jadhav
        2. HBASE-18448.branch-1.002.patch
          90 kB
          Ajay Jadhav
        3. HBASE-18448.branch-1.003.patch
          54 kB
          Ajay Jadhav
        4. HBASE-18448.branch-1.004.patch
          55 kB
          Ajay Jadhav
        5. HBASE-18448.branch-1.005.patch
          62 kB
          Ajay Jadhav
        6. HBASE-18448.branch-1.006.patch
          64 kB
          Ajay Jadhav
        7. HBASE-18448.branch-1.007.patch
          62 kB
          Ajay Jadhav
        8. HBASE-18448.master.001.patch
          19 kB
          Ajay Jadhav
        9. HBASE-18448.master.002.patch
          19 kB
          Ajay Jadhav

        Activity

          People

            ajayjadhav Ajay Jadhav
            ajayjadhav Ajay Jadhav
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: