[
https://issues.apache.org/jira/browse/HDFS-13909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16817158#comment-16817158
]
Íñigo Goiri commented on HDFS-13909:
------------------------------------
I think we should try to extend RemoteParam and RemoteMethod to support
CacheDirectiveInfo.
The code is mostly in RemoteMethod.
We can just add a check there to see the type and if it is the cache info, just
do the build you have there.
> 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: [email protected]
For additional commands, e-mail: [email protected]