13—第六章Hadoop:Google云計算的开源实现2.pptVIP

  • 1
  • 0
  • 约1.18千字
  • 约 25页
  • 2017-04-26 发布于上海
  • 举报

13—第六章Hadoop:Google云計算的开源实现2.ppt

13—第六章Hadoop:Google云計算的开源实现2

电子工业出版社《云计算(第二版)》配套课件;《云计算(第二版)》购买网址: 当当网 京东商城;提 纲;在Linux系统中安装Hadoop ;2.安装步骤 1)单机模式 默认情况下,Hadoop被配置成一个以非分布式模式运行的独立Java进程,适合开始时做调试工作 WordCount实例 $ mkdir input $ cd input $ echo hello world test1.txt $ echo hello hadoop test2.txt $ bin/hadoop jar hadoop-mapred-examples-0.20.2.jar wordcount input output 查看执行结果 $ cat output/*;2.安装步骤 2)伪分布式模式 用不同的Java进程模拟分布式运行中各类节点 (1)Hadoop配置 ;(2)免密码SSH设置 ?生成密钥对 $ ssh-keygen -t rsa ?一直按【Enter】键,按照默认的选项将生成的密钥对保存在.ssh/id_rsa文件中 ?进入.ssh目录 $ cp id_rsa.pub authorized_keys ?执行$ ssh localhost,可以实现用SSH 连接并

文档评论(0)

1亿VIP精品文档

相关文档