<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nobu-q</author_name>
  <author_url>https://blog.hatena.ne.jp/nobu-q/</author_url>
  <blog_title>nobu-qの日記</blog_title>
  <blog_url>https://nobu-q.hatenadiary.org/</blog_url>
  <categories>
    <anon>Hadoop</anon>
    <anon>memo</anon>
  </categories>
  <description>まだ実装面まで踏み込んでる訳じゃないので、あくまで俺メモ。参考にはならない。HDFSでは大きなファイルを細かく刻んで色んなノードに保存している。当然データの切れ目は勝手に決められるのでその辺はどうしようもない。ここで、ある馬鹿でかいテキストファイルの行数をMapReduceで数える事を考える。 conf.setInputFormat(TextInputFormat.class);こうすると入力を一行単位でMapperに渡してくれるので、WordCountをちょこっといじくって public void map(略) { output.collect(new Text(&quot;Lines&quot;), one)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnobu-q.hatenadiary.org%2Fentry%2F20081002%2F1222913495&quot; title=&quot; 64MBに切り分けられたブロック境界の扱われ方 - nobu-qの日記&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>2008-10-02 11:11:35</published>
  <title> 64MBに切り分けられたブロック境界の扱われ方</title>
  <type>rich</type>
  <url>https://nobu-q.hatenadiary.org/entry/20081002/1222913495</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
