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

Reuse FileStatus in StoreFileInfo

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      The performance of create snapshot on large MOB table reasonably slow because there are two unnecessary calls to namenode on each Hfile, this while we create snapshot manifest. The first namenode call for getting StoreFile modification time link which used for metrics and another namenode call for getting StoreFile size link which used in snapshot manifest. Both calls can be avoided and this info can be fetched from existing FileStatus link.

       

      PFA. 2x performance is seen after reusing existing FileStatus.

      Attachments

        1. PerformanceComparision.pdf
          136 kB
          Karthik Palanisamy

        Issue Links

          Activity

            People

              kpalanisamy Karthik Palanisamy
              kpalanisamy Karthik Palanisamy
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: