Sort by

recency

|

4 Discussions

|

  • + 0 comments

    For the python2 version the final part of the code stub needs to be corrected to:

    if __name__ == '__main__':
        N = 0
        inputData = []
        counter = 0
        for line in sys.stdin:
            if counter > 0:
                inputData.append(json.dumps({"key":counter,"value":int(line.strip())}))
            counter += 1
        mapReducer.execute(inputData, mapper, reducer)
    
  • + 0 comments

    Hi this's really Excellent exercise for completing the series... you're awesome..

    Thanks guys Buzz CNN

  • + 0 comments

    Excellent exercise to finish the series! Here it's a "pure" mapping exercise at the contrary of previous ones: reduce() does nothing.

  • + 2 comments

    This didn't really force me to understand how this worked, I just saw the expected parameters...

No more comments