SequenceFileOutputFormat.setOutputPath(Job,Path) should set the Output Format 
Class to SequenceFileOutputFormat
---------------------------------------------------------------------------------------------------------------

                 Key: HADOOP-5833
                 URL: https://issues.apache.org/jira/browse/HADOOP-5833
             Project: Hadoop Core
          Issue Type: Bug
          Components: mapred
    Affects Versions: 0.20.0
            Reporter: Daniel Leffel
            Priority: Minor


The documentation references that OutputFormat.setOutputPath(Job,Path) sets the 
job up appropriately. However, that's not the case for 
SequenceFileOutputFormat.setOutputPath(Job,Path). This has tripped up more than 
one new user. SequenceFileOutputFormat.setOutputPath(Job,Path) should call both 
the superclass method as well as 
job.setOutputFormatClass(SequenceFileOutputFormat.class);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to