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

Reuse FileStatus in StoreFileInfo

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment