代码就是上文中您的示例mapreduce(input = '/user/rtest01', map = function(k, v) cbind(v, v^2)),错误提示是sh: -input: command not found
Error in mr(map = map, reduce = reduce, reduceondataframe = reduceondataframe, : hadoop streaming failed with error code 127.
另外,操作系统是centos 6.3,hadoop的版本是Hadoop 2.0.0-cdh4.1.2,以及jdk1.6.0_30。