Almost working map reduce job from netbeans. It works if runned inside cloud localy or with haddoop command