- 博客(4)
- 收藏
- 关注
原创 flume监听日志存入kafka,hdfs
配置文件: 存入hdfs : #Name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 #Describe/configure the source a1.sources.r1.type = spooldir a1.sources.r1.spoolDir = 监听的文件路径(在flume启动之前创建) a1.sources.r1.fileHeader = true a1.sources.r1.deser
2020-07-15 09:32:44
763
原创 kafka启动和主题操作命令
启动kafka 启动 kafka自带的 zookeeper: 在bin目录下: ./zookeeper-server-start.sh …/config/zookeeper.properties 1>/dev/null 2>&1 &(标注的这一句是为了不输出启动日志) 启动 kafka集群: (这里是伪分布式下的启动,加入-daemon以精灵线程启动,不打印日志) bin/kafka-server-start.sh -daemon config/server.prope.
2020-06-15 22:23:10
650
原创 上传本地项目到GitHub的步骤
在本机已经安装好Git的背景下。 一、 进入要上传的项目的路径下,点击右键选择 Git Bash Here 弹出命令行界面 二、输入git init 这个命令会在项目路径下生成一个 .git 文件,该文件默认是隐藏的。 三、git add . 点表示添加路径下所有的文件,也可以写文件路径 四、git commit -m “提交描述” 引号中的内容是对本次提交的描述,必须要写 五、git remote add origin 地址 填写在Github上仓库的地址 六、git push -u orig
2020-06-15 21:57:08
239
原创 启动MongoDB可能出现的错误
在虚拟机(CenteOS系统)上安装完mongodb后 使用service mongod start命令启动 出现了以下报错: 根据提示See “systemctl status mongod.service” and “journalctl -xe”,输入systemctl status -l mongod.service 查看详细信息(添加“-l”参数,显示完整报错信息) 如下: 找到关键信息:Error starting mongod. /var/run/mongodb/mongod.pid ex
2020-06-15 10:39:03
774
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅