![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
大数据
东风不来
东风不来,水波不兴
展开
-
Metric aggregation
https://www.elastic.co/guide/en/elasticsearch/reference/7.13/search-aggregations-metrics.html这个类型的聚合操作根据选择的document 的 值 计算 指标。这个值可以从document 的 fields中提取,也可以通过脚本生成。Numeric metrics aggregation 是一种特殊的metrics aggregation,它的输出为数值。一些metrics aggregation输出一个数值度原创 2021-09-13 18:37:33 · 511 阅读 · 0 评论 -
翻译文档-elasticsearch-7.13.*-search-aggregations
https://www.elastic.co/guide/en/elasticsearch/reference/7.13/search-aggregations.htmlaggregation将统计数据的metrics、statistics或其他纬度。aggregation帮助您回答以下问题:* 我的网站的平均加载时间是什么?* 基于交易量,谁是我最有价值的客户?* 在我的网络中,什么会被认为是一个大文件?* 每个产品类别有多少产品?Elasticsearch提供的聚合操作分为三个类别:* M原创 2021-08-14 17:50:46 · 139 阅读 · 1 评论 -
elasticsearch-sql 支持分页查询
如题,ES的elasticsearch-sql插件支持分页查询,以下sql中,limit 0,10,从下表为0 的行开始返回,返回10行select t.id from t_table t order by id desc limit 0,10原创 2021-08-02 11:17:47 · 1289 阅读 · 0 评论 -
elasticsearch-sql7.13.2 {}{}{:9300} not part of the cluster Cluster [elasticsearch], ignoring...
如题,使用elasticsearch-sql7.13.2报错:not part of the cluster Cluster [elasticsearch], ignoring...这里应该是集群名称默认为elasticsearch,需要特别的指定:dds = (DruidDataSource) ElasticSearchDruidDataSourceFactory.createDataSource(properties);dds.addConnectionProperty("cluster.na原创 2021-07-28 10:34:37 · 760 阅读 · 0 评论 -
match/range [match] malformed query, expected [END_OBJECT] but found [FIELD_NAME]
在ES中,查询条件为{ "query": { "match": { "yqxs": 1 }, "range": { "id": { "gte": 3000000000, "lte": 4000000000 } } }, "size": 1}报错:[match] malformed原创 2021-07-15 10:11:05 · 8414 阅读 · 0 评论 -
Unknown key for a START_OBJECT in [range].
查询条件为:{ "range": { "id": { "gte": 3000000000, "lte": 4000000000 } }, "size": 1}range 是query中的元素,应该放在query中{ "query": { "range": { "id": { "gte": 3000000000,原创 2021-07-15 10:04:09 · 9455 阅读 · 0 评论 -
elasticsearch问题: SERVICE_UNAVAILABLE/1/state not recovered /initialized
1.重启无效2.将所有节点的配置#es7.x 之后新增的配置,初始化一个新的集群时需要此配置来选举 mastercluster.initial_master_nodes: ["node-1"]都指定为node-1后,报错误master_not_discovered_exception。#gateway.recover_after_nodes: 2将以上配置注释掉后,依旧报错master_not_discovered_exception将配置cluster.initial_master_n原创 2021-07-14 09:52:42 · 4520 阅读 · 3 评论 -
impala:Negotiation complete: Invalid argument: Client connection negotiation failed: client connect
现象:即使一个select 1 的查询语句也无法执行impala的报错日志:参考:https://www.cnblogs.com/sdhzdtwhm/p/9909570.htmlyum install gcc python-devel cyrus-sasl* -y可以解决问题原创 2021-07-08 09:24:22 · 502 阅读 · 0 评论 -
hive is not allowed to impersonate anonymous
2021-06-29T17:47:55,131 DEBUG [HiveServer2-Handler-Pool: Thread-52] retry.RetryInvocationHandler: Exception while invoking call #36 ClientNamenodeProtocolTranslatorPB.getFileInfo over null. Not retrying because try once and fail.org.apache.hadoop.ipc.Remo原创 2021-06-29 17:57:07 · 466 阅读 · 0 评论 -
org/apache/tez/dag/api/SessionNotRunning
hive --service hiveserver2 10000 &启动时报以下错误:2021-06-29T17:21:34,284 WARN [main] server.HiveServer2: Error starting HiveServer2 on attempt 1, will retry in 60000msjava.lang.NoClassDefFoundError: org/apache/tez/dag/api/SessionNotRunning at org.apache原创 2021-06-29 17:45:41 · 951 阅读 · 0 评论 -
MetaStoreClient lost connection. Attempting to reconnect (1 of 1) after 1s. getCurrentNotificatio
2021-06-29T16:59:35,856 DEBUG [pool-7-thread-1] ipc.ProtobufRpcEngine: Call: mkdirs took 4ms2021-06-29T16:59:35,856 INFO [pool-7-thread-1] session.SessionState: Created HDFS directory: /tmp/hive/hive/9b2f06f4-3ed2-4f0d-8f73-c81ec7970bb8/_tmp_space.db202原创 2021-06-29 17:25:24 · 6459 阅读 · 1 评论 -
hbase的热点问题
https://www.jianshu.com/p/f1e95b8bd548转载 2020-03-06 09:34:30 · 144 阅读 · 0 评论