摘要: 首先举例说明 api的基本使用方式 接下来进行一些核心类和源码的分析 AppendBlockLogEventTableMapLogEventUserVarLogEventXidLogEventStopLogEventRowsLogEventRotateLogEventBeginLoadQueryLo 阅读全文
posted @ 2016-03-31 10:43 fyzjhh 阅读(708) 评论(0) 推荐(0) 编辑
摘要: 下载解压 bash-3.2 编译bash export LFS=/my/soft/mylfs tar xvf $LFS/sources/bash-3.2.tar.gz -C $LFS/sources/ cd $LFS/sources/bash-3.2/ patch -Np1 -i ../bash-3 阅读全文
posted @ 2016-02-25 10:20 fyzjhh 阅读(2332) 评论(0) 推荐(0) 编辑
摘要: man bash 查看bash的命令帮助 info bash 查看bash的文档 help 命令显示bash支持的命令: 如果想看某个命令的帮助可以 help 命令。如 help cd 对bash的命令进行man 的话,会调到bash的帮助页面 阅读全文
posted @ 2016-02-25 10:12 fyzjhh 阅读(641) 评论(0) 推荐(0) 编辑
摘要: mvn命令格式: You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-ve 阅读全文
posted @ 2016-02-23 15:36 fyzjhh 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 例子1: private static void test_1(String[] args) throws Exception { ST hello = new ST("Hello, <name>"); hello.add("name", "World"); System.out.println(h 阅读全文
posted @ 2016-02-05 11:11 fyzjhh 阅读(739) 评论(0) 推荐(0) 编辑
摘要: 背景线上有很多的数据库在运行,后台需要一个分析用户行为的数据仓库。目前比较流行的是mysql和hadoop平台。现在的问题是,如何将线上的mysql数据实时的同步到hadoop中,以供分析。这篇文章就是利用tungsten-replicator来实现。环境由于tungsten-replicator依... 阅读全文
posted @ 2014-12-18 20:25 fyzjhh 阅读(2642) 评论(1) 推荐(0) 编辑