摘要:https://zhuanlan.zhihu.com/p/21673805
阅读全文
随笔分类 - Java
摘要:https://blog.csdn.net/hellozpc/article/details/80878563
阅读全文
摘要:https://www.cnblogs.com/niutao/p/10548003.html 1. maven导入avro dependency 2. maven导入avro的构建插件 3. 在${project.basedir}/src/main/avro/ 下导入json文件,就是所谓的数据sc
阅读全文
摘要:在SpringBoot上使用spark的时候会遇到的混合编译问题,在java代码中打包会找不到scala定义的包,即可参考使用如下配置。 or reference: https://www.jianshu.com/p/c2f4f14200b1 https://www.cnblogs.com/shen
阅读全文
摘要:1. maven-jar-plugin configuration in pom.xml build->plugins->plugin node. then we can use java -jar assemble-file.jar to execute the application. note
阅读全文
摘要:最近在使用IntelliJ IDEA编译Apache Guacamole Web项目时,遇到了一个罕见的bug:"Error:java: 发现警告, 但指定了 -Werror",见此bug,前所未闻,谷歌之,无果。 遂略加思索,-Werror这个flag在gcc编译的时候见过, 意为要求gcc将所有
阅读全文
摘要:GMT UTC WET WET CET CET MET CET ECT CET EET EET MIT Pacific/Apia HST Pacific/Honolulu AST America/Anchorage PST America/Los_Angeles MST America/Denver PNT America/Phoenix CST America/Chicago EST Ameri
阅读全文
摘要:1. find the target process id of your java app in my case: and I wana to find the location of flume app in localmachine 2. use ps auxef | grep {proces
阅读全文
摘要:在使用hive或者是kylin时,可以选择文件的压缩格式,但是这个需要有hadoop native库的支持,默认情况下,hadoop官方发布的二进制包中是不包含native库的,所以无法使用一些压缩相关的算法。本例中选择自己手动编译hadoop源码,并将native文件部署到hadoop安装目录/l
阅读全文
只有注册用户登录后才能阅读该文。
只有注册用户登录后才能阅读该文。
只有注册用户登录后才能阅读该文。
摘要:1. setup debug configuration mainClass: VMOption: Program Arguments: Work directory: Use classpath of module:
阅读全文
摘要:Statement stmt = connection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); stmt.setFetchSize(Integer.MIN_VALUE); return stmt;
阅读全文
摘要:1 package com.aliyun.dts.connect; 2 3 import com.alibaba.fastjson.JSONObject; 4 import com.aliyun.drc.client.message.DataMessage; 5 import com.aliyun.drc.clusterclient.ClusterClient; 6 i...
阅读全文