<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tagomoris</author_name>
  <author_url>https://blog.hatena.ne.jp/tagomoris/</author_url>
  <blog_title>たごもりすメモ</blog_title>
  <blog_url>https://tagomoris.hatenablog.com/</blog_url>
  <categories>
    <anon>Hadoop</anon>
    <anon>Hive</anon>
  </categories>
  <description>YARN使っててHDFSにログを吐くよう設定してるとアホみたいにたまっていくので削除しないとやばい。 とりあえず10日経過したら削除するようにした。 ( for searchpath in '/tmp/hive-*' '/mr-history/done/*/*' '/mr-history/tmp/*' '/yarn/user/*/.staging' '/yarn/log/apps/*/logs'; do hdfs dfs -ls &quot;$searchpath&quot; | grep -v '^Found [0-9]* items' | \ perl -MTime::Piece -MTime::Second…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftagomoris.hatenablog.com%2Fentry%2F20130201%2F1359718195&quot; title=&quot;YARN/Hiveな環境で大量の一時ファイルとログをごりごり削除する - たごもりすメモ&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>2013-02-01 20:29:55</published>
  <title>YARN/Hiveな環境で大量の一時ファイルとログをごりごり削除する</title>
  <type>rich</type>
  <url>https://tagomoris.hatenablog.com/entry/20130201/1359718195</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
