Ambari中开启Hadoop HA,其中一个NN硬件损坏,恢复方法

hosts

ssh

ulimit 

JDK & JCE

#、kerberos客户端配置

    krb5-workstation

    scp /etc/krb5.conf

    重新执行

#、Ambari agent

yum install epel-release

yum install ambari-agent

把其它的 /etc/ambari-agent/conf/ambari-agent.ini复制过来

ambari-agent start

#zookeeper-server

/etc/zookeeper/conf.dist/

useradd zookeeper -g hadoop

useradd mapred -g hadoop

groupadd hadoop

#hadoop-hdfs-journalnode

scp /etc/hadoop/conf.empty/* HDP126:/etc/hadoop/conf.empty

#hadoop-hdfs-namenode

hdfs namenode -bootstrapStandby

#ganglia-gmond:

/etc/ganglia/

hadoop-hdfs-zkfc

hbase-master

复制配置

你可能感兴趣的:(hadoop)