上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 27 下一页
摘要: hadoop fs:使用面最广,可以操作任何文件系统。hadoop dfs与hdfs dfs:只能操作HDFS文件系统相关(包括与Local FS间的操作),前者已经Deprecated,一般使用后者。以下内容参考自stackoverflowFollowing are the three comma... 阅读全文
posted @ 2014-07-10 09:29 eagleGeek 阅读(1031) 评论(0) 推荐(0) 编辑
摘要: 1、Shell$ExitCodeException现象:运行hadoop job时出现如下异常:14/07/09 14:42:50 INFO mapreduce.Job: Task Id : attempt_1404886826875_0007_m_000000_1, Status : FAILED... 阅读全文
posted @ 2014-07-09 15:02 eagleGeek 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 注意:以下内容在2.x版本与1.x版本同样适用,已在2.4.1与1.2.0进行测试。一、前期准备1、创建伪分布Hadoop环境,请参考官方文档。或者http://blog.csdn.net/jediael_lu/article/details/386372772、准备数据文件如下sample.txt... 阅读全文
posted @ 2014-07-09 13:21 eagleGeek 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 转载自官方文档,最新版请见:http://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-common/SingleCluster.html补充:建议添加如下环境变量#hadoop configurationexport PATH=$... 阅读全文
posted @ 2014-07-08 21:16 eagleGeek 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Apache Ivy是一个管理项目依赖的工具。它与MavenApache Maven 构建管理和项目管理工具已经吸引了 Java 开发人员的注意。Maven 引入了 JAR 文件公共存储库的概念,可通过公开的 Web 服务器访问(称为 ibiblio)。Maven 的方法减少了 JAR 文件膨胀的情... 阅读全文
posted @ 2014-07-06 18:11 eagleGeek 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 1、下载相关软件,并解压版本号如下:(1)apache-nutch-2.2.1(2) hbase-0.90.4(3)solr-4.9.0并解压至/usr/search2、Nutch的配置(1)vi /usr/search/apache-nutch-2.2.1/conf/nutch-site.xmls... 阅读全文
posted @ 2014-07-06 14:46 eagleGeek 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 一、Solr学习相关资料1、官方材料(1)快速入门:http://lucene.apache.org/solr/4_9_0/tutorial.html,以自带的example项目快速介绍发Solr的基础使用。(2)API:http://lucene.apache.org/solr/4_9_0/ind... 阅读全文
posted @ 2014-07-02 14:59 eagleGeek 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 转载自 Blog of 天外的星星: http://www.cnblogs.com/leo-lsw/p/log4j2tutorial.htmlLog4j 2的好处就不和大家说了,如果你搜了2,说明你对他已经有一定的了解,并且想用它,所以这里直接就上手了。 1. 去官方下载log4j 2,导入jar... 阅读全文
posted @ 2014-07-01 12:26 eagleGeek 阅读(286) 评论(0) 推荐(0) 编辑
摘要: package org.ljh.test.javaee;import java.text.SimpleDateFormat;import java.util.Date;public class StringToLongToDate { public static String parseTime(... 阅读全文
posted @ 2014-06-30 16:23 eagleGeek 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 先准备测试程序:package org.jediael.util;import static org.junit.Assert.*;import org.junit.Test;public class BasicConfigurationTest { @Test public void testGe... 阅读全文
posted @ 2014-06-28 11:39 eagleGeek 阅读(199) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 27 下一页