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-7655) Expose truncate API for Web HDFS
Date Wed, 28 Jan 2015 07:12:35 GMT

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

Konstantin Shvachko commented on HDFS-7655:

Hey Yi. I think the test for WebHDFS should be in o.a.h.hdfs.web package rahter than in TestFileTruncate.
May be in TestWebHDFS or TestFSMainOperationsWebHdfs.
You can try to reuse one of the methods from TestFileTruncate such as your own {{testTruncate4Symlink}}
by adding {{FileSystem fs}} as a parameter to it. You may need to factor out a static method
out of it.

> Expose truncate API for Web HDFS
> --------------------------------
>                 Key: HDFS-7655
>                 URL: https://issues.apache.org/jira/browse/HDFS-7655
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>         Attachments: HDFS-7655.001.patch, HDFS-7655.002.patch
> This JIRA is to expose truncate API for Web HDFS.

This message was sent by Atlassian JIRA

View raw message