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

Charles Lamb commented on HADOOP-11510:
---------------------------------------

[~hitliuyi],

Looks good. One small nit. To be consistent in testTruncateThroughFileContext 
you could add a few more finals to the decls.

Just out of curiosity, why 3 in newLength = fileLength/3?


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