소스 검색

ZOOKEEPER-231. Committing updated docs.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@740219 13f79535-47bb-0310-9956-ffa450edef68
Mahadev Konar 16 년 전
부모
커밋
86b4b548ed
2개의 변경된 파일523개의 추가작업 그리고 0개의 파일을 삭제
  1. 271 0
      docs/zookeeperQuotas.html
  2. 252 0
      docs/zookeeperQuotas.pdf

+ 271 - 0
docs/zookeeperQuotas.html

@@ -0,0 +1,271 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.8">
+<meta name="Forrest-skin-name" content="pelt">
+<title>ZooKeeper Quota's Guide</title>
+<link type="text/css" href="skin/basic.css" rel="stylesheet">
+<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
+<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
+<link type="text/css" href="skin/profile.css" rel="stylesheet">
+<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
+<link rel="shortcut icon" href="images/favicon.ico">
+</head>
+<body onload="init()">
+<script type="text/javascript">ndeSetTextSize();</script>
+<div id="top">
+<!--+
+    |breadtrail
+    +-->
+<div class="breadtrail">
+<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://hadoop.apache.org/">Hadoop</a> &gt; <a href="http://hadoop.apache.org/zookeeper/">ZooKeeper</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
+</div>
+<!--+
+    |header
+    +-->
+<div class="header">
+<!--+
+    |start group logo
+    +-->
+<div class="grouplogo">
+<a href="http://hadoop.apache.org/"><img class="logoImage" alt="Hadoop" src="images/hadoop-logo.jpg" title="Apache Hadoop"></a>
+</div>
+<!--+
+    |end group logo
+    +-->
+<!--+
+    |start Project Logo
+    +-->
+<div class="projectlogo">
+<a href="http://hadoop.apache.org/zookeeper/"><img class="logoImage" alt="ZooKeeper" src="images/zookeeper_small.gif" title="ZooKeeper: distributed coordination"></a>
+</div>
+<!--+
+    |end Project Logo
+    +-->
+<!--+
+    |start Search
+    +-->
+<div class="searchbox">
+<form action="http://www.google.com/search" method="get" class="roundtopsmall">
+<input value="hadoop.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">&nbsp; 
+                    <input name="Search" value="Search" type="submit">
+</form>
+</div>
+<!--+
+    |end search
+    +-->
+<!--+
+    |start Tabs
+    +-->
+<ul id="tabs">
+<li>
+<a class="unselected" href="http://hadoop.apache.org/zookeeper/">Project</a>
+</li>
+<li>
+<a class="unselected" href="http://wiki.apache.org/hadoop/ZooKeeper">Wiki</a>
+</li>
+<li class="current">
+<a class="selected" href="index.html">ZooKeeper 3.1 Documentation</a>
+</li>
+</ul>
+<!--+
+    |end Tabs
+    +-->
+</div>
+</div>
+<div id="main">
+<div id="publishedStrip">
+<!--+
+    |start Subtabs
+    +-->
+<div id="level2tabs"></div>
+<!--+
+    |end Endtabs
+    +-->
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+//  --></script>
+</div>
+<!--+
+    |breadtrail
+    +-->
+<div class="breadtrail">
+
+             &nbsp;
+           </div>
+<!--+
+    |start Menu, mainarea
+    +-->
+<!--+
+    |start Menu
+    +-->
+<div id="menu">
+<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">Overview</div>
+<div id="menu_1.1" class="menuitemgroup">
+<div class="menuitem">
+<a href="index.html">Welcome</a>
+</div>
+<div class="menuitem">
+<a href="zookeeperOver.html">Overview</a>
+</div>
+<div class="menuitem">
+<a href="zookeeperStarted.html">Getting Started</a>
+</div>
+<div class="menuitem">
+<a href="releasenotes.html">Release Notes</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Developer</div>
+<div id="menu_1.2" class="menuitemgroup">
+<div class="menuitem">
+<a href="api/index.html">API Docs</a>
+</div>
+<div class="menuitem">
+<a href="zookeeperProgrammers.html">Programmer's Guide</a>
+</div>
+<div class="menuitem">
+<a href="javaExample.html">Java Example</a>
+</div>
+<div class="menuitem">
+<a href="zookeeperTutorial.html">Barrier and Queue Tutorial</a>
+</div>
+<div class="menuitem">
+<a href="recipes.html">Recipes</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_selected_1.3', 'skin/')" id="menu_selected_1.3Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Admin &amp; Ops</div>
+<div id="menu_selected_1.3" class="selectedmenuitemgroup" style="display: block;">
+<div class="menuitem">
+<a href="zookeeperAdmin.html">Administrator's Guide</a>
+</div>
+<div class="menupage">
+<div class="menupagetitle">Quota Guide</div>
+</div>
+<div class="menuitem">
+<a href="zookeeperJMX.html">JMX</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Contributor</div>
+<div id="menu_1.4" class="menuitemgroup">
+<div class="menuitem">
+<a href="zookeeperInternals.html">ZooKeeper Internals</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.5', 'skin/')" id="menu_1.5Title" class="menutitle">Miscellaneous</div>
+<div id="menu_1.5" class="menuitemgroup">
+<div class="menuitem">
+<a href="http://wiki.apache.org/hadoop/ZooKeeper">Wiki</a>
+</div>
+<div class="menuitem">
+<a href="http://wiki.apache.org/hadoop/ZooKeeper/FAQ">FAQ</a>
+</div>
+<div class="menuitem">
+<a href="http://hadoop.apache.org/zookeeper/mailing_lists.html">Mailing Lists</a>
+</div>
+</div>
+<div id="credit"></div>
+<div id="roundbottom">
+<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
+<!--+
+  |alternative credits
+  +-->
+<div id="credit2"></div>
+</div>
+<!--+
+    |end Menu
+    +-->
+<!--+
+    |start content
+    +-->
+<div id="content">
+<div title="Portable Document Format" class="pdflink">
+<a class="dida" href="zookeeperQuotas.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
+        PDF</a>
+</div>
+<h1>ZooKeeper Quota's Guide</h1>
+<h3>A Guide to Deployment and Administration</h3>
+<div id="minitoc-area">
+<ul class="minitoc">
+<li>
+<a href="#zookeeper_quotas">Quotas</a>
+<ul class="minitoc">
+<li>
+<a href="#Setting+Quotas">Setting Quotas</a>
+</li>
+<li>
+<a href="#Listing+Quotas">Listing Quotas</a>
+</li>
+<li>
+<a href="#Deleting+Quotas"> Deleting Quotas</a>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+	
+	
+	
+	
+<a name="N1000B"></a><a name="zookeeper_quotas"></a>
+<h2 class="h3">Quotas</h2>
+<div class="section">
+<p> ZooKeeper has both namespace and bytes quotas. You can use the ZooKeeperMain class to setup quotas.
+	ZooKeeper prints <em>WARN</em> messages if users exceed the quota assigned to them. The messages 
+	are printed in the log of the ZooKeeper. 
+	</p>
+<p>
+<span class="codefrag computeroutput">$java -cp zookeeper.jar:src/java/lib/log4j-1.2.15.jar/conf \
+	 org.apache.zookeeper.ZooKeeperMain host:port</span>
+</p>
+<p> The above command gives you a command line option of using quotas.</p>
+<a name="N1001F"></a><a name="Setting+Quotas"></a>
+<h3 class="h4">Setting Quotas</h3>
+<p>You can use 
+	 <em>setquota</em> to set a quota on a ZooKeeper node. It has an option of setting quota with
+	  -n (for namespace)
+	 and -b (for bytes). </p>
+<p> The ZooKeeper quota are stored in ZooKeeper itself in /zookeeper/quota. To disable other people from
+	changing the quota's set the ACL for /zookeeper/quota such that only admins are able to read and write to it.
+	</p>
+<a name="N1002F"></a><a name="Listing+Quotas"></a>
+<h3 class="h4">Listing Quotas</h3>
+<p> You can use
+	<em>listquota</em> to list a quota on a ZooKeeper node.
+	</p>
+<a name="N1003C"></a><a name="Deleting+Quotas"></a>
+<h3 class="h4"> Deleting Quotas</h3>
+<p> You can use
+	<em>delquota</em> to delete quota on a ZooKeeper node.
+	</p>
+</div>
+	
+<p align="right">
+<font size="-2"></font>
+</p>
+</div>
+<!--+
+    |end content
+    +-->
+<div class="clearboth">&nbsp;</div>
+</div>
+<div id="footer">
+<!--+
+    |start bottomstrip
+    +-->
+<div class="lastmodified">
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+//  --></script>
+</div>
+<div class="copyright">
+        Copyright &copy;
+         2008 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
+</div>
+<!--+
+    |end bottomstrip
+    +-->
+</div>
+</body>
+</html>

+ 252 - 0
docs/zookeeperQuotas.pdf

@@ -0,0 +1,252 @@
+%PDF-1.3
+%ª«¬­
+4 0 obj
+<< /Type /Info
+/Producer (FOP 0.20.5) >>
+endobj
+5 0 obj
+<< /Length 532 /Filter [ /ASCII85Decode /FlateDecode ]
+ >>
+stream
+Gb!<Kb>Q22'Sc@1MX6"Ma'>*WM&2[Z2[iu;=VMdY1Sqo#FEi/%<(TmkgnF,03Q\g[Vj[QIMp@%c;%=FSZO#=31r<oI&VSo*T[`DK*!;*4PV(6Lmp><aV3\.GUJiY+p:*%bCQkBlr5SE@/6!]SU$Tc6+E:Ij-``=A;F8!sK5\SuVU9j@WKrh+/6$Ka?="H)(_hn6/m"pl9r[HOKCl&G\:Brp?qiO`Di"c"adl&>KQQWb5,heN_B/CBbcdqU2Jn5MD*ELVhT\PE[0\Pi`^Q5UK^SJj]8PQdG9_$!\;G7dVe%5)#A,(-UO0iEDrQTRZ3?#sk`gYN%2^U*b'NI\I`tsI/spVAr)`*%%&lapLXF"i]Cp">?Z_lio]YWqH5LV#.eQlqm<tlQ3K$&s<>N8-nT8e;YQWWG\7RHlJJs5Sd3q&bU._s__N7Sekr"e5!GO)]g($DloG;haC!-6mTR2`!&8tF)'5qI.JUe5rq)#J!H=l%)-J04$F^6uGKHR@r]]!T1!oKrAC0jm@*rR+>dSoH~>
+endstream
+endobj
+6 0 obj
+<< /Type /Page
+/Parent 1 0 R
+/MediaBox [ 0 0 612 792 ]
+/Resources 3 0 R
+/Contents 5 0 R
+/Annots 7 0 R
+>>
+endobj
+7 0 obj
+[
+8 0 R
+10 0 R
+12 0 R
+14 0 R
+]
+endobj
+8 0 obj
+<< /Type /Annot
+/Subtype /Link
+/Rect [ 102.0 511.541 143.996 499.541 ]
+/C [ 0 0 0 ]
+/Border [ 0 0 0 ]
+/A 9 0 R
+/H /I
+>>
+endobj
+10 0 obj
+<< /Type /Annot
+/Subtype /Link
+/Rect [ 108.0 493.341 194.504 481.341 ]
+/C [ 0 0 0 ]
+/Border [ 0 0 0 ]
+/A 11 0 R
+/H /I
+>>
+endobj
+12 0 obj
+<< /Type /Annot
+/Subtype /Link
+/Rect [ 108.0 475.141 194.504 463.141 ]
+/C [ 0 0 0 ]
+/Border [ 0 0 0 ]
+/A 13 0 R
+/H /I
+>>
+endobj
+14 0 obj
+<< /Type /Annot
+/Subtype /Link
+/Rect [ 108.0 456.941 201.824 444.941 ]
+/C [ 0 0 0 ]
+/Border [ 0 0 0 ]
+/A 15 0 R
+/H /I
+>>
+endobj
+16 0 obj
+<< /Length 1275 /Filter [ /ASCII85Decode /FlateDecode ]
+ >>
+stream
+Gau0CbECmB']%q&[%N<%,)R\iQ9DjOJXuoIMIBCO!F_\SEoP*D4I4GjoC^2.pr]j'h:,8(>t=X3Np`&%G-b<.EC:XecmDmTBYP\20gC7Va*dKHMi$bpbn9no6gt_jW)nJ`q05f&cqF!Yg3g[1G-gs[r+b-`Mq63c3:M@7RaipTE6Q!,PnNI"*uAk]X<&Rmc"^me">em]r*?9DUb$%:j?;!aHXitR_dMTc.!6[W3IDHb$s#Sm&ibAY3WLc1VG;aUM0q!P)T8]e^c5EjUI]r'PR.ds<N6/DmaMOsm5ie'3Yfuj2M"7nVKp]JYeK]^i1u=kOS`(M?Z1Gil0NH4!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+endobj
+19 0 obj
+<<
+ /Title (\376\377\0\61\0\40\0\121\0\165\0\157\0\164\0\141\0\163)
+ /Parent 18 0 R
+ /First 20 0 R
+ /Last 22 0 R
+ /Count -3
+ /A 9 0 R
+>> endobj
+20 0 obj
+<<
+ /Title (\376\377\0\61\0\56\0\61\0\40\0\123\0\145\0\164\0\164\0\151\0\156\0\147\0\40\0\121\0\165\0\157\0\164\0\141\0\163)
+ /Parent 19 0 R
+ /Next 21 0 R
+ /A 11 0 R
+>> endobj
+21 0 obj
+<<
+ /Title (\376\377\0\61\0\56\0\62\0\40\0\114\0\151\0\163\0\164\0\151\0\156\0\147\0\40\0\121\0\165\0\157\0\164\0\141\0\163)
+ /Parent 19 0 R
+ /Prev 20 0 R
+ /Next 22 0 R
+ /A 13 0 R
+>> endobj
+22 0 obj
+<<
+ /Title (\376\377\0\61\0\56\0\63\0\40\0\104\0\145\0\154\0\145\0\164\0\151\0\156\0\147\0\40\0\121\0\165\0\157\0\164\0\141\0\163)
+ /Parent 19 0 R
+ /Prev 21 0 R
+ /A 15 0 R
+>> endobj
+23 0 obj
+<< /Type /Font
+/Subtype /Type1
+/Name /F3
+/BaseFont /Helvetica-Bold
+/Encoding /WinAnsiEncoding >>
+endobj
+24 0 obj
+<< /Type /Font
+/Subtype /Type1
+/Name /F5
+/BaseFont /Times-Roman
+/Encoding /WinAnsiEncoding >>
+endobj
+25 0 obj
+<< /Type /Font
+/Subtype /Type1
+/Name /F6
+/BaseFont /Times-Italic
+/Encoding /WinAnsiEncoding >>
+endobj
+26 0 obj
+<< /Type /Font
+/Subtype /Type1
+/Name /F1
+/BaseFont /Helvetica
+/Encoding /WinAnsiEncoding >>
+endobj
+27 0 obj
+<< /Type /Font
+/Subtype /Type1
+/Name /F9
+/BaseFont /Courier
+/Encoding /WinAnsiEncoding >>
+endobj
+28 0 obj
+<< /Type /Font
+/Subtype /Type1
+/Name /F2
+/BaseFont /Helvetica-Oblique
+/Encoding /WinAnsiEncoding >>
+endobj
+29 0 obj
+<< /Type /Font
+/Subtype /Type1
+/Name /F7
+/BaseFont /Times-Bold
+/Encoding /WinAnsiEncoding >>
+endobj
+1 0 obj
+<< /Type /Pages
+/Count 2
+/Kids [6 0 R 17 0 R ] >>
+endobj
+2 0 obj
+<< /Type /Catalog
+/Pages 1 0 R
+ /Outlines 18 0 R
+ /PageMode /UseOutlines
+ >>
+endobj
+3 0 obj
+<< 
+/Font << /F3 23 0 R /F5 24 0 R /F1 26 0 R /F6 25 0 R /F9 27 0 R /F2 28 0 R /F7 29 0 R >> 
+/ProcSet [ /PDF /ImageC /Text ] >> 
+endobj
+9 0 obj
+<<
+/S /GoTo
+/D [17 0 R /XYZ 85.0 659.0 null]
+>>
+endobj
+11 0 obj
+<<
+/S /GoTo
+/D [17 0 R /XYZ 85.0 524.666 null]
+>>
+endobj
+13 0 obj
+<<
+/S /GoTo
+/D [17 0 R /XYZ 85.0 412.613 null]
+>>
+endobj
+15 0 obj
+<<
+/S /GoTo
+/D [17 0 R /XYZ 85.0 361.36 null]
+>>
+endobj
+18 0 obj
+<<
+ /First 19 0 R
+ /Last 19 0 R
+>> endobj
+xref
+0 30
+0000000000 65535 f 
+0000004383 00000 n 
+0000004448 00000 n 
+0000004540 00000 n 
+0000000015 00000 n 
+0000000071 00000 n 
+0000000694 00000 n 
+0000000814 00000 n 
+0000000860 00000 n 
+0000004685 00000 n 
+0000000995 00000 n 
+0000004748 00000 n 
+0000001132 00000 n 
+0000004814 00000 n 
+0000001269 00000 n 
+0000004880 00000 n 
+0000001406 00000 n 
+0000002774 00000 n 
+0000004945 00000 n 
+0000002882 00000 n 
+0000003035 00000 n 
+0000003220 00000 n 
+0000003419 00000 n 
+0000003610 00000 n 
+0000003723 00000 n 
+0000003833 00000 n 
+0000003944 00000 n 
+0000004052 00000 n 
+0000004158 00000 n 
+0000004274 00000 n 
+trailer
+<<
+/Size 30
+/Root 2 0 R
+/Info 4 0 R
+>>
+startxref
+4996
+%%EOF