hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7057) Expose truncate API via FileSystem and shell command
Date Sun, 18 Jan 2015 22:27:35 GMT

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

Mime
View raw message