<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>terurou</author_name>
  <author_url>https://blog.hatena.ne.jp/terurou/</author_url>
  <blog_title>terurouメモ</blog_title>
  <blog_url>https://terurou.hateblo.jp/</blog_url>
  <categories>
    <anon>ZooKeeper</anon>
  </categories>
  <description>ZooKeeperに100万件ぐらいノードを投入して、getChildren()するとConnectionが強制的に切断されてKeeperExceptionが発生する。 原因 クライアント側で受信したパケットサイズが大きくなりすぎると（デフォルト4MB）、強制的にConnectionを閉じるようになっている。 対処法 クライアント側のJVM起動時に システムプロパティ：jute.maxbuffer を設定する。16MBを上限とする場合は以下のようになる。 java -Djute.maxbuffer=16777216 ... ちなみにZooKeeper Administrator's Guide…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fterurou.hateblo.jp%2Fentry%2F20101111%2F1289467682&quot; title=&quot;ZooKeeperでgetChildren()で大量のノードを取得しようとするとKeeperExceptionがスローされる - terurouメモ&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>2010-11-11 18:28:02</published>
  <title>ZooKeeperでgetChildren()で大量のノードを取得しようとするとKeeperExceptionがスローされる</title>
  <type>rich</type>
  <url>https://terurou.hateblo.jp/entry/20101111/1289467682</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
