
#Zen autopurge license#
# See the License for the specific language governing permissions and # limitations under the License.
#Zen autopurge software#
You may obtain a copy of the License at # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License") you may not use this file except in compliance # with the License. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. icccuatį、配置hadoop-env.sh文件 # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. ConfiguredFailoverProxyProvider Ĭ、配置mapred-site.xml文件 mv mapred -site. dir qjournal: //hadoop01.icccuat:8485 hadoop02.icccuat:8485 hadoop03.icccuat:8485/mycluster dfs. 7Įxport PATH =$PATH:$ZOOKEEPER_INSTALL /bin (8)配置zookeeper的环境(改成自己的安装包绝对路径) vi /etc /profile source /etc /profileĮxport ZOOKEEPER_INSTALL = /usr /house /zookeeper /zookeeper - 3.4. # The number of snapshots to retain in dataDir #autopurge.snapRetainCount=3 # Purge task interval in hours # Set to "0" to disable auto purge feature #autopurge.purgeInterval=1 # increase this if you need to handle more clients #maxClientCnxns=60 # Be sure to read the maintenance section of the # administrator guide before turning on autopurge. # the maximum number of client connections. # do not use /tmp for storage, /tmp here is just # example sakes.ĭataDir= /usr /house /zookeeper /zoo1 / data # the port at which the clients will connect # the directory where the snapshot is stored. # The number of ticks that can pass between # sending a request and getting an acknowledgement # The number of ticks that the initial # synchronization phase can take

路径:/usr/house/zookeeper/zookeeper-3.4.7/conf # The number of milliseconds of each tick (4)产生标记文件 echo ‘ 1’ > /usr /house /zookeeper /zoo1 / data /myid Įcho ‘ 2’ > /usr /house /zookeeper /zoo2 / data /myidĮcho ‘ 3’ > /usr /house /zookeeper /zoo3 / data /myid

(2)将zookeeper解压包移到/usr/house/zookeeper下 mv zookeeper - 3.4. 基于linux系统安装hadoop+zk+flume+kafka+mysql+hive+redis+es+Rmq+hbase+spark+storm+azkaban
