[ 
https://issues.apache.org/jira/browse/HDFS-10328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xupeng updated HDFS-10328:
--------------------------
    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.  
  




  was:
For now, hdfs cacheadmin can not set a replication num for cachepool. Each 
cache directive added in the 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 replication num for 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.    





> Add per-cache-pool default replication configuration
> ----------------------------------------------------
>
>                 Key: HDFS-10328
>                 URL: https://issues.apache.org/jira/browse/HDFS-10328
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: caching
>            Reporter: xupeng
>            Assignee: xupeng
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: HDFS-10328.001.patch
>
>
> 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.    



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to