<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>panzer-jagdironscrap1</author_name>
  <author_url>https://blog.hatena.ne.jp/panzer-jagdironscrap1/</author_url>
  <blog_title>なんとな～くしあわせ？の日記</blog_title>
  <blog_url>https://nantonaku-shiawase.hatenablog.com/</blog_url>
  <categories>
    <anon>Hadoop</anon>
    <anon>Java</anon>
    <anon>Pig</anon>
  </categories>
  <description>Apache PigでShift_JISテキストをUTF-8化 hdfs上にファイルを取り込む際、デフォルトの文字コードはUTF-8らしい。 どうやって取り込むか悩んだが、UDFという方法を見つけた。 User Defined Function：UDF Pig ユーザー定義関数メモ(Hishidama's Apache Pig UDF Memo) ひしだまさんのサイトに載っている通りEvalFuncを継承するクラスを作成し、exec関数を実装する。 Conv2Utf8 このソースをmavenを使ってjarファイル化し、「conv2utf8-1.0-SNAPSHOT.jar」とかにしておく pa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnantonaku-shiawase.hatenablog.com%2Fentry%2F2017%2F03%2F22%2F130951&quot; title=&quot;Apache PigでShift_JISテキストをUTF-8化 - なんとな～くしあわせ？の日記&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>2017-03-22 13:09:51</published>
  <title>Apache PigでShift_JISテキストをUTF-8化</title>
  <type>rich</type>
  <url>https://nantonaku-shiawase.hatenablog.com/entry/2017/03/22/130951</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
