<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yoshitetsu</author_name>
  <author_url>https://blog.hatena.ne.jp/yoshitetsu/</author_url>
  <blog_title>yoshitetsuの日記</blog_title>
  <blog_url>https://yoshitetsu.hatenadiary.org/</blog_url>
  <categories>
    <anon>hadoop</anon>
  </categories>
  <description>通常hadoopの処理結果は part-00000 ファイルにすべて書かれる。 ほとんどの場合それで問題ないが、時には処理結果を複数に分けたいこともある。たとえば、解析結果を日付ごとに出力したいとかよく起こりそうだ。そういった場合、Hadoop 0.19.0 から導入された MultipleOutputs を使うと便利。下のようにすれば解析結果を複数ファイルに出力できる。 //Job configuration JobConf conf = new JobConf(); conf.setInputPath(inDir); FileOutputFormat.setOutputPath(conf,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshitetsu.hatenadiary.org%2Fentry%2F20090126%2F1232965554&quot; title=&quot;MultipleOutputs - yoshitetsuの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-01-26 19:25:54</published>
  <title>MultipleOutputs</title>
  <type>rich</type>
  <url>https://yoshitetsu.hatenadiary.org/entry/20090126/1232965554</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
