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

Reply via email to