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

Add per-cache-pool default replication num configuration

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • caching
    • None
    • Add per-cache-pool default replication num configuration

    Description

      For now, hdfs cacheadmin can not set a default replication num for cached directive in the same cachepool. Each cache directive added in the same cache pool should set their own replication num individually.

      Consider this situation, we add daily hive table into cache pool "hive" .Each time i should set the same replication num for every table directive in the same cache pool.

      I think we should enable setting a default replication num for a cachepool that every cache directive in the pool can inherit replication configuration from the pool. Also cache directive can override replication configuration explicitly by calling "add & modify directive -replication" command from cli.

      Attachments

        1. HDFS-10328.004.patch
          24 kB
          Colin McCabe
        2. HDFS-10328.003.patch
          23 kB
          xupeng
        3. HDFS-10328.002.patch
          24 kB
          xupeng
        4. HDFS-10328.001.patch
          23 kB
          xupeng

        Issue Links

          Activity

            People

              xupener xupeng
              xupener xupeng
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: