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

DFS.listCacheDirectives() should allow filtering based on cache directive ID

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: caching
    • Labels:
      None
    • Target Version/s:

      Description

      DFS.listCacheDirectives() should allow filtering based on cache directive ID. Currently it throws an exception.

      For example:

      long directiveId = <some id value>;
      CacheDirectiveInfo filter = new CacheDirectiveInfo.Builder()	
          .setId(directiveId)
          .build();
      RemoteIterator<CacheDirectiveEntry> itr = dfs.listCacheDirectives(filter);
      

        Attachments

        1. hdfs-6345-1.patch
          10 kB
          Andrew Wang
        2. hdfs-6345-2.patch
          10 kB
          Andrew Wang

          Activity

            People

            • Assignee:
              andrew.wang Andrew Wang
              Reporter:
              lskuff Lenni Kuff
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: