自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(56)
  • 收藏
  • 关注

原创 MySQL:com.mysql.jdbc.PacketTooBigException: Packet for query is too large

MySQL:com.mysql.jdbc.PacketTooBigException: Packet for query is too large

2023-02-13 14:24:50 279 1

原创 Requested user nobody is not whitelisted and has id 99,which is below the minimum allowed 1000

Requested user nobody is not whitelisted and has id 99,which is below the minimum allowed 1000

2022-07-21 12:02:42 501

原创 java.io.IOException: Disk quota exceeded 磁盘配额已满

java.io.IOException: Disk quota exceeded

2022-07-13 14:50:25 2649

原创 Oracle表空间扩容

https://blog.csdn.net/zhydream77/article/details/81354207

2021-10-26 14:17:35 178

原创 Azkaban启动报错解决

环境:一台虚拟机(web和exector都在一台机器上)MySQL 8.x(后面的问题多因他而起)Hive-3.1.2Azkaban-exec-server-3.84.4Azkaban-web-server-3.84.41、SLF4J问题:ERROR [StdOutErrRedirect] [Azkaban] SLF4J: Class path contains multiple SLF4J bindings.2021/09/30 10:02:31.820 +0800 ERROR [StdO

2021-09-30 13:55:53 2872

原创 (Sqoop报错记录) Encountered IOException running import job: java.io.IOException: Hive exite

ERROR tool.ImportTool: Encountered IOException running import job: java.io.IOException: Hive exited with status 642021-09-29 16:15:31,487 INFO hive.HiveImport: FAILED: SemanticException Line 2:17 Invalid path ''hdfs://192.168.8.131:9000/user/root/_sqoop/0

2021-09-29 17:05:43 2769

原创 运行Sqoop的job省略输入MySQL密码

创建job: ods_inc_test3vim test001.shsqoop job --create ods_inc_test3 -- import \--connect jdbc:mysql://localhost:3306/zhutest \--username root \--password root \--table origin_test1 \--incremental lastmodified \--check-column oper_time \--last-valu

2021-09-28 17:35:58 118

原创 Exception in thread “main“ java.lang.NoClassDefFoundError: org/apache/spark/internal/Logging$class

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/internal/Logging$class at io.github.interestinglab.waterdrop.Waterdrop$.<init>(Waterdrop.scala:21) at io.github.interestinglab.waterdrop.Waterdrop$.<clinit>(Waterdrop

2021-09-23 15:08:03 1259

原创 Sqoop找不到主类:Error: Could not find or load main class org.apache.sqoop.Sqoop

Sqoop找不到主类:Error: Could not find or load main class org.apache.sqoop.Sqoop解决方案:1、下载sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz包(某硅谷有)2、解压后将sqoop-1.4.6.jar放到hadoop的lib目录下3、修改/etc/profilevim /etc/profile#sqoop export SQOOP_HOME=/opt/module/sqoopexport

2021-09-22 16:05:05 177

原创 (报错记录)NoClassDefFoundError: jline/console/completer/ArgumentCompleter$ArgumentDelimiter

使用sqoop进行数据导入的时候出现报错:Exception in thread “main” java.lang.NoClassDefFoundError: jline/console/completer/ArgumentCompleter$ArgumentDelimiterCaused by: java.lang.ClassNotFoundException: jline.console.completer.ArgumentCompleter$ArgumentDelimiter解决方法:Hado

2021-09-17 14:30:48 652

原创 (可用备份)Zookeeper和Kafka安装

准备工作完成安装完成Zookeeper-3.6.3安装完成Kafka_2.12-2.5.0Zookeeper命令zkServer.sh start|stop|restart|status启动Kafka./kafka-server-start.sh ../config/server.propertiesZookeeper安装参考:https://www.jianshu.com/p/ed6ec88b01c3Kafka安装参考:https://kingyifan.blog.csdn.net

2021-09-10 08:58:20 98

原创 (Linux报错记录)Permission denied: user=anonymous, access=WRITE, inode=“/user/hive/warehouse/

Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got exception: org.apache.hadoop.security.AccessControlException Permission denied: user=anonymous, access=WRITE, in

2021-09-07 11:23:10 1743

原创 FAILED: ParseException line 1:47 cannot recognize input near ‘date‘ ‘TIMESTAMP‘ ‘)‘ in column name

使用kettle创建hive表时,出现的错误信息:Error while compiling statement: FAILED: ParseException line 1:47 cannot recognize input near ‘date’ ‘TIMESTAMP’ ‘)’ in column name or constraint创表语句CREATE TABLE mysql2hive(id DOUBLE,uname STRING,date TIMESTAMP);解决方案:这个实际上是

2021-09-07 10:59:03 7087 1

原创 (报错记录)Could not retrieve transation read-only status server

在使用Kettle对MySQL表进行创建时,出现报错信息:Could not retrieve transation read-only status server解决方案(两种):推荐第一种第一种:在kettle安装目录的lib中加入两个MySQL-Connect jar包,加入5.1.47(最好和自己的MySQL版本一致)和8.0.26(最新版本)第二种:修改MySQL的只读权限。这个我试了一下没有成功,具体可以参考下面文章。https://blog.csdn.net/u010648555/a

2021-09-07 09:51:24 796

原创 (可用备份)Centos7.x部署Clickhourse

先贴上Clickhouse的官方文档:https://clickhouse.tech/docs/zh/getting-started/install/环境准备:Centos 7clickhouse需要el7的适配一、安装先检测是否支持SSE 4.2的命令:$ grep -q sse4_2 /proc/cpuinfo && echo "SSE 4.2 supported" || echo "SSE 4.2 not supported"使用yum源装配(亲测可用):添加 yu

2021-08-19 16:23:42 169

原创 (Linux报错记录)PGsql,could not connect to server:Connection refused(0x0000274D/10061)

问题描述:装完Greenplum6.40后出现的报错:PostgreSQL连接出错,could not connect to server:Connection refused(0x0000274D/10061)解决方案(仅供参考):检查防火墙有没有开放5432端口,我的防火墙是关闭的,但是重新开启防火墙后,再开放5432端口,就可以连接上了。查看防火墙状态:systemctl status firewalld开启/关闭防火墙:systemctl start firewalldsystemc

2021-08-18 18:33:57 2020

原创 Linux文件传输(服务器之间)

想从别人的服务器中传输文件,Linux中有一个好用的命令。复制目录下的所有文件:scp -r 对方的地址(要保证能够ping通)scp -r 172.xx.x.xxx:/data/(目标文件目录) /(本机指定目录)

2021-08-16 15:27:45 84

原创 (Linux报错记录)报错:ping: www.baidu.com: Name or service not known

问题描述:昨天还能ping通baidu,今天起来发现报了这个错误。解决方案:第一步,先win+r,在cmd中尝试ping 192.168.8.130(我的虚拟机地址),发现能够ping通(那么大概率是DNS域名解析的问题)第二步:在Linux中修改网络配置vi /ect/syconfig/network-scripts/ifcfg-ens32添加上DNS1=114.114.114.114然后保存退出,重启网络service network restart再ping一次发现能够pin

2021-08-06 10:58:35 994

原创 (Linux报错记录)开启Redis报错:Creating Server TCP listening socket *:6379: bind: Address already in use

[root@localhost src]# ./redis-server1306:C 05 Aug 15:35:57.721 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo1306:C 05 Aug 15:35:57.721 # Redis version=4.0.6, bits=64, commit=00000000, modified=0, pid=1306, just started1306:C 05 Aug 15:35:57.721 # Warn

2021-08-05 15:49:18 421

原创 (Linux报错记录)yum update报错记录:缺少 libmysqlclient.so.18()(64bit)包

You could try using --skip-broken to work around the problem** Found 2 pre-existing rpmdb problem(s), ‘yum check’ output follows:2:postfix-2.10.1-6.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)2:postfix-2.10.1-6.el7.x86_64 has missing

2021-08-05 11:19:27 1429 2

原创 2021-7-12 Git安装与使用

2021-7-12 Git安装与使用一、Git是什么Git是目前最流行的分布式版本控制系统[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ukrY1cSX-1626170328152)(C:\Users\dell\AppData\Roaming\Typora\typora-user-images\image-20210712140035353.png)]https://www.jianshu.com/p/93738d041381二、和SVN最主要的区别SVN是集中式

2021-07-13 18:00:32 240

原创 URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)(2021-07-12)

在IDEA写Mybatis配置文件时,在XML文件中出现的错误。URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)错误描述:标识符未注册解决步骤:左上角File -> Settings -> Languages & Frameworks -> Schemas and DTDs粘贴,点击OK即可。参考:https://blog.csdn.net/weixin_4

2021-07-12 19:22:04 135

原创 Java错误:No enclosing instance of type _141_环形链表 is accessible. Must qualify the allocation with an en

报错:No enclosing instance of type _141_环形链表 is accessible. Must qualify the allocation with an enclosing instance of type _141_环形链表 (e.g. x.new A() where x is an instance of _141_环形链表).报错描述:没有封闭的实例类型_141_环形链表是可访问的。必须有资格分配一个封闭的实例类型_141_环形链表(例如x.new的(),x是一个

2021-04-28 15:13:24 112

原创 面向对象 和 面向过程 思想概述

https://blog.csdn.net/sugar_no1/article/details/86366714

2021-04-20 16:39:59 68

原创 Failed to resolve:com.github.xxx错误(Android Studio错误)

Failed to resolve:com.github.xxx错误(Android Studio错误)导入旧项目后出现这个错误Failed to resolve:com.github.xxx如果项目导入的是第三方开源的类库,则有可能出现这个问题。解决方法:查看build.gradle(project)中的是否引入出错maven { url 'https://jitpack.io'}正确做法如下:将其放到allproject下的repositories中去[外链图片转存失败,源站可能有

2021-03-31 16:14:10 3155 1

原创 Android Studio错误解决Could not GET xxx, Received status code 400 from server: Bad Request(亲测可用)

Android Studio 4.01 版本导入项目时候出现Gradle报错:Could not GET xxx, Received status code 400 from server: Bad Request原因:有墙,无法访问解决方案:在build.gradle添加阿里云镜像!依旧报错!Could not GET xxx, Received status code 400 from server: Bad Request还是报错400,但是阿里云仓库可以正常访问,查阅资料得知问题出在

2021-03-30 14:01:04 1324 1

原创 在测试Redis中出现一个错误:org.springframework.beans.factory.BeanCreationException

在完成商城项目过程中遇到这样一个关于redis的错误:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.jdd.user.test.RedisTest': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanNotOfRequ

2021-03-15 17:37:10 655 1

原创 Centos更换镜像源(亲测可用)

2020-12-02 centos 停止更新centos 6,导致yum出现报错解决方案:1、进入 /etc/yum.repo.d/ 文件夹,先将原来的CentOS-Base.repo备份2、然后编辑CentOS-Base.repo,复制下面的内容把原内容覆盖3、yum clean4、yum makecache# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the

2021-01-31 14:20:50 918

原创 Failed to auto-configure a DataSource: ‘spring.datasource.url‘ is not specified and no embedded data

Failed to auto-configure a DataSource: ‘spring.datasource.url’ is not specified and no embedded datasource could be auto-configured.Reason: Failed to determine a suitable driver class

2021-01-14 17:07:03 1648 1

原创 java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @Context

解决测试类报错:java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use@ContextConfiguration or @SpringBootTest(classes=…) with your test简而言之:就是找不到你的SpringBoot的启动类解决方案:1、查看启动类Applicaition和测试类的包名是否在同一个目录下启动类package cn.XXX

2021-01-08 00:33:17 168

原创 记录错误: *Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column ‘spec_templa

Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column ‘spec_template’ in ‘field list’The error may involve edu.xalead.dao.SpuDetailDao.insert-InlineThe error occurred while setting parametersSQL: INSE

2020-12-28 02:28:22 536

原创 Linux6.5上安装FastDFS和Nginx,上传图片后出现访问404问题

在做的项目需要用到linux上安装和部署FastDFS和Nginx,网上已经有非常详细的安装教程,上传图片的时候成功,但是在用浏览器访问的时候出现了404的错误。1、首先检查访问路径:http://192.168.93.88/group1/M00/00/00/wKhdWF-50H-ASHyGAAWdtqhUyzI282.png(后缀主要看你生成的类型,不同也无妨,一般为.jpg或者.png)2、检查FastDFS和Nginx是否正常运行ps -ef | grep nginxps -ef | g

2020-11-22 21:30:23 1282 1

原创 修改yml文件解决在数据库出现中文字符乱码问题

添加了用中文命名的,在页面和数据库中都显示乱码解决方案:去到配置appliction.yml配置文件下:spring: application: name: item-service datasource: url: jdbc:mysql://localhost:3306/jdd username: root password: XXXXXX hikari: maximum-pool-size: 30 minimum-idle:

2020-11-19 18:17:45 2238

原创 HikariPool-1 - Exception during pool initialization.报错解决

项目报错:HikariPool-1 - Exception during pool initialization.com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure原因是:JDBC连接有异常先检查mysql是否启动的问题,如果没问题再在连接服务器的yaml文件下找url、usename\password是否写错。...

2020-11-15 01:22:05 5924

原创 java: Annotation processing is not supported for module cycles.模块循环依赖解决方案

项目报错:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [JDD-common,JDD-item-interface] are excluded from annotation processing简而言之: JDD-common,JDD-item-interface 这两个模块存在循环依赖。解决方案:先分析模块之间的依赖接着在出现

2020-11-14 23:16:15 11829 5

原创 Error during filtering com.netflix.zuul.exception.ZuulException: Filter threw Exceptions错误解决

启动项目的微服务组件的时候,总是在微服务的网关那出现这个错误Error during filtering com.netflix.zuul.exception.ZuulException: Filter threw Exception查阅了网上资料:原因可能是有一些请求的请求时间太长,触发了熔断器导致。解决方案:在yml配置文件上加上即可,如果还是不行,把熔断时间、连接超时时间、通信超时时间都改大即可。ribbon: ConnectTimeot: 10000 # 连接超时时间(ms) Rea

2020-11-09 01:20:15 15096

原创 网络编程中PrintWriter的write()方法、print()和println()的区别

在网络编程中,实现客户端和服务器端的读写操作的时候一定要注意规范,就是读写的规定要统一!还要注意的是write()方法、print()和println()这三个方法的细小区别,的前提是读取使用的是bf.readLine()。服务器代码:客户端代码:报错信息:我调试了半天,都想不明白到底18行(上面蓝色行)bf.readLine()错在哪里,因为前面客户端已经能把字符串写进去,但是就是读不出来!问题的关键,读的这个bf.readLine()的格式是这样的:Reads a line of te

2020-10-27 02:15:02 1547 1

原创 蓝桥杯非空子串练习

public class 非空子串1 { public static void main(String[] args) { //非空子串 首先想到这个 hashset这个是非重复的 //遍历 是一定的 长度至少为1 Scanner sc = new Scanner(System.in); String ss= sc.nextLine(); HashSet<String> set= new HashSet<>(); int coun = 0;//记录执行了几

2020-10-16 16:39:54 233

原创 Xshell 6强制更新

Xshell 6出现强制更新,解决步骤:找到安装目录的 nslicense.dll文件复制出来下载c32asm用c32asm以16进制形式打开nslicense搜索16进制: 7F0C81F98033E1010F8680替换成 : 7F0C81F98033E1010F8380也就是将最后两位86替换成83 然后保存,并替换文件(注意:搜索的时候选择搜索十六进制)工具:c32asm下载链接:https://pan.baidu.com/s/1w4m52Gl7kgQ93hKH6Yk4VA

2020-10-16 01:47:25 802

原创 Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException报错

写了Controller类返回json数据文件时候报错This application has no explicit mapping for /error, so you are seeing this as a fallback.回到idear发现报错:Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connec

2020-10-03 23:12:31 11641

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除