上一页 1 2 3 4 5 6 7 8 9 10 ··· 23 下一页

2022年6月20日

Clickhouse 分组查询排序取第一条数据

摘要: Clickhouse 分组查询排序取第一条数据 -- Note: Unless you save your query, these tabs will NOT persist if you clear your cookies or change browsers. SELECT vin, veh 阅读全文

posted @ 2022-06-20 14:44 滚动的蛋 阅读(4518) 评论(0) 推荐(0) 编辑

2022年3月25日

网关统一配置跨域支持

摘要: spring: cloud: gateway: globalcors: corsConfigurations: '[/**]': allowedHeaders: "*" allowedOriginPatterns: "*" allowCredentials: true allowedMethods: 阅读全文

posted @ 2022-03-25 11:39 滚动的蛋 阅读(32) 评论(0) 推荐(0) 编辑

2022年3月18日

找不对自定义typeHandler:java.lang.IllegalStateException: No typehandler found for mapping ...

摘要: 1、自定义typeHandler package com.apollo.cloud.common.core.mybatis.typehandler; import java.sql.CallableStatement; import java.sql.PreparedStatement; impor 阅读全文

posted @ 2022-03-18 11:57 滚动的蛋 阅读(312) 评论(0) 推荐(0) 编辑

2022年2月18日

Mybaits-plus 开启SQL日志的两种方式

摘要: 方式1: mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启sql日志 方式2: logging: level: com.fawvw.ftb3.tdp.main.adapter. 阅读全文

posted @ 2022-02-18 16:27 滚动的蛋 阅读(802) 评论(0) 推荐(0) 编辑

2022年1月7日

mysql查看被锁住的表

摘要: 锁表导致CPU飙升 >查询是否锁表 show OPEN TABLES where In_use > 0; >查看所有进程,找到 waiting for lockMySQL: show processlist; Mariabd: show full processlist; >查询到相对应的进程,然后 阅读全文

posted @ 2022-01-07 14:20 滚动的蛋 阅读(508) 评论(0) 推荐(0) 编辑

2022年1月6日

Spark基础+性能优化

摘要: 基础篇:https://tech.meituan.com/2016/04/29/spark-tuning-basic.html高级篇:https://tech.meituan.com/2016/05/12/spark-tuning-pro.html 阅读全文

posted @ 2022-01-06 12:55 滚动的蛋 阅读(24) 评论(0) 推荐(0) 编辑

2021年11月16日

Spark 写Hive指定动态分区

摘要: 1、设置 SparkSession.Builder builder = SparkSession .builder() .config(conf) .master("yarn") .config("hive.exec.dynamici.partition", true) .config("hive. 阅读全文

posted @ 2021-11-16 14:37 滚动的蛋 阅读(1167) 评论(0) 推荐(0) 编辑

2021年10月26日

Maven打包包含jar包

摘要: <build> <resources> <resource> <directory>src/main/resources/assembly/</directory> <includes> <include>conf/**</include> </includes> <filtering>true</ 阅读全文

posted @ 2021-10-26 17:20 滚动的蛋 阅读(176) 评论(0) 推荐(0) 编辑

2021年9月15日

spark 通过keytab 获取认证

摘要: /usr/local/spark-2.3.0-bin-2.6.0-cdh5.8.0/bin/spark-submit \ --keytab /home/jj/tl.keytab \ --principal vf@FC.COM \ --class com.bb.sailer.engine_client 阅读全文

posted @ 2021-09-15 18:37 滚动的蛋 阅读(533) 评论(0) 推荐(0) 编辑

2021年9月14日

Clickhouse 创建分布式表

摘要: 分布表包括逻辑表和物理表,,逻辑表就是表机构用于查询,物理表是实际存储数据的 drop table if exists o_vehicle_data_pre_charging_u_t ON CLUSTER 'ck_uat'; -- auto-generated definition 物理表 crea 阅读全文

posted @ 2021-09-14 18:11 滚动的蛋 阅读(1572) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 23 下一页

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示