2020年9月8日
摘要: 问题原因:mysql安装时,数据、日志目录都配到了/var/lib路径下,时间长了,/var就满了,mysql无法登录。 1、首先查看磁盘占用比较大的是什么,如果是mysql-bin的,可以清理,方法如下: 登录mysql,执行如下: mysql> reset master; Query OK, 0 阅读全文
posted @ 2020-09-08 10:14 小驼驼 阅读(1340) 评论(0) 推荐(0) 编辑
  2019年5月10日
摘要: file --> project structure: 保存即可。 阅读全文
posted @ 2019-05-10 14:12 小驼驼 阅读(1907) 评论(0) 推荐(1) 编辑
摘要: 一 、Junit 1、环境配置 使用idea IDE 进行单元测试,首先需要安装JUnit 插件。 1.安装JUnit插件步骤 File-->settings-->Plguins-->Browse repositories-->输入JUnit-->选择JUnit Generator V2.0安装(可 阅读全文
posted @ 2019-05-10 09:45 小驼驼 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Hadoop报错:Failed to locate the winutils binary in the hadoop binary path Could not locate executable null\bin\winutils.exe in the Hadoop binaries 原因:wi 阅读全文
posted @ 2019-05-10 09:42 小驼驼 阅读(17129) 评论(0) 推荐(0) 编辑
  2019年2月28日
摘要: http://kafka.apache.org/documentation.html#newconsumerconfigs kafka是一款基于发布与订阅的消息系统,它一般被称为“分布式提交日志”或者“分布式流平台”。kafka的数据是按照一定顺序持久化保存的,可以按需读取。 核心概念: 消费者与消 阅读全文
posted @ 2019-02-28 18:34 小驼驼 阅读(4056) 评论(0) 推荐(0) 编辑
  2019年2月27日
摘要: 1、安装步骤 如果出现以下错误:(1)没有package.json这个文件:可以使用npm init -f命令生成一下(2)relocation error: npm: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file 阅读全文
posted @ 2019-02-27 16:52 小驼驼 阅读(3331) 评论(0) 推荐(0) 编辑
  2019年2月20日
摘要: 1、repository-hdfs的安装 (1)去elasticsearch官网下载repository-hdfs安装包 (elasticsearch-5.4.0对应的版本是repository-hdfs-5.4.0) 下载地址: https://www.elastic.co/guide/en/el 阅读全文
posted @ 2019-02-20 10:19 小驼驼 阅读(3508) 评论(0) 推荐(0) 编辑
  2019年2月19日
摘要: 1 package com.znv.elasticsearch; 2 3 import org.elasticsearch.action.bulk.BulkRequestBuilder; 4 import org.elasticsearch.action.bulk.BulkResponse; 5 import org.elasticsearch.client.transpo... 阅读全文
posted @ 2019-02-19 16:56 小驼驼 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 1. Curator安装 Curator是Elasticsearch提供的一个可用来管理索引和快照的命令行工具,它是一个Python程序,可以直接通过pipy库安装: 安装pip:pip install elasticsearch-curator 用-U更新到最新版本: pip install -U 阅读全文
posted @ 2019-02-19 15:07 小驼驼 阅读(2229) 评论(0) 推荐(0) 编辑
摘要: 由于需求和资源的限制,将热数据存在tmpfs上(有资源的话可以用SSD),冷数据存在普通磁盘上。 首先说一下一下tmpfs 虚拟内存文件系统: 特点:它的存储空间在VM(virtual memory)。 VM是由linux内核里面的vm子系统管理的,由RM(Real Memory)和swap组成,R 阅读全文
posted @ 2019-02-19 10:34 小驼驼 阅读(2212) 评论(0) 推荐(0) 编辑