在使用Hadoop的过程中,遇到了自带python版本比较老的问题. 下面以python3.7为例,演示如何在hadoop上使用自定义的python版本以及第三方库. 1.在https://www.python.org下载Python-3.7.2.gz包 2.在linux环境下: tar -xvf Pthon-3.7.2 #解压文件 cd Python-3.7.2 ./configure -- prefix=~/python37 #这里是你刚刚解压的路径 make -j make install
Hadoop Streaming Hadoopstreaming is a utility that comes with the Hadoop distribution. The utilityallows you to create and run Map/Reduce jobs with any executable or script asthe mapper and/or the reducer. For example: $HADOOP_HOME/bin/hadoop jar $H