2018年10月30日

摘要: curl 'localhost:9200/_cat/health?v' 绿色表示一切正常, 黄色表示所有的数据可用但是部分副本还没有分配,红色表示部分数据因为某些原因不可用. 2.通过如下语句,我们可以获取集群的节点列表: 3。通过如下语句,列出所有索引: 4.创建索引 现在我们创建一个名为“cus 阅读全文
posted @ 2018-10-30 16:14 深圳私塾 阅读(637) 评论(0) 推荐(0)
摘要: 每个Elasticsearch节点内部都维护着多个线程池,如index、search、get、bulk等,用户可以修改线程池的类型和大小,线程池默认大小跟CPU逻辑一致 一、查看当前线程组状态 curl -XGET 'http://localhost:9200/_nodes/stats?pretty 阅读全文
posted @ 2018-10-30 11:53 深圳私塾 阅读(230) 评论(0) 推荐(0)
摘要: 一、ES-Hadoop导数据的时候报"Could not write all entries"异常 ES-Hadoop是一个开源的数据导入项目,支持数据从hdfs,hive,spark,storm等其它大数据服务中导入ES。 使用的时候经常报:"org.elasticsearch.hadoop.Es 阅读全文
posted @ 2018-10-30 11:48 深圳私塾 阅读(402) 评论(0) 推荐(0)
摘要: From the answer here, spark.sql.shuffle.partitions configures the number of partitions that are used when shuffling data for joins or aggregations. sp 阅读全文
posted @ 2018-10-30 11:44 深圳私塾 阅读(156) 评论(0) 推荐(0)

导航