Permalink
Browse files

add "raw" shortcut for RawFileOutputFormat and MultipleRawFileOutputF…

…ormat

(cherry picked from commit ea2f84e)
  • Loading branch information...
1 parent 76c7c9b commit a1a9cdb8a13e6219a96c7ac6d58bc61bfb4e3132 @dangra dangra committed with Klaas Bosteels Feb 20, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 dumbo/backends/streaming.py
@@ -154,11 +154,13 @@ def run(self):
outputformat_shortcuts = \
{'code': 'fm.last.feathers.output.MultipleSequenceFiles',
'text': 'fm.last.feathers.output.MultipleTextFiles',
+ 'raw': 'fm.last.feathers.output.MultipleRawFileOutputFormat',
'sequencefile': 'fm.last.feathers.output.MultipleSequenceFiles'}
else:
outputformat_shortcuts = \
{'code': 'org.apache.hadoop.mapred.SequenceFileOutputFormat',
'text': 'org.apache.hadoop.mapred.TextOutputFormat',
+ 'raw': 'fm.last.feathers.output.RawFileOutputFormat',
'sequencefile': 'org.apache.hadoop.mapred.SequenceFileOutputFormat'}
outputformat_shortcuts.update(configopts('outputformats', self.prog))
outputformat = addedopts['outputformat'][0]

0 comments on commit a1a9cdb

Please sign in to comment.