上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 25 下一页
摘要: 配置hadoop环境 配置flume环境 配置flume文件 D:\Soft\apache-flume-1.8.0-bin\conf 将 flume-conf.properties.template 重新命名为 hdfs.properties # 组装 agenta1.sources = s1a1. 阅读全文
posted @ 2019-10-12 09:41 SoyWang 阅读(1287) 评论(0) 推荐(0)
摘要: Kafka 入门 什么是 Kafka kafka最初是 LinkedIn 的一个内部基础设施系统。最初开发的起因是,LinkedIn虽然有了数据库和其他系统可以用来存储数据,但是缺乏一个可以帮助处理持续数据流的组件。所以在设计理念上,开发者不想只是开发一个能够存储数据的系统,如关系数据库、Nosql 阅读全文
posted @ 2019-10-11 22:27 SoyWang 阅读(709) 评论(0) 推荐(0)
摘要: System.out.println(System.getProperty("user.dir"));//当前工作空间 System.out.println(Platform.getInstanceLocation().getURL().getPath());//当前运行空间 阅读全文
posted @ 2019-10-11 14:58 SoyWang 阅读(506) 评论(0) 推荐(0)
摘要: 1.Axis2方式 Axis是apache下一个开源的webservice开发组件,出现的算是比较早了,也比较成熟。这里主要介绍Axis+eclipse开发webservice,当然不用eclipse也可以开发和发布webservice,只是用eclipse会比较方便。 (1)下载eclipse的J 阅读全文
posted @ 2019-10-11 14:48 SoyWang 阅读(1129) 评论(0) 推荐(0)
摘要: public class TestProperties { /** * * @Title: printAllProperty * @Description: 输出所有配置信息 * @param props * @return void * @throws */ private static void 阅读全文
posted @ 2019-10-11 14:44 SoyWang 阅读(754) 评论(0) 推荐(0)
摘要: String[] str1 = {"Hello","world","java"}; String[] str2 = {"Veriable","syntax","interator"}; int str1Length = str1.length; int str2length = str2.length; str1 = Arrays.copyOf(str1, str1Length+str2lengt 阅读全文
posted @ 2019-10-11 14:43 SoyWang 阅读(116) 评论(0) 推荐(0)
摘要: package com.sunshen.jfids.testWebService.task; import java.io.File; import java.io.StringWriter; import com.sunsheen.jfids.dom4j.Document; import com.sunsheen.jfids.dom4j.DocumentException; import ... 阅读全文
posted @ 2019-10-10 16:01 SoyWang 阅读(773) 评论(0) 推荐(0)
摘要: 远程解压需要的jar包: Java实现文件压缩跟解压: package com.sunsheen.jfids.studio.monitor.utils; import java.io.BufferedReader; import java.io.File; import java.io.FileIn 阅读全文
posted @ 2019-10-10 11:20 SoyWang 阅读(379) 评论(0) 推荐(0)
摘要: 概述 Apache Flume是一个分布式,可靠且可用的系统,用于高效地收集,汇总和将来自多个不同源的大量日志数据移动到集中式数据存储。Apache Flume的使用不仅限于日志数据聚合。由于数据源是可定制的,因此Flume可用于传输大量事件数据,包括但不限于网络流量数据,社交媒体生成的数据,电子邮 阅读全文
posted @ 2019-10-10 09:41 SoyWang 阅读(1444) 评论(0) 推荐(0)
摘要: 前不久因为安装数据库时动了yum安装文档中的参数,导致yum安装软件时总是出现no package等问题,决定重装yum工具。 第一步:下载原有yum安装包 [root@linux-node3 ~]# rpm -qa yumyum-3.4.3-150.el7.centos.noarch[root@l 阅读全文
posted @ 2019-10-09 18:07 SoyWang 阅读(2536) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 25 下一页