会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小白
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
···
49
下一页
2020年12月28日
docker 基本操作
摘要: 1、启动命令 ##后台启动一个docker实例 docker run -d -p 8080:8080 docker-datacenter ##网络改为host模式,可以访问宿主机 docker run -d --network host -p 8080:8080 docker-datacenter
阅读全文
posted @ 2020-12-28 14:25 小白啊小白,Fighting
阅读(121)
评论(0)
推荐(0)
2020年11月26日
Spark提交任务到Yarn错误
摘要: 1、错误描述:Initial job has not accepted any resources; check your cluster UI to ensure that workers are registe(资源不足) CDH解决方案:进入Yarn,找到配置,修改这个值
阅读全文
posted @ 2020-11-26 18:07 小白啊小白,Fighting
阅读(402)
评论(0)
推荐(0)
2020年11月18日
ZK操作
摘要: 1、查看kafka中的groupid信息 ls2 /consumers/test/offsets #表示查看test分组下的topic有哪些 [zk: localhost:2181(CONNECTED) 23] ls2 /consumers/test/offsets [Demo12, Demo2,
阅读全文
posted @ 2020-11-18 22:52 小白啊小白,Fighting
阅读(135)
评论(0)
推荐(0)
2020年11月13日
Canal读取mysql错误排查---(这篇内容有问题)
该文被密码保护。
阅读全文
posted @ 2020-11-13 11:02 小白啊小白,Fighting
阅读(186)
评论(0)
推荐(0)
2020年11月12日
CDH执行spark任务
摘要: 1、cdh执行spark任务(直接在yarn执行) spark2-submit \ --master yarn \ --num-executors 1 \ --executor-cores 1 \ --executor-memory 1G \ --class org.apache.spark.exa
阅读全文
posted @ 2020-11-12 18:01 小白啊小白,Fighting
阅读(1333)
评论(0)
推荐(0)
CDH日志目录以及重新安装需要删除的目录
摘要: 1、Server日志路径 cd /opt/module/cm/cm-5.12.1/log/cloudera-scm-server/ 2、agent日志路径 cd /opt/module/cm/cm-5.12.1/log/cloudera-scm-agent/ 3、其他日志目录 /var/log/ha
阅读全文
posted @ 2020-11-12 11:37 小白啊小白,Fighting
阅读(1008)
评论(0)
推荐(0)
CDH5.12安装遇到的坑
摘要: 环境:centos7+cdh5.12 问题描述: 在搭建过的CDH机器上重新搭建CDH集群,没有删除数据。导致新搭建的CDH,这两台DATANode启动不了..... 特殊情况: 本人以前在这两台机器上搭建过CDH,所以存在版本问题 1、找到你以前搭建的datanode数据目录,/dfs/dn/cu
阅读全文
posted @ 2020-11-12 11:21 小白啊小白,Fighting
阅读(336)
评论(0)
推荐(0)
2020年11月11日
Scala 运行jar命令
摘要: 1、代码 2、运行方式 scala -classpath hs-spark-job-1.0-SNAPSHOT.jar com.hushuo.Test
阅读全文
posted @ 2020-11-11 14:52 小白啊小白,Fighting
阅读(998)
评论(0)
推荐(0)
2020年11月10日
KafKa脚本
摘要: kafka各类脚本 1、start_kafka.sh #! /bin/bash #启动zookeeper,由于使用外部的zookeeper,所以不需要启动本机的zk #nohup bin/kafka-server-start.sh config/server.properties > logs/ka
阅读全文
posted @ 2020-11-10 14:38 小白啊小白,Fighting
阅读(242)
评论(0)
推荐(0)
Es重建索引
摘要: 参考博客:https://www.cnblogs.com/royfans/p/11436395.html 1、修改映射 PUT goods2 { "mappings": { "_doc": { "properties": { "good_id": { "type": "integer" }, "or
阅读全文
posted @ 2020-11-10 10:19 小白啊小白,Fighting
阅读(492)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
49
下一页
公告