[原创]Linux上安装Hadoop(单节点+伪分布式)

Linux上安装Hadoop(单节点+伪分布式)1 安装jre2 配置ssh无需密码登录ssh-copy-id 127.0.0.13 下载Hadoop并安装4 修改hadoop-env.sh中的JAVA_HOME5 修改cure.site.xmlhadoop.tmp.dir/opt/hadoop/tmpA base for other temporary directories.fs.default.namehdfs://localhost:54310The name of the default file system. A URI whose scheme and authority determine the FileSystem implementation. The uri’s scheme determines the config property (fs.SCHEME.impl) naming the FileSystem implementation class. The uri’s authority is used to determine the host, port, etc. for a filesystem.6 修改mapred-site.xmlmapred.job.trackerlocalhost:54311The host and port that the MapReduce job tracker runs at. If “local”, then jobs are run in-process as a single map and reduce task.7 修改hdfs-site.xmldfs.replication1Default block replication. The actual number of replications can be specified when the file is created. The default is used if replication is not specified in create time.8 格式化HDFShadoop namenode -format9 执行start-all.sh启动服务,便是不再存在着任何我曾经对你有过的希望。

[原创]Linux上安装Hadoop(单节点+伪分布式)

相关文章:

你感兴趣的文章:

标签云: