上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 41 下一页
摘要: 都是管理系统服务的命令。service和chkconfig是SysVInit命令,systemctl是Systemd命令。 service说明:Ubuntu的默认命令功能:Check/Start/Stop services 示例:service --status-all、service tomcat 阅读全文
posted @ 2021-11-08 15:54 Clotho_Lee 阅读(226) 评论(0) 推荐(0)
摘要: 一、硬件环境 假设有4台机,IP及主机名如下: 192.168.100.105 c1 192.168.100.110 c2 192.168.100.115 c3 192.168.100.120 c4 二、配置 * 第1-4点需要在所有机器执行,第5-8点只在c1机执行 1.进入ssh密钥信息目录 c 阅读全文
posted @ 2021-11-08 05:40 Clotho_Lee 阅读(875) 评论(2) 推荐(0)
摘要: 一、硬件环境 假设有4台机,IP及主机名如下: 192.168.100.105 c1 192.168.100.110 c2 192.168.100.115 c3 192.168.100.120 c4 二、软件环境 操作系统:Ubuntu Server 18.04 JDK:1.8.0 1.安装JDK 阅读全文
posted @ 2021-11-08 00:13 Clotho_Lee 阅读(3807) 评论(0) 推荐(0)
摘要: 一、硬件环境 假设有4台机,IP及主机名如下: 192.168.100.105 c1 192.168.100.110 c2 192.168.100.115 c3 192.168.100.120 c4 ^_^ 这里是个trap(陷阱),ZooKeeper的节点,官方建议是单数个。由于ZooKeeper 阅读全文
posted @ 2021-11-07 23:41 Clotho_Lee 阅读(1348) 评论(0) 推荐(0)
摘要: 1.区别 zookeeper - 旧版Kafka的参数 bootstrap.server - 新版Kafka的参数 2.原因 Kafka开发团队重写了ZooKeeper的Quorum控制器代码并嵌入到Kafka中。所以从v2.8版本开始,Kafka不再依赖ZooKeeper 资料:https://w 阅读全文
posted @ 2021-11-07 22:51 Clotho_Lee 阅读(5930) 评论(0) 推荐(0)
摘要: 假设有4台机,IP及主机名如下: 192.168.100.105 c1 192.168.100.110 c2 192.168.100.115 c3 192.168.100.120 c4 调用HBase API的示例代码: String tableName = "User"; try { Config 阅读全文
posted @ 2021-11-03 17:37 Clotho_Lee 阅读(952) 评论(3) 推荐(0)
摘要: 第1、2点只需要在主节点执行,而第3、4点需要每台机执行。 1.先停止HBase stop-hbase.sh 2.再停止Hadoop stop-all.sh 该命令等同于 stop-yarn.sh stop-dfs.sh 3.最后停止ZooKeeper 每台机都需要执行该步骤 zkServer.sh 阅读全文
posted @ 2021-11-02 02:26 Clotho_Lee 阅读(1151) 评论(0) 推荐(0)
摘要: 有两种情况和原因 情况一: WARN concurrent.DefaultPromise: An exception was thrown byorg.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHelper$6.operat 阅读全文
posted @ 2021-11-02 02:07 Clotho_Lee 阅读(2235) 评论(0) 推荐(0)
摘要: HBase启动RegionServer时报错: ERROR [main] regionserver.HRegionServer: Failed construction RegionServerjava.lang.IllegalArgumentException: java.net.UnknownH 阅读全文
posted @ 2021-11-02 01:46 Clotho_Lee 阅读(1839) 评论(0) 推荐(1)
摘要: 手动卸载Ambari后,如果安装新程序时报以下错误: E: Malformed entry 1 in list file /etc/apt/sources.list.d/ambari-hdp-51.list (URI parse) E: The list of sources could not b 阅读全文
posted @ 2021-11-02 00:46 Clotho_Lee 阅读(1214) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 41 下一页