Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16197

Simplify getting NNStorage in FSNamesystem

    XMLWordPrintableJSON

Details

    Description

      In FSNamesystem, there are many places where NNStorage needs to be used (according to preliminary statistics, there are 15 times), and these places are obtained using "getFSImage().getStorage()". We should try to use a simpler way.

      Attachments

        Issue Links

          Activity

            People

              jianghuazhu JiangHua Zhu
              jianghuazhu JiangHua Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 10m
                  3h 10m