背景:
阅读新闻
Hadoop-CDH4的部署包的文件结构
[日期:2012-08-30] 来源:Linux社区 作者:chenpingbupt [字体:]
相关文档可参:
https://issues.apache.org/jira/browse/Hadoop-6255
1、现在的结构比以前的要稍微复杂一些了,如下:
@linuxidc:~/dev/Hadoop-2.0.0-cdh4.0.1$ ls -d */
bin/ cloudera/ etc/ examples/ include/ lib/ libexec/ sbin/ share/ src/
2、外层的启动脚本,都在sbin目录下:
@linuxidc:~/dev/hadoop-2.0.0-cdh4.0.1/sbin$ ls
distribute-exclude.sh hadoop-setup-conf.sh httpfs.sh start-balancer.sh stop-balancer.sh update-hdfs-env.sh
hadoop-create-user.sh hadoop-setup-hdfs.sh mr-jobhistory-daemon.sh start-dfs.sh stop-dfs.sh yarn-daemon.sh
hadoop-daemon.sh hadoop-setup-single-node.sh refresh-namenodes.sh start-secure-dns.sh stop-secure-dns.sh yarn-daemons.sh
hadoop-daemons.sh hadoop-validate-setup.sh slaves.sh start-yarn.sh stop-yarn.sh
hadoop-setup-applications.sh hdfs-config.sh start-all.sh stop-all.sh update-hadoop-env.sh
3、内层的被调用脚本,都在bin目录下:
@linuxidc:~/dev/hadoop-2.0.0-cdh4.0.1/bin$ ls
container-executor hadoop hdfs mapred rcc yarn
4、Native的so文件都在lib目录下:
@linuxidc:~/dev/hadoop-2.0.0-cdh4.0.1/lib$ ls ./ -R
./:
native
./native:
libhadoop.a libhadooppipes.a libhadoop.so.1 libhadooputils.a libhdfs.la libhdfs.so.0
libhadoop.la libhadoop.so libhadoop.so.1.0.0 libhdfs.a libhdfs.so libhdfs.so.0.0.0
5、配置程序文件都放置在libexec
@linuxidc:~/dev/hadoop-2.0.0-cdh4.0.1/libexec$ ls
hadoop-config.sh hdfs-config.sh httpfs-config.sh mapred-config.sh yarn-config.sh
6、配置文件都在etc目录,对应以前的conf目录
@linuxidc:~/dev/hadoop-2.0.0-cdh4.0.1/etc$ ls ./ -R
./:
hadoop
./hadoop:
core-site.xml hadoop-metrics.properties httpfs-log4j.properties log4j.properties ssl-server.xml.example
hadoop-env.sh hdfs-site.xml httpfs-signature.secret slaves yarn-env.sh
hadoop-metrics2.properties httpfs-env.sh httpfs-site.xml ssl-client.xml.example yarn-site.xml
7、所有的jar包都在share/hadoop目录下面
/home/ziang/dev/hadoop-2.0.0-cdh4.0.1/share/hadoop
相关资讯 Hadoop部署
本文评论 查看全部评论 (0)
尊重网上道德,遵守中华人民共和国的各项有关法律法规 承担一切因您的行为而直接或间接导致的民事或刑事法律责任 本站管理人员有权保留或删除其管辖留言中的任意内容 本站有权在网站内转载或引用您的评论 参与本评论即表明您已经阅读并接受上述条款
评论声明
最新资讯