You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2015/02/09 02:40:35 UTC

[jira] [Commented] (HADOOP-11510) Expose truncate API via FileContext

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

Konstantin Shvachko commented on HADOOP-11510:
----------------------------------------------

This looks good to me. One thing only: can we move {{testTruncateThroughFileContext()}} into {{TestHDFSFileContextMainOperations}}. Looks like a dedicated test for FileContext. It has its own routines for creating files via FC, which may simplify the truncate test a bit.

> Expose truncate API via FileContext
> -----------------------------------
>
>                 Key: HADOOP-11510
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11510
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>         Attachments: HADOOP-11510.001.patch, HADOOP-11510.002.patch
>
>
> We also need to expose truncate API via {{org.apache.hadoop.fs.FileContext}}.



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