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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • caching
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: