Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated docs

Signed-off-by: Brandyn A. White <bwhite@dappervision.com>
  • Loading branch information...
commit 67ce134652cd6fcec76be83f5c1b73622fde5d8b 1 parent 58d2d9a
Brandyn White authored
Showing with 41 additions and 8 deletions.
  1. +40 −7 doc/cookbook.rst
  2. +1 −1  doc/index.rst
47 doc/cookbook.rst
View
@@ -2,43 +2,76 @@ Cookbook
========
This section is a collection of tips/tricks that are useful when working with Hadoopy.
+Enabling Verbose Output
+-----------------------
+
+.. raw:: html
+
+ <script src="https://gist.github.com/3005239.js?file=verbose.py"></script>
+
+
+Map/Reduce Output Compression
+-----------------------------
+
+.. raw:: html
+
+ <script src="https://gist.github.com/3005275.js?file=compress.py"></script>
+
+
+Tweakable Jobconfs
+-------------------
+
.. raw:: html
<script src="https://gist.github.com/3047929.js?file=jobconfs.py"></script>
+Status/Counters in Jobs
+-----------------------
+
.. raw:: html
<script src="https://gist.github.com/3045119.js?file=reporting.py"></script>
+Accessing Jobconfs Inside Jobs
+------------------------------
+
.. raw:: html
<script src="https://gist.github.com/3044179.js?file=jobconfs.py"></script>
+Using Writetb to Write Multiple Parts
+-------------------------------------
+
.. raw:: html
<script src="https://gist.github.com/3042128.js?file=writetb_parts.py"></script>
+Reverse SSH Tunnel
+------------------
+
.. raw:: html
<script src="https://gist.github.com/3037934.js?file=ssh_tricks.sh"></script>
+Timing Sections of Code
+-----------------------
+
.. raw:: html
<script src="https://gist.github.com/3037405.js?file=context_timer.py"></script>
-.. raw:: html
- <script src="https://gist.github.com/3035328.js?file=skip_launch.py"></script>
+Skipping Jobs in a Large Workflow
+---------------------------------
.. raw:: html
- <script src="https://gist.github.com/3006301.js?file=random_uniform.py"></script>
-
-.. raw:: html
+ <script src="https://gist.github.com/3035328.js?file=skip_launch.py"></script>
- <script src="https://gist.github.com/3005275.js?file=compress.py"></script>
+Randomly Sampling Key/Value Pairs
+---------------------------------
.. raw:: html
- <script src="https://gist.github.com/3005239.js?file=verbose.py"></script>
+ <script src="https://gist.github.com/3006301.js?file=random_uniform.py"></script>
2  doc/index.rst
View
@@ -7,7 +7,6 @@ Hadoopy: Python wrapper for Hadoop using Cython
tutorial
clustersetup
projects
- cookbook
api
text
background
@@ -18,6 +17,7 @@ Hadoopy: Python wrapper for Hadoop using Cython
helper
hbase
java
+ cookbook
Visit https://github.com/bwhite/hadoopy/ for the source.
Please sign in to comment.
Something went wrong with that request. Please try again.