上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 31 下一页
摘要: http://stackoverflow.com/questions/8768130/removing-watermark-from-a-pdf-using-itextsharp 阅读全文
posted @ 2014-05-16 10:41 悟寰轩-叶秋 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 来自:http://stackoverflow.com/questions/11130145/hadoop-multipleinputs-fails-with-classcastexceptionFollowing up on my comment, the Javadocs forTaggedIn... 阅读全文
posted @ 2014-05-14 10:41 悟寰轩-叶秋 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 使用Struts2,配置一切正常,使用常用tag也正常,但是在使用标记时,发现控制台总是输出警告信息,警告信息内容如下:警告:Noconfigurationfoundforthespecifiedaction: 'ShowMessage' in namespace: ''. Formactionde... 阅读全文
posted @ 2014-04-29 10:36 悟寰轩-叶秋 阅读(651) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/smst1987/article/details/6871495问题:maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported by m2e解决方法: 1 2 3 4 5 org.eclipse.m2e 6 lifecycle-mapping 7 1.0.0 ... 阅读全文
posted @ 2014-04-10 16:40 悟寰轩-叶秋 阅读(2044) 评论(0) 推荐(0) 编辑
摘要: 来自:http://blog.csdn.net/iam333/article/details/18770977最近由于业务需要,需要将flume的数据插入HBase-0.96,利用flume的实时日志收集,实现数据的实时存储。正如前文所 述,flume-ng即flume-1.4.0版本和hbase-0.96结合相对比较容易配置,只需要做一些相关配置,实现自己的 HbaseEventSerializer类,重新编译flume-ng-hbase-sink部分源码并打包即可。但是因为公司以前业务的日志收集使用 的flume不是flume-1.4.0版本,而是flume-0.9.4,所以为了保证对原来 阅读全文
posted @ 2014-03-28 10:24 悟寰轩-叶秋 阅读(2298) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hustcat/archive/2010/06/30/1768506.html1、safemodebin/hadoopfs-put./inputinputput:org.apache.hadoop.hdfs.server.namenode.SafeModeException:Cannotcreatedirectory/user/root/input.Namenodeisinsafemode.解决方法:NameNode在启动的时候首先进入安全模式,如果datanode丢失的block达到一定的比例(1-dfs.safemode.threshold.p 阅读全文
posted @ 2014-03-26 16:29 悟寰轩-叶秋 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 安装: http://redis.io/download在线操作命令:http://try.redis.io/命令查询:https://redis.readthedocs.org/en/latest/index.html 阅读全文
posted @ 2014-03-26 10:48 悟寰轩-叶秋 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1 public class TopK extends Configured implements Tool { 2 3 public static class TopKMapper extends Mapper { 4 5 public static final int K = 100; 6 private TreeMap tm = new TreeMap(); 7 8 @Override 9 protected void map(Object key, Text value, Context context) ... 阅读全文
posted @ 2014-03-26 09:50 悟寰轩-叶秋 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 1 public class GroupComparator implements RawComparator { 2 3 @Override 4 public int compare(MyBinaryKey o1, MyBinaryKey o2) { 5 return o1.toString().compareTo(o2.toString()); 6 } 7 8 @Override 9 public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2) {10 return Writabl... 阅读全文
posted @ 2014-03-26 09:43 悟寰轩-叶秋 阅读(3262) 评论(0) 推荐(0) 编辑
摘要: 来自:http://blog.csdn.net/liuzhoulong/article/details/211121011,下载0.9.0.1http://storm.incubator.apache.org/downloads.html2,安装就jdk,python,zookeeper在服务器 "... 阅读全文
posted @ 2014-03-26 09:34 悟寰轩-叶秋 阅读(945) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 31 下一页