hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11450) Cleanup DistCpV1 not to use deprecated methods and fix javadocs
Date Mon, 26 Jan 2015 14:34:36 GMT

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

Hudson commented on HADOOP-11450:
---------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #82 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/82/])
HADOOP-11450. Cleanup DistCpV1 not to use deprecated methods and fix javadocs. Contributed
by Varun Saxena. (ozawa: rev 7b82c4ab4e84256bcdee6256564f394dcc4e81ab)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-tools/hadoop-extras/src/main/java/org/apache/hadoop/tools/DistCpV1.java


> Cleanup DistCpV1 not to use deprecated methods and fix javadocs
> ---------------------------------------------------------------
>
>                 Key: HADOOP-11450
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11450
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools/distcp
>    Affects Versions: 2.6.0
>            Reporter: Tsuyoshi OZAWA
>            Assignee: Varun Saxena
>            Priority: Minor
>         Attachments: HADOOP-11450.001.patch, HADOOP-11450.002.patch, HADOOP-11450.003.patch,
HADOOP-11450.004.patch
>
>
> Currently, DistCpV1 is using deprecated methods and having wrong javadocs. We should
fix them.
> 1. DistCpV1.copy doesn't have dstpath, but javadoc has it.
> {code}
>     /**
>      * Copy a file to a destination.
>      * @param srcstat src path and metadata
>      * @param dstpath dst path
> {code}
> 2. Removing deprecated methods.
> {code}
>          SequenceFile.Writer dir_writer = SequenceFile.createWriter(jobfs, jobConf, dstdirlist,
Text.class, FilePair.class, SequenceFile.CompressionType.NONE);
> {code}
> {code}
>         basedir = args.basedir.makeQualified(basefs);
> {code}



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

Mime
View raw message