flume 集群安装 博客分类: hadoop Hadoop
程序员文章站
2024-03-21 10:22:40
...
./pssh -h ./host/all.txt -P mkdir /usr/local/app
./pssh -h ./host/all.txt -P tar zxf /usr/local/software/apache-flume-1.6.0-bin.tar.gz -C /usr/local/app
./pssh -h ./host/all.txt -P mv /usr/local/app/apache-flume-1.6.0-bin /usr/local/app/apache-flume-1.6.0
vi /etc/profile
增加flume环境变量配置
#set flume envrioment
export FLUME_HOME=/usr/local/app/apache-flume-1.6.0
export PATH=$FLUME_HOME/bin:$PATH
./pscp -h ./host/all.txt /etc/profile /etc
./pssh -h ./host/all.txt -P source /etc/profile
./pssh -h ./host/flume.txt -P ln -s /usr/local/app/apache-flume-1.6.0/ ~/flume
./pslurp -h ./host/flume-agent.txt -L /usr/local/app/realconfig/agent.conf ~/flume/conf/agent.conf realconfig
./pslurp -h ./host/flume-collector.txt -L /usr/local/app/realconfig/collector.conf ~/flume/conf/collector.conf realconfig
./pssh -h ./host/all.txt -P tar zxf /usr/local/software/apache-flume-1.6.0-bin.tar.gz -C /usr/local/app
./pssh -h ./host/all.txt -P mv /usr/local/app/apache-flume-1.6.0-bin /usr/local/app/apache-flume-1.6.0
vi /etc/profile
增加flume环境变量配置
#set flume envrioment
export FLUME_HOME=/usr/local/app/apache-flume-1.6.0
export PATH=$FLUME_HOME/bin:$PATH
./pscp -h ./host/all.txt /etc/profile /etc
./pssh -h ./host/all.txt -P source /etc/profile
./pssh -h ./host/flume.txt -P ln -s /usr/local/app/apache-flume-1.6.0/ ~/flume
./pslurp -h ./host/flume-agent.txt -L /usr/local/app/realconfig/agent.conf ~/flume/conf/agent.conf realconfig
./pslurp -h ./host/flume-collector.txt -L /usr/local/app/realconfig/collector.conf ~/flume/conf/collector.conf realconfig
推荐阅读
-
flume 集群安装 博客分类: hadoop Hadoop
-
vncserver安装 博客分类: hadoop centosvncview
-
linux命令学习使用记录 博客分类: hadoop 命令Linux
-
hadoop linux安装 博客分类: hadoop
-
hadoop linux安装 博客分类: hadoop
-
Hadoop 博客分类: java HadoopMapreducelucene编程搜索引擎
-
Hadoop InputFormat浅析 博客分类: 精选hadoop
-
hadoop中mapred.tasktracker.map.tasks.maximum的设置 博客分类: hadoop精选
-
惊天大悲剧-Hadoop的rmr和trash 博客分类: 精选
-
怎样控制namenode检查点的发生频率 博客分类: hadoop