hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-5236) Change PathBasedCacheDirective APIs to be a single value rather than batch
Date Sat, 21 Sep 2013 00:24:52 GMT

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

Andrew Wang resolved HDFS-5236.
-------------------------------

       Resolution: Fixed
    Fix Version/s: HDFS-4949

Thanks Colin, ran the test successfully. Committed to branch.
                
> Change PathBasedCacheDirective APIs to be a single value rather than batch
> --------------------------------------------------------------------------
>
>                 Key: HDFS-5236
>                 URL: https://issues.apache.org/jira/browse/HDFS-5236
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: HDFS-4949
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>             Fix For: HDFS-4949
>
>         Attachments: hdfs-5236-1.patch
>
>
> It's kind of awkward that APIs like {{addPathBasedCacheDirective}} take a list of Directives
and return a list of Fallibles, since end users don't see a checked exception and need to
check each Fallible. It also complicates HDFS code. Let's think about switching these APIs
to instead take only a single Directive.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message