10 luyee2010

尚未进行身份认证

我要认证

暂无相关简介

等级
TA的排名 2k+

数据湖DeltaLake导入idea报错DeltaSqlBaseBaseListener is already defined as class DeltaSqlBaseBaseListener

sbt编译完导入idea后报错DeltaSqlBaseBaseListener is already defined as class DeltaSqlBaseBaseListener这个应该是重复文件吧,删除了target\scala-2.12\src_managed\main 只保留了target\scala-2.12\src_managed\main\antlr4就正常了...

2020-09-18 16:47:20

记一次produces引发的404

发现有个服务快应用过来的请求突然都404(no mapping found)了,但是自己用postman调或者浏览器都正常开始怀疑是url中有乱码,加了个Filter, 这个是正常的,参数什么的也正常,按理是一样的最后实在没招了,想到可能是Header的问题,如果打印出所有的Header,对比快应用与postman的请求请求头Accept跟请求消息体Content-type居然都是application/x-protobuf,而自己的@RequestMapping又设置了prod..

2020-09-02 11:34:05

数据湖DeltaLake编译scalastyle检查错误Failing because of negative scalastyle result

delta编译报错很明显是scalastyle检查的问题,但是sbt不像maven有-skip可以不执行检查, 用scalastyle:on /scalastyle:off 太麻烦,只好把scalastyle-config.xml文件的内容全部删除$ build/sbt compileUsing E:\dev_tools\jdk1.8.0_202\jdk as default JAVA_HOME.Note, this will be overridden by -java-home if it i

2020-07-02 17:23:33

一次日志引发的事故

排查问题加了不少log,直接开启info模式以及console ,导致cpu

2020-06-22 17:12:37

多个泛型CompletableFuture获取结果

获取feed列表通常里边需要依据Id查询用户信息import java.util.HashMap;import java.util.Map;import java.util.concurrent.CompletableFuture;import java.util.concurrent.ExecutionException;import java.util.concurrent.atomic.AtomicLong;public class BatchCompletableFutureTes

2020-05-26 16:54:02

Elasticsearch "reason": "date_time_parse_exception: Text '1588707487000' could not be parsed at inde

mapping{ "properties": { "createDate": { "type": "date", "format": "yyyy-MM-dd HH:mm:ss" }, "id": { "type": "long" }

2020-05-11 21:03:57

ArrayBlockingQueue 自己坑了CPU搞出100%

写监控给自己挖了个坑哈哈,入队列肯定是不阻塞的,不入成功出队列写了个while poll

2020-05-07 10:38:50

elasticsearch long类型出现精度丢失问题

建立schema添加doc17位postman结果es 后台查询结果js, 精度会丢失实际19位也可以?20位好像不行

2020-04-29 10:53:24

fidder抓取firefox请求

1.选着tools--->options--->Connections,点击Copy Brower Proxy Configuration URL2.还是在Firefox浏览器:选项中->常规->网络代理->设置->自动代理配置的Url(PAC),ctrl+V粘贴刚刚复制的fiddler代理地址...

2020-03-25 15:00:03

301 Moved Permanently > websocket: bad handshake

1.SSL 配置 FULL2.Authenticated Origin Pulls,开启ON

2019-09-20 15:39:48

mybatis 返回主键

插入返回主键 <insert id="insertSelective" useGeneratedKeys="true" keyProperty="id" keyColumn="Fid" parameterType="com.dao.domain.calculationv2.ComputeDebug" >1,useGeneratedKeys="true" 2,keyP...

2019-09-18 15:59:24

mybatis-generator-maven-plugin不生成WithBLOB结尾命名的domain

pom <build> <finalName>MybatisGen</finalName> <plugins> <plugin> <groupId>org.mybatis.generator</groupId> ...

2019-09-12 09:49:30

flink1.9 源码编译

之前编译过blink,感觉很顺利,这次1.9 release 编译好几次都没成功。。。git clone https://github.com/apache/flink.gitcd flinkgit checkout release-1.9mvn clean install -DskipTests -Drat.skip=true一开始习惯的使用,编译好几次都失败了,-D...

2019-08-31 21:00:20

java.lang.UnsupportedOperationException List.clear

用Set实现List去重的代码 public static <S> List<S> removeDedupElement(List<S> list) { TreeSet<S> set = new TreeSet<S>(list); list.clear(); list.addAll(set); return list...

2019-08-21 19:57:46

ProcessBuilder java.io.IOException: Cannot run program error=2, No such file or directory

通过javaProcessBuilder执行如下命令, String killCommand = String.format("ps -ef|grep java|grep 'kafka_sink_partitition_test_2019_0730/conf/'|awk '{print $2}'|xargs kill -9",taskName); try {...

2019-08-13 16:00:12

http json参数乱码

通过传递json参数,生成需要的spark任务模板,生成的Properties文件乱码。主要是http传参与服务端接收参数的问题解决方案客户端 httpPost.setEntity(new StringEntity(GsonUtils.toJsonString(map).toString(),"utf-8"));服务端 HttpServletRequest.setCh...

2019-06-05 18:23:10

fatal: You are not currently on a branch. To push the history leading to the current (detached HEAD)

git push$ git pushfatal: You are not currently on a branch.To push the history leading to the current (detached HEAD)state now, usegit status$ git statusHEAD detached from da74766nothing...

2019-06-05 10:53:43

spark idea java.lang.NoClassDefFoundError

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/fs/FSDataInputStream at org.apache.spark.SparkConf.loadFromSystemProperties(SparkConf.scala:73) at org.apache.spark.Spar...

2019-05-29 15:57:25

Warning:scala: skipping Scala files without a Scala SDK in module(s)

scala 与java 混合的maven项目模块右键--》Add Framework Supporthttps://intellij-support.jetbrains.com/hc/en-us/community/posts/206411529-Add-Scala-SDK-to-module

2019-05-29 10:39:03

eclipse 不能识别scala代码 红叉

eclipse Version: Oxygen.3a Release (4.7.3a)安装了scalaIDE插件4.7.0 Release 与Oxygen兼容安装完后导入包含java,scala的maven项目,scala代码不能识别,都是红叉解决方案:右键单击工程--》Configure--》add scala nature;参考链接:https://stackover...

2019-05-28 15:18:11

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv1
    勤写标兵Lv1
    授予每个自然周发布1篇到3篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。