Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
运行 map reduce 作业有什么区别
/bin/hadoop -jar /file.jar input output
并在eclipse中导入jar并运行代码?
第一个命令在 Hadoop 集群上运行作业,如$HADOOP_HOME/conf. 该集群可能是远程的,可能是伪分布式集群或可能是本地的。
$HADOOP_HOME/conf
在 Eclipse 中运行在本地运行它。它在同一个 JVM 中本地运行映射器和缩减器。