Skip to content

Commit

Permalink
finished -namedcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaas Bosteels authored and Klaas Bosteels committed Nov 26, 2008
1 parent 17ce82a commit 645ee73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/python/dumbo.py
Expand Up @@ -295,6 +295,8 @@ def startonstreaming(prog,opts,hadoop):
"dumbo.code.writable.map.streamprocessor=%s" % opt[0]))
opts.append(("mapper",dumbopkg + ".CodeWritablePipeMapper"))
dumbojar_needed = True
if addedopts["namedcode"] and addedopts["namedcode"][0] == 'yes':
opts.append(("jobconf", "dumbo.as.named.code=true"))
if dumbojar_needed:
if not dumbojar:
print >>sys.stderr,"ERROR: Dumbo jar not found"
Expand Down

0 comments on commit 645ee73

Please sign in to comment.