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 Fri, 16 Jan 2015 22:23:35 GMT

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

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

Looks good to me.
Could you also add a unit test, which tests the Truncate command with and without -w option.
I think we can either add such test into TestFileTruncate or TestDFSShell.

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