hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11450) Cleanup DistCpV1 not to use deprecated methods and fix javadocs
Date Thu, 25 Dec 2014 08:39:13 GMT
Tsuyoshi OZAWA created HADOOP-11450:
---------------------------------------

             Summary: 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
            Reporter: Tsuyoshi OZAWA


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