手机版
你好,游客 登录 注册
背景:
阅读新闻

CentOS6.2上安装Hadoop-2.0.0-alpha(独立版)和jdk7u4

[日期:2012-05-30] 来源:Linux社区  作者:shenshouer [字体:大 中 小]

# mkdir input

# cpshare/Hadoop/common/templates/conf/*.xml input

# bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.0.0-alpha.jargrep input output 'dfs[a-z.]+'

...

INFO input.FileInputFormat: Total inputpaths to process : 6

...

...

12/05/27 03:38:30 INFO mapreduce.Job:Counters: 27

File System Counters

FILE: Number of bytes read=91368

FILE: Number of bytes written=505456

FILE: Number of read operations=0

FILE: Number of large read operations=0

FILE: Number of write operations=0

Map-Reduce Framework

Map input records=32

Map output records=32

Map output bytes=1006

Map output materialized bytes=1076

Input split bytes=133

Combine input records=0

Combine output records=0

Reduce input groups=3

Reduce shuffle bytes=0

Reduce input records=32

Reduce output records=32

Spilled Records=64

Shuffled Maps =0

Failed Shuffles=0

Merged Map outputs=0

GC time elapsed (ms)=50

CPU time spent (ms)=0

Physical memory (bytes) snapshot=0

Virtual memory (bytes) snapshot=0

Total committed heap usage(bytes)=242368512

File Input Format Counters

Bytes Read=1368

File Output Format Counters

Bytes Written=830

 

# ls input/

capacity-scheduler.xml core-site.xmlhadoop-policy.xml hdfs-site.xml mapred-queue-acls.xml mapred-site.xml

{matching the, INFO input.FileInputFormat:Total input paths to process : 6}

 

# cat output/part-r-00000

3 dfs.datanode.data.dir

2 dfs.namenode.http

2 dfs.namenode.https

1 dfsqa

1 dfsadmin

1 dfs.webhdfs.enabled

1 dfs.umaskmode

1 dfs.support.append

1 dfs.secondary.namenode.keytab.file

1 dfs.secondary.namenode.kerberos.principal

1 dfs.secondary.namenode.kerberos.https.principal

1 dfs.permissions.superusergroup

1 dfs.namenode.secondary.http

1 dfs.namenode.safemode.threshold

1 dfs.namenode.replication.min.

1 dfs.namenode.name.dir

1 dfs.namenode.keytab.file

1 dfs.namenode.kerberos.principal

1 dfs.namenode.kerberos.https.principal

1 dfs.include

1 dfs.https.port

1 dfs.hosts.exclude

1 dfs.hosts

1 dfs.exclude

1 dfs.datanode.keytab.file

1 dfs.datanode.kerberos.principal

1 dfs.datanode.http.address

1 dfs.datanode.data.dir.perm

1 dfs.datanode.address

1 dfs.cluster.administrators

1 dfs.block.access.token.enable

1 dfs

{matching the, Reduce output records=32}

完成,快速安装并核实hadoop 2.0.0 alpha独立版

更多Hadoop相关信息见Hadoop 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=13

linux
相关资讯       Hadoop部署  Hadoop安装 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款