Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13321

Deprecate FileSystem APIs that promote inefficient call patterns.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha4
    • Fix Version/s: 3.0.0-alpha4
    • Component/s: fs
    • Labels:
      None

      Description

      FileSystem contains several methods that act as convenience wrappers over calling getFileStatus and retrieving a single property of the returned FileStatus. These methods have a habit of fostering inefficient call patterns in applications, resulting in multiple redundant getFileStatus calls. For HDFS, this translates into wasteful NameNode RPC traffic. For file systems backed by cloud object stores, this translates into wasteful HTTP traffic. This issue proposes to deprecate these methods and instead encourage applications to call getFileStatus and then reuse the same FileStatus instance as needed.

        Attachments

        1. HADOOP-13321.000.patch
          3 kB
          Mingliang Liu
        2. HADOOP-13321.001.patch
          3 kB
          Mingliang Liu
        3. HADOOP-13321.002.patch
          2 kB
          Mingliang Liu
        4. HADOOP-13321.003.patch
          4 kB
          Mingliang Liu
        5. HADOOP-13321.004.patch
          6 kB
          Mingliang Liu

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              liuml07 Mingliang Liu Assign to me
              Reporter:
              cnauroth Chris Nauroth

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment