Last active
December 15, 2015 16:09
-
-
Save jspacker/5286657 to your computer and use it in GitHub Desktop.
twitter-pagerank controlscript: a choice of two postprocessing steps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print "Starting postprocessing step." | |
postprocess = Pig.compileFromFile(self.postprocessing_script) | |
postprocess_params = { | |
"PAGERANKS_INPUT_PATH": iteration_pagerank_result, | |
"OUTPUT_PATH": self.output_path | |
} | |
postprocess_bound = postprocess.bind(postprocess_params) | |
postprocess_stats = postprocess_bound.runSingle() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment