You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/03/31 00:54:53 UTC
[jira] [Updated] (HADOOP-11450) Cleanup DistCpV1 not to use
deprecated methods and fix javadocs
[ https://issues.apache.org/jira/browse/HADOOP-11450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated HADOOP-11450:
--------------------------------------
Fix Version/s: 2.7.0
> 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
> Fix For: 2.7.0
>
> 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)