前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >分散式-ubuntu12.04安装hadoop1.2.1

分散式-ubuntu12.04安装hadoop1.2.1

作者头像
全栈程序员站长
发布2022-07-06 09:09:25
1340
发布2022-07-06 09:09:25
举报
文章被收录于专栏:全栈程序员必看

大家好,又见面了,我是全栈君。

在hadoop1.2.1被预装在一份报告中安装说明java。我装了很多的版本号java以及许多的版本号hadoop,然后发现oracle-java7与hadoop1.2.1能够匹配。

一,安装详细过程例如以下:

1. 安装java: sudo apt-get install oracle-java7-installer

2. 安装hadoop1.2.1: http://hadoop.apache.org/docs/r1.2.1/single_node_setup.html#Download

二。測试是否成功安装(伪分布式模式):

Format a new distributed-filesystem: $ bin/hadoop namenode -format

Start the hadoop daemons: $ bin/start-all.sh

The hadoop daemon log output is written to the ${HADOOP_LOG_DIR} directory (defaults to ${HADOOP_HOME}/logs). Browse the web interface for the NameNode and the JobTracker; by default they are available at: NameNode – http://localhost:50070/ JobTracker – http://localhost:50030/ Copy the input files into the distributed filesystem: $ bin/hadoop fs -put conf input

Run some of the examples provided: $ bin/hadoop jar hadoop-examples-*.jar grep input output ‘dfs[a-z.]+’

Examine the output files: Copy the output files from the distributed filesystem to the local filesytem and examine them: $ bin/hadoop fs -get output output  $ cat output/*

When you’re done, stop the daemons with: $ bin/stop-all.sh

三。web UI

1. NameNode:http://localhost:50070/ 2. JobTracker :http://localhost:50030/

版权声明:本文博客原创文章,博客,未经同意,不得转载

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/117454.html原文链接:https://javaforall.cn

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022年1月5,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
文件存储
文件存储(Cloud File Storage,CFS)为您提供安全可靠、可扩展的共享文件存储服务。文件存储可与腾讯云服务器、容器服务、批量计算等服务搭配使用,为多个计算节点提供容量和性能可弹性扩展的高性能共享存储。腾讯云文件存储的管理界面简单、易使用,可实现对现有应用的无缝集成;按实际用量付费,为您节约成本,简化 IT 运维工作。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档