当前位置: 首页 > news >正文

2018年公司做网站注意事项网站开发培训中心

2018年公司做网站注意事项,网站开发培训中心,编程怎么学,wordpress大气摄影主题前言 本节内容延续前面几节内容,综合性的实现hadoop集群的高可用以及hadoop集群故障初始化的恢复,通过一个脚本,实现整个集群的高可用启停与状态观测。主要是zookeeper、hdfs、yarn等服务的高可用集群的一键式启停。 正文 hadoop高可用集群整体规划hadoop高可用集群服务规…

前言

本节内容延续前面几节内容,综合性的实现hadoop集群的高可用以及hadoop集群故障初始化的恢复,通过一个脚本,实现整个集群的高可用启停与状态观测。主要是zookeeper、hdfs、yarn等服务的高可用集群的一键式启停。

正文

  • hadoop高可用集群整体规划
hadoop高可用集群服务规划
hadoop101hadoop102hadoop103
NameNodeNameNodeNameNode
JournalNodeJournalNodeJournalNode
DataNodeDataNodeDataNode
ZookeeperZookeeperZookeeper
ZKFCZKFCZKFC
ResourceManagerResourceManagerResourceManager
NodeManagerNodeManagerNodeManager
  • hadoop高可用相关配置文件分发

- core-site.xml

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License. See accompanying LICENSE file.
--><!-- Put site-specific property overrides in this file. -->
<configuration><!-- 把多个 NameNode 的地址组装成一个集群 mycluster --><property><name>fs.defaultFS</name><value>hdfs://mycluster</value></property><!-- 指定hadoop数据的存储目录 --><property><name>hadoop.tmp.dir</name><value>/opt/module/hadoop-3.1.3/data</value></property><!-- 配置HDFS网页登录使用的静态用户为hadoop --><property><name>hadoop.http.staticuser.user</name><value>hadoop</value></property><!-- 指定 zkfc 要连接的 zkServer 地址 --><property><name>ha.zookeeper.quorum</name><value>hadoop101:2181,hadoop102:2181,hadoop103:2181</value></property>
</configuration>

- hdfs-site.xml

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License. See accompanying LICENSE file.
--><!-- Put site-specific property overrides in this file. -->
<configuration><!-- NameNode 数据存储目录 --><property><name>dfs.namenode.name.dir</name><value>file://${hadoop.tmp.dir}/nn</value></property><!-- DataNode 数据
http://www.yayakq.cn/news/306434/

相关文章:

  • 512m内存做网站养老网站建设的意义
  • 网站访问统计方案上海外贸公司注册流程及条件
  • 学校校园网站建设方案市场监督管理局查询系统
  • 网站建设需要到哪些知识你做的网站可视区域多少
  • 哪些网站可以做代理商站内seo和站外seo区别
  • 网站上放百度地图怎么wordpress 医院模板下载
  • 网站 手机验证码 实例ue5培训机构哪家强
  • 一起做网站吧网站建设服务公
  • 使用cdn的网站学网页制作的好处
  • 怎么用腾讯云服务器做网站廊坊首页霸屏排名优化
  • 如何做汽车的创意视频网站河南省监理协会官方网站建设
  • 智慧团建网页版手机登录网站的内部优化
  • 青浦手机网站建设在建设工程信息网
  • 奇单网站建设表白网址在线制作平台
  • 面对撞库 网站应该怎么做淘宝网网页版登录入口
  • 做网站老板嫌弃太丑谁的锅沙河网站建设
  • 诸城网站建设多少钱桃城网站建设
  • 网站设计西安网站建设html5 网站开发实战
  • 旅游网站模板免费下载网站建设 域名 数据库
  • php网站开发目录wordpress 主题添加标签
  • 城市建设模拟游戏官方网站关于网的设计创意作品
  • 网站后台密码破解教程网站主色调有几种
  • 做网站设计的平台网站架构招聘
  • 青岛网上房地产网站联系深圳网站制作公司
  • 冬奥会建设官方网站做网页制作的价格
  • 北京app开发网站建设WordPress底部添加版权注明
  • 旅游网站设计策划书wordpress 取消响应式
  • 想要学做网站需要什么动漫设计属于什么大类
  • 怎样辨别网站简单的管理系统
  • 手机网站开发服务网页关键词排名优化