You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "zhenzhao wang (JIRA)" <ji...@apache.org> on 2019/04/02 18:48:03 UTC

[jira] [Created] (BEAM-6976) Incorrect Doc/Description of HadoopFormatIO On Paritioner

zhenzhao wang created BEAM-6976:
-----------------------------------

             Summary: Incorrect Doc/Description of HadoopFormatIO On Paritioner
                 Key: BEAM-6976
                 URL: https://issues.apache.org/jira/browse/BEAM-6976
             Project: Beam
          Issue Type: Bug
          Components: io-java-hadoop
    Affects Versions: 2.11.0, 2.10.0
            Reporter: zhenzhao wang


Here's the current doc 
{code:java}
myHadoopConfiguration.setClass("mapreduce.job.output.key.class",
   MyDbOutputFormatKeyClass, Object.class);
myHadoopConfiguration.setClass("mapreduce.job.output.value.class",
   MyDbOutputFormatValueClass, Object.class);
myHadoopConfiguration.setClass("mapreduce.job.output.value.class",
   MyPartitionerClass, Object.class);
{code}
It should be myHadoopConfiguration.setClass("mapreduce.job.partitioner.class",
   MyPartitionerClass, Object.class);
The error are found in both website/src/documentation/io/built-in-hadoop.md and sdks/java/io/hadoop-format/src/main/java/org/apache/beam/sdk/io/hadoop/format/HadoopFormatIO.java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)