项目实战-友盟项目介绍以及环境搭建

                                 作者:尹正杰

版权声明:原创作品,谢绝转载!否则将追究法律责任。

 

 

  

 

一.项目架构介绍

 项目实战-友盟项目介绍以及环境搭建

 

二.环境搭建 

1>.搭建Nginx反向代理

   参考笔记:https://www.cnblogs.com/yinzhengjie/p/9428404.html

2>.启动hadoop集群

[yinzhengjie@s101 ~]$ start-dfs.sh 
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/soft/hadoop-2.7.3/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/soft/apache-hive-2.1.1-bin/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Starting namenodes on [s101 s105]
s101: starting namenode, logging to /soft/hadoop-2.7.3/logs/hadoop-yinzhengjie-namenode-s101.out
s105: starting namenode, logging to /soft/hadoop-2.7.3/logs/hadoop-yinzhengjie-namenode-s105.out
s104: starting datanode, logging to /soft/hadoop-2.7.3/logs/hadoop-yinzhengjie-datanode-s104.out
s102: starting datanode, logging to /soft/hadoop-2.7.3/logs/hadoop-yinzhengjie-datanode-s102.out
s103: starting datanode, logging to /soft/hadoop-2.7.3/logs/hadoop-yinzhengjie-datanode-s103.out
Starting journal nodes [s102 s103 s104]
s102: starting journalnode, logging to /soft/hadoop-2.7.3/logs/hadoop-yinzhengjie-journalnode-s102.out
s103: starting journalnode, logging to /soft/hadoop-2.7.3/logs/hadoop-yinzhengjie-journalnode-s103.out
s104: starting journalnode, logging to /soft/hadoop-2.7.3/logs/hadoop-yinzhengjie-journalnode-s104.out
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/soft/hadoop-2.7.3/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/soft/apache-hive-2.1.1-bin/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Starting ZK Failover Controllers on NN hosts [s101 s105]
s101: starting zkfc, logging to /soft/hadoop-2.7.3/logs/hadoop-yinzhengjie-zkfc-s101.out
s105: starting zkfc, logging to /soft/hadoop-2.7.3/logs/hadoop-yinzhengjie-zkfc-s105.out
[yinzhengjie@s101 ~]$ 
[yinzhengjie@s101 ~]$ xcall.sh jps
============= s101 jps ============
25169 Application
27156 NameNode
27972 DFSZKFailoverController
28029 Jps
24542 ConsoleConsumer
命令执行成功
============= s102 jps ============
8609 QuorumPeerMain
11345 Jps
11110 JournalNode
8999 Kafka
11036 DataNode
命令执行成功
============= s103 jps ============
7444 Kafka
7753 JournalNode
7100 QuorumPeerMain
7676 DataNode
7951 Jps
命令执行成功
============= s104 jps ============
6770 QuorumPeerMain
7109 Kafka
7336 DataNode
7610 Jps
7419 JournalNode
命令执行成功
============= s105 jps ============
19397 NameNode
19255 DFSZKFailoverController
19535 Jps
命令执行成功
[yinzhengjie@s101 ~]$ 
启动hdfs分布式文件系统([yinzhengjie@s101 ~]$ start-dfs.sh )

相关文章:

  • 2021-07-08
  • 2021-12-11
  • 2021-07-29
  • 2021-07-16
  • 2021-07-17
  • 2021-12-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-08
  • 2021-09-11
  • 2021-11-22
  • 2022-12-23
  • 2021-04-20
  • 2021-12-15
相关资源
相似解决方案