hadoop
黑桃_杰克
这个作者很懒,什么都没留下…
展开
-
Hadoop 执行多个job
书上说的不清晰透彻,下面是在StackOverflow上的一个方案,我觉得很好:(1) Cascading jobsCreate the JobConf object "job1" for the first job and set all the parameters with "input" as inputdirectory and "temp" as output directory. E转载 2013-04-29 20:34:55 · 1369 阅读 · 0 评论 -
使用java api操作Hadoop文件
. 概述 hadoop中关于文件操作类基本上全部是在org.apache.hadoop.fs包中,这些api能够支持的操作包含:打开文件,读写文件,删除文件等。 hadoop类库中最终面向用户提供的接口类是FileSystem,该类是个抽象类,只能通过来类的get方法得到具体类。get方法存在几个重载版本,常用的是这个: static FileSystem get(Configuratio转载 2013-05-02 18:12:48 · 724 阅读 · 0 评论