05 2018 档案

摘要:1 依赖 <!--远程调用shell--> <dependency> <groupId>ch.ethz.ganymed</groupId> <artifactId>ganymed-ssh2</artifactId> <version>build210</version> </dependency> 阅读全文
posted @ 2018-05-28 11:40 何良 阅读(404) 评论(0) 推荐(0) 编辑
摘要:1 spark关键包 <!--spark--> <dependency> <groupId>fakepath</groupId> <artifactId>spark-core</artifactId> <version>2.10-1.5.1</version> </dependency> <depe 阅读全文
posted @ 2018-05-28 11:35 何良 阅读(728) 评论(0) 推荐(0) 编辑
摘要:public class ReadTextFile { public static void main(String[] args) { pic2txt(); parseFrmFile(); //url2pic(); } private static void parseFrmFile() { Fi 阅读全文
posted @ 2018-05-28 10:51 何良 阅读(200) 评论(1) 推荐(0) 编辑
摘要:网上找了很久没找到2.4.X 想要的java api 工具 自己写了一个,分享一下 导入所需的jar <!-- ElasticSearch begin --> <dependency> <groupId>com.xinyi.search</groupId> <artifactId>elasticse 阅读全文
posted @ 2018-05-27 17:00 何良 阅读(1283) 评论(0) 推荐(0) 编辑
摘要:本地项目运行正常。服务器上运行内存溢出。 项目内部同时做插入oracle,es,hbase 经过测试发现 同时插入es,hbase是服务器上就会出现内存溢出 如果只插入oracle+es 或oracle+hbase 服务器上也能正常运行 通过对比本地电脑和服务器内存配置发现 服务器内存比本地开发环境 阅读全文
posted @ 2018-05-27 11:42 何良 阅读(293) 评论(0) 推荐(0) 编辑
摘要:在eclipse中运行没有任何问题,项目挪到idea之后就报错 Unable to start EmbeddedWebApplicationContext due to miss EmbeddedServletcont 原因:pom.xml中存在<scope>provided</scope> 注掉之 阅读全文
posted @ 2018-05-17 09:39 何良 阅读(122) 评论(0) 推荐(0) 编辑

如果觉得老弟写的还可以,帮忙点个赞,谢谢