<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Zookeeper on EUB's second brain</title><link>https://eubnara.github.io/ko/tags/zookeeper/</link><description>Recent content in Zookeeper on EUB's second brain</description><generator>Hugo -- 0.162.1</generator><language>ko-kr</language><lastBuildDate>Sat, 25 May 2024 22:34:00 +0900</lastBuildDate><atom:link href="https://eubnara.github.io/ko/tags/zookeeper/index.xml" rel="self" type="application/rss+xml"/><item><title>"jute.maxbuffer" 관련 모니터링 지표</title><link>https://eubnara.github.io/ko/computer-science/hadoop/monitoring-jute.maxbuffer/</link><pubDate>Sat, 25 May 2024 22:34:00 +0900</pubDate><guid>https://eubnara.github.io/ko/computer-science/hadoop/monitoring-jute.maxbuffer/</guid><description>&lt;p&gt;ZooKeeper 사용 시 &amp;ldquo;jute.maxbuffer&amp;quot;라는 설정이 있다. ZooKeeper 클라이언트 또는 서버 측에서 설정 가능하며, 클라이언트 측 설정값은 서버 측보다 낮아야 한다.
클라이언트가 이 설정값보다 큰 데이터를 받으면 오류가 발생한다.&lt;/p&gt;
&lt;p&gt;관련 이슈:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://issues.apache.org/jira/browse/HIVE-21993"&gt;https://issues.apache.org/jira/browse/HIVE-21993&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://issues.apache.org/jira/browse/YARN-2962"&gt;https://issues.apache.org/jira/browse/YARN-2962&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;이러한 오류를 방지하기 위해 ZooKeeper에서 다음 지표를 모니터링해야 한다.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;last_client_response_size&lt;/code&gt; 또는 &lt;code&gt;max_client_response_size&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;client_response_size&lt;/code&gt;는 ZooKeeper 서버에서 클라이언트로의 응답 크기(바이트)다.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;last_proposal_size&lt;/code&gt; 또는 &lt;code&gt;max_proposal_size&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;proposal_size&lt;/code&gt;는 ZooKeeper 서버 리더가 팔로워로 보내는 proposal 크기(바이트)다.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;proposal&lt;/code&gt;에 대한 자세한 내용은 &lt;a href="https://zookeeper.apache.org/doc/r3.7.1/zookeeperInternals.html"&gt;https://zookeeper.apache.org/doc/r3.7.1/zookeeperInternals.html&lt;/a&gt; 참고.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;이 값들은 &lt;code&gt;jute.maxbuffer&lt;/code&gt;보다 낮아야 한다. 이 설정은 &lt;code&gt;-Djute.maxbuffer=10485760&lt;/code&gt; (10MB)와 같은 JVM 인자로 설정할 수 있다.&lt;/p&gt;</description></item></channel></rss>