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

Konstantin Shvachko commented on HDFS-7057:
-------------------------------------------

Two nits:
# It is better to use {{String.valueOf(newLnegth)}} instead of {{""+newLength}}.
# {{testTruncateShellHelper()}} could have more informative name, like 
{{runTruncateShellCommand()}}.

> Expose truncate API via FileSystem and shell command
> ----------------------------------------------------
>
>                 Key: HDFS-7057
>                 URL: https://issues.apache.org/jira/browse/HDFS-7057
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>    Affects Versions: 3.0.0
>            Reporter: Konstantin Shvachko
>            Assignee: Milan Desai
>         Attachments: HDFS-7057-2.patch, HDFS-7057-3.patch, HDFS-7057-4.patch, 
> HDFS-7057.patch
>
>
> Add truncate operation to FileSystem and expose it to users via shell command.



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

Reply via email to