9 luyee2010

尚未进行身份认证

暂无相关简介

等级
TA的排名 1k+

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执行如下命令,StringkillCommand=String.format("ps-ef|grepjava|grep'kafka_sink_partitition_test_2019_0730/conf/'|awk'{print$2}'|xargskill-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)

gitpush$gitpushfatal:Youarenotcurrentlyonabranch.Topushthehistoryleadingtothecurrent(detachedHEAD)statenow,usegitstatus$gitstatusHEADdetachedfromda74766nothing...

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

spark sql functions

org.apache.spark.sql.functions是一个Object,提供了很多函数。https://spark.apache.org/docs/2.3.1/api/java/org/apache/spark/sql/functions.html

2019-03-22 10:26:33

printStackTrace&getMessage

package com.ly.test.fql;import org.slf4j.Logger;import org.slf4j.LoggerFactory;public class TestPrintStackTrace { private static final Logger LOG = LoggerFactory.getLogger(TestPrintStackTrac...

2019-02-18 21:19:10

Error:(52, 75) not found: value TCLIService public abstract class ThriftCLIService extends AbstractS

maven编译完spark2.2.0,然后导入maven项目File-->new->Import project from external model-->maven方便hive-thriftserver的代码,记得select profiles 页勾选hive-thriftserver导入maven项目到idea 出现错误Error:(52, 75) not...

2019-02-13 13:27:03

Error occurred during initialization of VM Could not reserve enough space for object heap

maven  编译报错D:\code\github\spark> set MAVEN_OPTS= -Xms2000m -Xmx2000mD:\code\github\spark> mvn clean install package   -DskipTests  -Dcheckstyle.skip=trueError occurred during initializatio...

2019-02-13 10:53:03

EINVRES Request to https://bower.herokuapp.com/packages/ failed with 502

解决方案:在.bowerrc文件添加:{ "registry": "https://registry.bower.io"}  

2019-01-25 17:41:50

“Received fatal alert: protocol_version” or “peer not authenticated”

maven编译的时候碰到解决方案:exportMAVEN_OPTS=-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2也可以通过在mvn前面添加 mvn-Dhttps.protocols=TLSv1.2install

2019-01-24 14:37:03

python 日期时间

>>> print datetime.date.today().strftime('%Y%m%d')20180302>>> print (datetime.date.today()-datetime.timedelta(days=30)).strftime('%Y%m%d') 20180131

2018-03-02 11:27:56

java.lang.AbstractMethodError: com.alibaba.otter.canal.common.zookeeper.ZooKeeperx.writeDat aReturnS

错误java.lang.AbstractMethodErrorjava.lang.AbstractMethodError: com.alibaba.otter.canal.common.zookeeper.ZooKeeperx.writeDataReturnStat(Ljava/lang/String;[BI)Lorg/apache/zookeeper/data/Stat;

2018-01-16 17:49:39

mac 下du --max-depth

du-hd1

2018-01-15 11:35:02

查看更多

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