ååã¯è©±ã ãã§çµãã£ã¦ãã¾ã£ãã®ã§ãä»åã¯ã½ã¼ã¹ã³ã¼ãä¸å¿ã§ãã ã¢ã¤ãã å士ã®è·é¢ã®è¨ç®ã«å¿ è¦ãªæ å ±ãåºåããReducerãå®è£ ãã ã¨ãã訳ã§æ©éã§ãããåå延ã ã¨è©±ããã¦ããäºãReducerã«å®è£ ãã¾ãã #!/usr/bin/php <?php require_once(dirname(dirname(__FILE__)).'/lib/HadoopStreaming/Reducer.php'); class Reducer extends HadoopStreaming_Reducer { public function reduce ( $key, $values ) { $wordcount = array(); while ( $values->has_next_value ) { list($id, $count) = explode(':', $values->cur
{{#tags}}- {{label}}
{{/tags}}