Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4949 Centralized cache management in HDFS
  3. HDFS-5236

Change PathBasedCacheDirective APIs to be a single value rather than batch

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-4949
    • HDFS-4949
    • datanode, namenode
    • None

    Description

      It's kind of awkward that APIs like addPathBasedCacheDirective take a list of Directives and return a list of Fallibles, since end users don't see a checked exception and need to check each Fallible. It also complicates HDFS code. Let's think about switching these APIs to instead take only a single Directive.

      Attachments

        1. hdfs-5236-1.patch
          96 kB
          Andrew Wang

        Issue Links

        Activity

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

          People

            andrew.wang Andrew Wang
            andrew.wang Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment