- 博客(25)
- 收藏
- 关注
原创 Hive on Spark配置含踩坑记录
说明2:Hive任务最终由Spark来执行,Spark任务资源分配由Yarn来调度,该任务有可能被分配到集群的任何一个节点。编译步骤:官网下载Hive3.1.2源码,修改pom文件中引用的Spark版本为3.0.0,如果编译通过,直接打包获取jar包。如果报错,就根据提示,修改相关方法,直到不报错,打包获取jar包。注意:hive.spark.client.connect.timeout的默认值是1000ms,如果执行hive的insert语句时,抛如下异常,可以调大该参数到10000ms。
2023-07-07 16:12:16
712
原创 FlinkCDC2.1连接MySQL报错 javax.net.ssl.SSLHandshakeException: No appropriate protocol
FlinkCDC2.1连接MySQL报错 javax.net.ssl.SSLHandshakeException: No appropriate protocol。
2023-07-07 16:05:42
372
原创 FlinkCDC连接MySQL报错 javax.net.ssl.SSLHandshakeException: No appropriate protocol
javax.net.ssl.SSLHandshakeException: No appropriate protocol
2023-03-06 15:18:40
359
原创 Oracle 查询当前用户所有表以及统计表内数据行数
统计总行数:SELECT sum(sample_size) FROM user_tables;统计占用空间:select sum(bytes)/1024/1024 from dba_segments;查看有哪些表select * from user_tables;统计所有表以及行数SELECT table_name,num_rows FROM user_tables order by num_rows desc;...
2021-11-05 14:29:59
3933
原创 oracle 误删除后数据恢复
执行以下sqlselect * from 表名 as of timestamp to_timestamp('2021-08-30 12:12:11','yyyy-mm-dd hh24:mi:ss'); --填写删除之前的时间flashback table 表名to timestamp to_timestamp('2021-08-30 12:12:11','yyyy-mm-dd hh24:mi:ss'); --填写删除之前的时间如报错 比如报错:ORA-08189:未启用行移动功能,不能闪回表;
2021-11-05 14:29:26
240
原创 sql server查询建表
根据查询新建表sql server1、只要表结构不要数据 :select * into newtable from oldtable where 1=22、 既要表结构又要数据 :select * into newtable from oldtable
2021-11-05 14:27:43
1063
原创 Oracle 删除数据出现错误报错:“ORA-02292:违反完整约束条件(VHHIADS.FK_CUSTARGET)- 已找到子记录
执行```sql select a.constraint_name, a.table_name, b.constraint_name from user_constraints a, user_constraints b where a.constraint_type = 'R' and b.constraint_type = 'P' and a.r_constraint_name = b.constraint_name and a.constraint_n.
2020-09-07 18:01:27
613
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人