[ 
https://issues.apache.org/jira/browse/HDFS-13909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822020#comment-16822020
 ] 

Íñigo Goiri commented on HDFS-13909:
------------------------------------

True, the parameter is a CacheDirectiveInfo not a path.
In any case, modifying RemoteParam to store a CacheDirectiveInfo is 
straightforward.
I'm not sure you need changes in the invoke path, just in RemoteParam and 
RemoteMethod.
I think this is better as it follows an extensible approach where RemoteParam 
represents a parameter that is modified depending on the subcluster we run on.

> RBF: Add Cache pools and directives related ClientProtocol apis
> ---------------------------------------------------------------
>
>                 Key: HDFS-13909
>                 URL: https://issues.apache.org/jira/browse/HDFS-13909
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Dibyendu Karmakar
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-13909-HDFS-13891-01.patch, 
> HDFS-13909-HDFS-13891-02.patch
>
>
> Currently addCachePool, modifyCachePool, removeCachePool, listCachePools, 
> addCacheDirective, modifyCacheDirective, removeCacheDirective, 
> listCacheDirectives these APIs are not implemented in Router.
> This JIRA is intend to implement above mentioned APIs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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