[
https://issues.apache.org/jira/browse/HDFS-13909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816798#comment-16816798
]
Ayush Saxena commented on HDFS-13909:
-------------------------------------
Thanx [~elgoiri] for the comments. I tried to use the existing invocations at
the start, but they works in a fashion as to receive path and invoke depending
on it, here the path isn't an independent argument but is inside the
\{{CacheDirectiveInfo}} so these invocations won't help us and we need to
change the \{{CacheDirectiveInfo}} too in each call to replace the path set in
it with the path with respect to the namespace it needs to be invoked. So these
invocations can't handle the internal part of change in
\{{CacheDirectiveInfo}}, I tried to refactor this call into a simple method,
but I guess that also has problems, as there are minor differences in each.
Other Comments I shall handle in next patch.:)
> 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: Dibyendu Karmakar
> Priority: Major
> Attachments: HDFS-13909-HDFS-13891-01.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]