Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: caching
    • Labels:
      None
    • Target Version/s:
    • Release Note:
      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.001.patch
          23 kB
          xupeng
        2. HDFS-10328.002.patch
          24 kB
          xupeng
        3. HDFS-10328.003.patch
          23 kB
          xupeng
        4. HDFS-10328.004.patch
          24 kB
          Colin P. McCabe

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: