Romain Rigaux пре 12 година
родитељ
комит
68c17b2

+ 1 - 1
apps/about/static/help/index.html

@@ -22,7 +22,7 @@
 
     <div class="section" id="topic_3__section_nph_qgn_1k"><a name="topic_3__section_nph_qgn_1k"><!-- --></a><h2 class="title sectiontitle">Starting About Hue</h2>
 
-      <p class="p"> To start the About Hue application, click <a name="topic_3__image_vms_qgn_1k"><!-- --></a><img class="image" id="topic_3__image_vms_qgn_1k" src="/static/art/help/quick_start.png"/> in the navigation bar at the top of the Hue browser page. It opens
+      <p class="p"> To start the About Hue application, click <a name="topic_3__image_vms_qgn_1k"><!-- --></a><img class="image" id="topic_3__image_vms_qgn_1k" src="/static/art/hue-logo-mini.png"/> in the navigation bar at the top of the Hue browser page. It opens
         to the Quick Start Wizard screen. </p>
 
     </div>

+ 2 - 2
apps/beeswax/static/help/index.html

@@ -60,7 +60,7 @@
 
     <div class="body conbody">
 
-      <p class="p">Click the <strong class="ph b">Beeswax</strong> icon (<img class="image" src="/static/art/help/icon_beeswax_24.png"/>)
+      <p class="p">Click the <strong class="ph b">Beeswax</strong> icon (<img class="image" src="/beeswax/static/art/icon_beeswax_24.png"/>)
         in the navigation bar at the top of the Hue browser page. </p>
 
 
@@ -93,7 +93,7 @@
       <b>Note</b>:</span> You must be a superuser to perform this task.</div>
 
       <a name="topic_4_2_1__ol_kss_btp_wj"><!-- --></a><ol class="ol" id="topic_4_2_1__ol_kss_btp_wj">
-        <li class="li" id="topic_4_2_1__li_src_z3t_yj"><a name="topic_4_2_1__li_src_z3t_yj"><!-- --></a>Click <a name="topic_4_2_1__image_vv5_hnv_wj"><!-- --></a><img class="image" id="topic_4_2_1__image_vv5_hnv_wj" src="/static/art/help/quick_start.png"/>. The Quick Start Wizard opens.</li>
+        <li class="li" id="topic_4_2_1__li_src_z3t_yj"><a name="topic_4_2_1__li_src_z3t_yj"><!-- --></a>Click <a name="topic_4_2_1__image_vv5_hnv_wj"><!-- --></a><img class="image" id="topic_4_2_1__image_vv5_hnv_wj" src="/static/art/hue-logo-mini.png"/>. The Quick Start Wizard opens.</li>
 
         <li class="li" id="topic_4_2_1__li_zgj_z3t_yj"><a name="topic_4_2_1__li_zgj_z3t_yj"><!-- --></a>Click <strong class="ph b">Step 2:
             Examples</strong>.</li>

+ 1 - 1
apps/filebrowser/src/filebrowser/static/help/index.html

@@ -69,7 +69,7 @@
 
     <div class="body conbody">
 
-      <p class="p">Click the <strong class="ph b">File Browser</strong> icon (<img class="image" src="/static/art/help/icon_filebrowser_24.png"/>) in the navigation bar at the top of the Hue browser page. </p>
+      <p class="p">Click the <strong class="ph b">File Browser</strong> icon (<i class="icon-file"></i>) in the navigation bar at the top of the Hue browser page. </p>
 
 
     </div>

+ 98 - 0
apps/hbase/static/help/index.html

@@ -0,0 +1,98 @@
+<html>
+<h1>HBase Browser</h1>
+<p>We'll take a look at the new <a href="http://gethue.tumblr.com/post/59071544309/the-web-ui-for-hbase-hbase-browser">HBase Browser App</a>
+added in Hue 2.5 and improved significantly since.</p>
+<p>Prerequisites before using the app:</p>
+<p>1. Have HBase and Thrift Service 1 initiated (Thrift can be configured)</p>
+<p>2. Configure your list of HBase Clusters in
+<a href="https://github.com/cloudera/hue/blob/master/desktop/conf.dist/hue.ini#L467">hue.ini</a>
+to point to your Thrift IP/Port</p>
+<h2>SmartView</h2>
+<p>The smartview is the view that you land on when you first enter a table.
+On the left hand side are the row keys and hovering over a row reveals a
+list of controls on the right. Click a row to select it, and once
+selected you can perform batch operations, sort columns, or do any
+amount of standard database operations. To explore a row, simple scroll
+to the right. By scrolling, the row should continue to lazily-load cells
+until the end.</p>
+<h3>Adding Data</h3>
+<p>To initially populate the table, you can insert a new row or bulk upload
+CSV/TSV/etc. type data into your table.</p>
+<p>On the right hand side of a row is a '+' sign that lets you insert
+columns into your
+row</p>
+<h3>Mutating Data</h3>
+<p>To edit a cell, simply click to edit inline.</p>
+<p>If you need more control or data about your cell, click “Full Editor” to
+edit.</p>
+<p>In the full editor, you can view cell history or upload binary data to
+the cell. Binary data of certain MIME Types are detected, meaning you
+can view and edit images, PDFs, JSON, XML, and other types directly in
+your browser!</p>
+<p>Hovering over a cell also reveals some more controls (such as the delete
+button or the timestamp). Click the title to select a few and do batch
+operations:</p>
+<p>If you need some sample data to get started and explore, check out this
+howto create <a href="http://gethue.tumblr.com/post/58181985680/hadoop-tutorial-how-to-create-example-tables-in-hbase">HBase table
+tutorial</a>.</p>
+<h3>Smart Searchbar</h3>
+<p>The "Smart Searchbar" is a sophisticated tool that helps you zero-in on
+your data. The smart search supports a number of operations. The most
+basic ones include finding and scanning row keys. Here I am selecting
+two row keys with:</p>
+<pre><code>domain.100, domain.200
+</code></pre>
+<p>Submitting this query gives me the two rows I was looking for. If I want
+to fetch rows after one of these, I have to do a scan. This is as easy
+as writing a '+' followed by the number of rows you want to fetch.</p>
+<pre><code>domain.100, domain.200 +5
+</code></pre>
+<p>Fetches domain.100 and domain.200 followed by the next 5 rows. If you're
+ever confused about your results, you can look down below and the query
+bar and also click in to edit your query.</p>
+<p>The Smart Search also supports column filtering. On any row, I can
+specify the specific columns or families I want to retrieve. With:</p>
+<pre><code>domain.100[column_family:]
+</code></pre>
+<p>I can select a bare family, or mix columns from different families like
+so:</p>
+<pre><code>domain.100[family1:, family2:, family3:column_a]
+</code></pre>
+<p>Doing this will restrict my results from one row key to the columns I
+specified. If you want to restrict column families only, the same effect
+can be achieved with the filters on the right. Just click to toggle a
+filter.</p>
+<p>Finally, let's try some more complex column filters. I can query for
+bare columns:</p>
+<pre><code>domain.100[column_a]
+</code></pre>
+<p>This will multiply my query over all column families. I can also do
+prefixes and scans:</p>
+<p>domain.100[family: prefix* +3]</p>
+<p>This will fetch me all columns that start with prefix* limited to 3
+results. Finally, I can filter on range:</p>
+<pre><code>domain.100[family: column1 to column100]
+</code></pre>
+<p>This will fetch me all columns in 'family:' that are lexicographically
+&gt;= column1 but &lt;= column100. The first column ('column1') must be a
+valid column, but the second can just be any string for comparison.</p>
+<p>The Smart Search also supports prefix filtering on rows. To select a
+prefixed row, simply type the row key followed by a star *. The prefix
+should be highlighted like any other searchbar keyword. A prefix scan is
+performed exactly like a regular scan, but with a prefixed row.</p>
+<pre><code>domain.10* +10
+</code></pre>
+<p>Finally, as a new feature, you can also take full advantage of the
+<a href="denied:about:blank">HBase filtering</a>language, by typing your filter
+string between curly braces. HBase Browser autocompletes your filters
+for you so you don't have to look them up every time. You can apply
+filters to rows or scans.</p>
+<pre><code>domain.1000 {ColumnPrefixFilter('100-') AND ColumnCountGetFilter(3)}
+</code></pre>
+<p>This doc only covers a few basic features of the Smart Search. You can
+take advantage of the full querying language by referring to the help
+menu when using the app. These include column prefix, bare columns,
+column range, etc. Remember that if you ever need help with the
+searchbar, you can use the help menu that pops up while typing, which
+will suggest next steps to complete your query.</p>
+</html>

+ 2 - 2
apps/impala/static/help/index.html

@@ -59,7 +59,7 @@
     <div class="body conbody">
 
       <p class="p">Click the <strong class="ph b">Cloudera Impala Query UI</strong>
-        icon (<img class="image" src="/static/art/help/icon_impala_24.png"/>) in the navigation bar at the top of the Hue browser page. </p>
+        icon (<img class="image" src="/impala/static/art/icon_impala_24.png"/>) in the navigation bar at the top of the Hue browser page. </p>
 
 
     </div>
@@ -95,7 +95,7 @@
       <b>Note</b>:</span> You must be a superuser to perform this task.</div>
 
       <a name="topic_4_2_1__ol_kss_btp_wj"><!-- --></a><ol class="ol" id="topic_4_2_1__ol_kss_btp_wj">
-        <li class="li">Click <a name="topic_4_2_1__d104e102"><!-- --></a><img class="image" id="topic_4_2_1__d104e102" src="/static/art/help/quick_start.png"/>. The Quick Start Wizard opens.</li>
+        <li class="li">Click <a name="topic_4_2_1__d104e102"><!-- --></a><img class="image" id="topic_4_2_1__d104e102" src="/static/art/hue-logo-mini.png"/>. The Quick Start Wizard opens.</li>
 <li class="li">Click <strong class="ph b">Step 2:
             Examples</strong>.</li>
 

+ 1 - 1
apps/jobbrowser/static/help/index.html

@@ -58,7 +58,7 @@
 
     <div class="body conbody">
 
-      <p class="p">Click the <strong class="ph b">Job Browser</strong> icon (<img class="image" src="/static/art/help/icon_jobbrowser_24.png"/>) in the navigation bar at the top of the Hue web page. </p>
+      <p class="p">Click the <strong class="ph b">Job Browser</strong> icon (<i class="icon-list-alt"></i>) in the navigation bar at the top of the Hue web page. </p>
 
 
       <p class="p">

+ 2 - 2
apps/jobsub/static/help/index.html

@@ -53,7 +53,7 @@
 
 		<div class="body conbody">
 
-			<p class="p">Click the <strong class="ph b">Job Designer</strong> icon (<img class="image" src="/static/art/help/icon_jobsub_24.png"/>) in the navigation bar at the top of the Hue web page.
+			<p class="p">Click the <strong class="ph b">Job Designer</strong> icon (<img class="image" src="/jobsub/static/art/icon_jobsub_24.png"/>) in the navigation bar at the top of the Hue web page.
 				The <strong class="ph b">Job Designs</strong> page opens in the browser. </p>
 
 
@@ -73,7 +73,7 @@
       <b>Note</b>:</span> You must be a superuser to perform this task.</div>
 
 			<a name="topic_8_3__ol_ebx_xng_dk"><!-- --></a><ol class="ol" id="topic_8_3__ol_ebx_xng_dk">
-				<li class="li">Click <a name="topic_8_3__d104e102"><!-- --></a><img class="image" id="topic_8_3__d104e102" src="/static/art/help/quick_start.png"/>. The Quick Start Wizard opens.</li>
+				<li class="li">Click <a name="topic_8_3__d104e102"><!-- --></a><img class="image" id="topic_8_3__d104e102" src="/static/art/hue-logo-mini.png"/>. The Quick Start Wizard opens.</li>
 <li class="li">Click <strong class="ph b">Step 2:
             Examples</strong>.</li>
 

+ 2 - 2
apps/metastore/static/help/index.html

@@ -1,4 +1,4 @@
-<h1><a name="Metastore-IntroducingMetastore"></a>Introducing Table Browser</h1>
+<h1><a name="Metastore-IntroducingMetastore"></a>Introducing Hive Metastore Browser</h1>
 
 <p>The Table Browser application enables you to browse tables and partitions of a Hive database. For information about Hive, see <a href="http://archive.cloudera.com/cdh4/cdh/4/hive/">Hive Documentation</a>. You can create Hive tables, view Hive tables, and load data into Hive tables.</p>
 
@@ -44,7 +44,7 @@ div.rbtoc1359395567394 li {margin-left: 0;padding-left: 0;}
 
 <h1><a name="Metastore-StartingMetastore"></a>Starting Table Browser</h1>
 
-<p>To start the Table Browser application, click the <b>Table Browser</b> icon (<span class="image-wrap" style=""><img src="/metastore/static/art/table-browser-24-1.png" width="30" style="border: 0 solid black"/></span>) in the navigation bar at the top of the Hue browser page.</p>
+<p>To start the Table Browser application, click the <b>Table Browser</b> icon (<span class="image-wrap" style=""><img src="/metastore/static/art/icon_metastore_24.png" width="30" style="border: 0 solid black"/></span>) in the navigation bar at the top of the Hue browser page.</p>
 
 <h3><a name="Metastore-InstallingtheSampleTables"></a>Installing the Sample Tables</h3>
 

+ 4 - 3
apps/oozie/static/help/index.html

@@ -70,8 +70,9 @@
 
     <div class="body conbody">
 
-      <p class="p">Click the <strong class="ph b">Oozie Editor/Dashboard</strong> icon
-          (<img class="image" src="/static/art/help/icon_oozie_24.png"/>) in the navigation bar at the top of the Hue browser page. <strong class="ph b">Oozie Editor/Dashboard</strong> opens with the following screens: </p>
+      <p class="p">Click the <strong class="ph b">Oozie Editor</strong> icon
+          (<img class="image" src="/oozie/static/art/icon_oozie_editor_24.png"/>) <strong class="ph b">Oozie Dashboard</strong> icon
+          (<img class="image" src="/oozie/static/art/icon_oozie_dashboard_24.png"/>) in the navigation bar at the top of the Hue browser page. <strong class="ph b">Oozie Editor/Dashboard</strong> opens with the following screens: </p>
 
 
       <ul class="ul">
@@ -109,7 +110,7 @@
 
 
       <a name="topic_9_3__ol_ugf_hjt_yj"><!-- --></a><ol class="ol" id="topic_9_3__ol_ugf_hjt_yj">
-        <li class="li">Click <a name="topic_9_3__d104e102"><!-- --></a><img class="image" id="topic_9_3__d104e102" src="/static/art/help/quick_start.png"/>. The Quick Start Wizard opens.</li>
+        <li class="li">Click <a name="topic_9_3__d104e102"><!-- --></a><img class="image" id="topic_9_3__d104e102" src="/static/art/hue-logo-mini.png"/>. The Quick Start Wizard opens.</li>
 <li class="li">Click <strong class="ph b">Step 2:
             Examples</strong>.</li>
 

+ 4 - 6
apps/pig/static/help/index.html

@@ -15,7 +15,7 @@
 
   <div class="body conbody">
     <p class="p">The Pig Editor application allows you to define Pig scripts, run scripts,
-      and view the status of jobs. For information about Pig, see <a class="xref" href="http://archive.cloudera.com/cdh4/cdh/4/pig/" target="_blank">Pig Documentation</a>. </p>
+      and view the status of jobs. For information about Pig, see <a class="xref" href="http://archive.cloudera.com/cdh5/cdh/5/pig/" target="_blank">Pig Documentation</a>. </p>
 
   </div>
 
@@ -23,9 +23,7 @@
     <h2 class="title topictitle2">Pig Editor Installation and Configuration </h2>
 
     <div class="body conbody">
-      <p class="p">Pig Editor is one of the applications installed as part of Hue. <span class="ph">For information about installing and configuring Hue,
-        see Hue Installation in <a class="xref" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Installation-Guide/CDH4-Installation-Guide.html" target="_blank">http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Installation-Guide/CDH4-Installation-Guide.html</a>.</span> Pig Editor assumes an existing Pig installation. The Hue installation instructions
-        include the configuration necessary for Pig Editor to access Pig.</p>
+      <p class="p">Pig Editor is one of the applications installed as part of Hue.
 
     </div>
 
@@ -35,7 +33,7 @@
     <h2 class="title topictitle2">Starting Pig Editor</h2>
 
     <div class="body conbody">
-      <div class="p">Click the <strong class="ph b">Pig Editor</strong> icon (<a name="concept_e2q_xn5_wj__image_fgk_4n5_wj"><!-- --></a><img class="image" id="concept_e2q_xn5_wj__image_fgk_4n5_wj" src="/static/art/help/icon_pig_24.png"/>) in the navigation bar at the top of the Hue
+      <div class="p">Click the <strong class="ph b">Pig Editor</strong> icon (<a name="concept_e2q_xn5_wj__image_fgk_4n5_wj"><!-- --></a><img class="image" id="concept_e2q_xn5_wj__image_fgk_4n5_wj" src="/pig/static/art/icon_pig_24.png"/>) in the navigation bar at the top of the Hue
         browser page. The Pig Editor opens with three tabs:<a name="concept_e2q_xn5_wj__ul_itr_clx_2k"><!-- --></a><ul class="ul" id="concept_e2q_xn5_wj__ul_itr_clx_2k">
           <li class="li">Editor - editor where you can create, edit, run, save, copy, and
             delete scripts and edit script properties.</li>
@@ -61,7 +59,7 @@
       <b>Note</b>:</span> You must be a superuser to perform this task.</div>
 
       <a name="concept_lng_kjt_yj__ol_zys_pjt_yj"><!-- --></a><ol class="ol" id="concept_lng_kjt_yj__ol_zys_pjt_yj">
-        <li class="li">Click <a name="concept_lng_kjt_yj__d45e102"><!-- --></a><img class="image" id="concept_lng_kjt_yj__d45e102" src="/static/art/help/quick_start.png"/>. The Quick Start Wizard opens.</li>
+        <li class="li">Click <a name="concept_lng_kjt_yj__d45e102"><!-- --></a><img class="image" id="concept_lng_kjt_yj__d45e102" src="/static/art/hue-logo-mini.png"/>. The Quick Start Wizard opens.</li>
 <li class="li">Click <strong class="ph b">Step 2:
             Examples</strong>.</li>
 

+ 169 - 1
apps/search/static/help/index.html

@@ -1,3 +1,171 @@
 <html>
-<h1><a name="AboutHue-AboutHue"></a>About Search</h1>
+
+<h1>Solr Search</h1>
+<p>The Solr Search application, which is based on  <a href="http://lucene.apache.org/solr/">Apache Solr</a>, allows you to perform keyword searches across Hadoop data. A wizard lets you style the result snippets, specify facets to group the results, sort the results, and highlight result fields.</p>
+<h2>Solr Search Installation and Configuration</h2>
+<p>Solr Search is one of the applications installed as part of Hue. For information about installing and configuring Hue, see the Hue Installation
+manual.</p>
+<h2>Starting  Solr Search</h2>
+<p>Click the <strong> Solr Search</strong> icon
+(<img alt="image" src="/search/static/art/icon_search_24.png" />) in the navigation bar at the top of
+the Hue browser page. <strong>Solr Search</strong> opens to the  <a href="#collectionManager">Collection Manager</a>. If there are no collections, the <a href="#importCollection">Import Collections and Cores</a> dialog displays.</p>
+<p><a id="collectionManager"></a></p>
+<h2>Collection Manager</h2>
+<p>In Collection Manager you import, copy, and delete <a href="http://wiki.apache.org/solr/SolrCloud#A_little_about_SolrCores_and_Collections">collections</a>.</p>
+<h3>Displaying the Collection Manager</h3>
+<p>When you start Solr Search, the Collection Manager displays. You navigate to the Collection Manager by clicking <strong>Collection manager</strong> in the Search page or the Template Editor.</p>
+<h3>Filtering Collections</h3>
+<p>When you type in the Filter field, the list of collections is dynamically filtered to display only those rows
+containing text that matches the specified substring.</p>
+<p><a id="importCollection"></a></p>
+<h3>Importing Collections</h3>
+<ol>
+<li>If there are existing collections, click the <i class="icon-plus-sign"></i> <strong>Import</strong> button at the top right. The Import Collections and Cores dialog displays.</li>
+<li>Check the checkboxes next to the collections to import.</li>
+<li>Click <strong>Import Selected</strong>. The collection is added to the Collection Manager.</li>
+</ol>
+<h3>Editing Collection Properties</h3>
+<ol>
+<li>In the Collection Manager, click a collection.</li>
+<li>In the <strong>COLLECTION</strong> area on the left, click <strong>Properties</strong>.</li>
+<li>Edit a property and click <strong>Save</strong>.</li>
+</ol>
+<h3>Searching a Collection</h3>
+<ol>
+<li>In the Collection Manager, click <strong>Search page</strong> or click <strong>Search it</strong> in the Collection area on the left. The Search page displays.</li>
+<li>Select a collection from the <strong>Search in</strong> drop-down list.</li>
+<li>Type a search string in the <strong>Search...</strong> text box.</li>
+<li>
+<p>Press <strong>Enter</strong> or click the <i class="icon-search"></i>  icon.</p>
+</li>
+<li>
+<p>If you have defined <a href="#facets">facets</a>, click a facet to display only those results in the group defined by the facet.</p>
+</li>
+<li>If you have defined <a href="#sorting">sorting fields</a>, select from the <strong>Sort by</strong> drop-down list to sort the results.</li>
+<li>Click 'X' to clear the search string.</li>
+</ol>
+<h2>Styling Search Results</h2>
+<p>Do one of the following:</p>
+<ul>
+<li>In the Collection Manager, click a collection.</li>
+<li>In the Search page, select a collection from the <strong>Search in</strong> drop-down list and click <strong> Customize this collection</strong>.  The Template Editor displays.</li>
+</ul>
+<h3>Template Editor</h3>
+<p>The Template Editor provides four features:</p>
+<ul>
+<li><a href="#snippetEditor">Snippet editor</a> - Specify the layout of the search result snippet, which fields appear in the snippet, and style the results.</li>
+<li><a href="#facetEditor">Facet editor</a> - Define buckets in which to group results.</li>
+<li><a href="#sortEditor">Sort editor</a> - Specify on which fields and order the results are sorted. </li>
+<li><a href="#highlightingEditor">Highlighting editor</a> - Enable highlighting of search fields. </li>
+</ul>
+<p><a id="snippetEditor"></a></p>
+<h4>Snippet Editor</h4>
+<ol>
+<li>In the Snippet Editor, click a tab to choose the method for editing the search snippet fields and styling:</li>
+<li>
+<ul>
+<li><strong>Visual editor</strong> - Click <img alt="image" src="images/layoutChooser.png" /> to choose an overall layout for the snippet.</li>
+</ul>
+</li>
+<li>
+<ul>
+<li>
+<ul>
+<li>Select the fields and functions from the drop-down lists on the right and click <img alt="image" src="images/add.png" />. </li>
+</ul>
+</li>
+</ul>
+</li>
+<li>
+<ul>
+<li>
+<ul>
+<li>Select fields, right-click, and select <strong>Cut</strong> and <strong>Paste</strong> to place the fields on the canvas. </li>
+</ul>
+</li>
+</ul>
+</li>
+<li>
+<ul>
+<li>
+<ul>
+<li>Select fields and apply styling using the buttons on top.</li>
+</ul>
+</li>
+</ul>
+</li>
+<li>
+<ul>
+<li><strong>Source</strong> - </li>
+</ul>
+</li>
+<li>
+<ul>
+<li>
+<ul>
+<li>Select the data fields and functions from the drop-down lists on the right.</li>
+</ul>
+</li>
+</ul>
+</li>
+<li>
+<ul>
+<li>
+<ul>
+<li>Specify layout and styling using HTML tags.</li>
+</ul>
+</li>
+</ul>
+</li>
+<li>
+<ul>
+<li><strong>Preview</strong> - Preview the snippet.</li>
+</ul>
+</li>
+<li>
+<ul>
+<li><strong>Advanced</strong> - Specify styles for CSS classes specified in the Source tab.</li>
+</ul>
+</li>
+<li>Click <strong>Save</strong>.</li>
+</ol>
+<p><a id="facetEditor"></a></p>
+<h4>Facet Editor</h4>
+<p>By default, faceting  search result fields is disabled. Click <strong>Enabled</strong> to enable faceting.</p>
+<ol>
+<li>In the Template Editor, click <strong>2. Facets</strong>. You can move between the facet tabs by clicking each <strong>Step</strong> tab, or by clicking <strong>Back</strong> and <strong>Next</strong>.</li>
+<li>In the General tab, specify </li>
+<li>
+<ul>
+<li><strong>Limit</strong> - the maximum number of values for each facet.</li>
+</ul>
+</li>
+<li>
+<ul>
+<li><strong>Mincount</strong> - the minimum number of search results that fall into a group for the facet to display on the Search page.</li>
+</ul>
+</li>
+<li>In the Field, Range, and Date Facet tabs,  specify the facet properties and click <img alt="image" src="images/add.png" /> <strong>Add</strong>.</li>
+<li>In the Facets Order tab, drag and drop the facet to specify the order in they appear in the Search page.</li>
+<li>Click <strong>Save</strong>. When you display the Search page, the facets display on the left.</li>
+</ol>
+<p><a id="sortEditor"></a></p>
+<h4>Sorting Editor</h4>
+<p>By default, sorting on search result fields is disabled. Click <strong>Enabled</strong> to enable sorting.</p>
+<ol>
+<li>In the Template Editor, click <strong>3. Sorting</strong>. </li>
+<li>In the Field drop-down, select a field. Optionally specify a label for the field. </li>
+<li>The default order is ascending. Click the arrows to change the order.</li>
+<li>Click  <img alt="image" src="images/add.png" /> <strong>Add</strong>.</li>
+<li>Click <strong>Save</strong>. When you display search results, the results are sorted by the fields in the order that  they appear left to right. </li>
+</ol>
+<p><a id="highlightingEditor"></a></p>
+<h4>Highlighting Editor</h4>
+<p>By default,highlighting search result fields is disabled. Click <strong>Enabled</strong> to enable highlighting.</p>
+<ol>
+<li>In the Template Editor, click <strong>3. Highlighting</strong>. </li>
+<li>Select the fields to be highlighted.</li>
+<li>Click <strong>Save</strong>. When you display search results, the selected fields are displayed with the style of the <strong>em</strong> class defined in the Advanced tab of the <a href="#snippetEditor">Snippet editor</a>. </li>
+</ol>
+
 </html>

+ 79 - 123
apps/sqoop/static/help/index.html

@@ -10,129 +10,85 @@
 <body id="xd_583c10bfdbd326ba-3ca24a24-13d80143249--7f9c"><a name="xd_583c10bfdbd326ba-3ca24a24-13d80143249--7f9c"><!-- --></a>
 
 
-  <h1 class="title topictitle1">Pig Editor</h1>
-
-
-  <div class="body conbody">
-    <p class="p">The Pig Editor application allows you to define Pig scripts, run scripts,
-      and view the status of jobs. For information about Pig, see <a class="xref" href="http://archive.cloudera.com/cdh4/cdh/4/pig/" target="_blank">Pig Documentation</a>. </p>
-
-  </div>
-
-  <div class="topic concept nested1" id="concept_u25_g2v_yj"><a name="concept_u25_g2v_yj"><!-- --></a>
-    <h2 class="title topictitle2">Pig Editor Installation and Configuration </h2>
-
-    <div class="body conbody">
-      <p class="p">Pig Editor is one of the applications installed as part of Hue. <span class="ph">For information about installing and configuring Hue,
-        see Hue Installation in <a class="xref" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Installation-Guide/CDH4-Installation-Guide.html" target="_blank">http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Installation-Guide/CDH4-Installation-Guide.html</a>.</span> Pig Editor assumes an existing Pig installation. The Hue installation instructions
-        include the configuration necessary for Pig Editor to access Pig.</p>
-
-    </div>
-
-  </div>
-
-  <div class="topic concept nested1" id="concept_e2q_xn5_wj"><a name="concept_e2q_xn5_wj"><!-- --></a>
-    <h2 class="title topictitle2">Starting Pig Editor</h2>
-
-    <div class="body conbody">
-      <div class="p">Click the <strong class="ph b">Pig Editor</strong> icon (<a name="concept_e2q_xn5_wj__image_fgk_4n5_wj"><!-- --></a><img class="image" id="concept_e2q_xn5_wj__image_fgk_4n5_wj" src="/static/art/help/icon_pig_24.png"/>) in the navigation bar at the top of the Hue
-        browser page. The Pig Editor opens with three tabs:<a name="concept_e2q_xn5_wj__ul_itr_clx_2k"><!-- --></a><ul class="ul" id="concept_e2q_xn5_wj__ul_itr_clx_2k">
-          <li class="li">Editor - editor where you can create, edit, run, save, copy, and
-            delete scripts and edit script properties.</li>
-
-          <li class="li">Scripts - script manager where you can create, open, run, copy,
-            and delete scripts. </li>
-
-          <li class="li">Dashboard - dashboard where you can view running and completed
-            scripts and view the log of a job. </li>
-
-        </ul>
-</div>
-
-    </div>
-
-  </div>
-
-  <div class="topic concept nested1" id="concept_lng_kjt_yj"><a name="concept_lng_kjt_yj"><!-- --></a>
-    <h2 class="title topictitle2">Installing the Sample Pig Scripts </h2>
-
-    <div class="body conbody">
-      <div class="note note"><span class="notetitle"><img src="/static/art/help/note.jpg"/> 
-      <b>Note</b>:</span> You must be a superuser to perform this task.</div>
-
-      <a name="concept_lng_kjt_yj__ol_zys_pjt_yj"><!-- --></a><ol class="ol" id="concept_lng_kjt_yj__ol_zys_pjt_yj">
-        <li class="li">Click <a name="concept_lng_kjt_yj__d45e102"><!-- --></a><img class="image" id="concept_lng_kjt_yj__d45e102" src="/static/art/help/quick_start.png"/>. The Quick Start Wizard opens.</li>
-<li class="li">Click <strong class="ph b">Step 2:
-            Examples</strong>.</li>
-
-        <li class="li">Click <strong class="ph b">Pig Editor</strong>.</li>
-
-      </ol>
-
-    </div>
-
-    <div class="topic concept nested2" id="concept_b5z_23x_2k"><a name="concept_b5z_23x_2k"><!-- --></a>
-      <h3 class="title topictitle3">Scripts</h3>
-
-      <div class="body conbody">
-        <div class="section" id="concept_b5z_23x_2k__section_s35_5lx_2k"><a name="concept_b5z_23x_2k__section_s35_5lx_2k"><!-- --></a><h4 class="title sectiontitle">Creating a Script</h4>
-
-          <a name="concept_b5z_23x_2k__ol_mwq_z2y_2k"><!-- --></a><ol class="ol" id="concept_b5z_23x_2k__ol_mwq_z2y_2k">
-            <li class="li">In either the Editor or Scripts screen, click <span class="ph uicontrol">New
-                script</span>. Edit the script as desired.</li>
-
-            <li class="li">Click <span class="ph uicontrol">Edit
-              Properties</span>. In the Script name field, type a name for the script.</li>
-
-            <li class="li">Click <span class="ph uicontrol">Save</span>.</li>
-
-          </ol>
-
-        </div>
-
-        <div class="section" id="concept_b5z_23x_2k__section_tvv_5lx_2k"><a name="concept_b5z_23x_2k__section_tvv_5lx_2k"><!-- --></a><h4 class="title sectiontitle">Opening a Script</h4>
-
-          <a name="concept_b5z_23x_2k__ol_nvn_2fy_2k"><!-- --></a><ol class="ol" id="concept_b5z_23x_2k__ol_nvn_2fy_2k">
-            <li class="li">Click the <span class="ph uicontrol">Scripts</span> tab.</li>
-
-            <li class="li">In the list of scripts, click a script.</li>
-
-          </ol>
-
-        </div>
-
-        <div class="section" id="concept_b5z_23x_2k__section_gjr_rfy_2k"><a name="concept_b5z_23x_2k__section_gjr_rfy_2k"><!-- --></a><h4 class="title sectiontitle">Running a Script</h4>
-
-          <a name="concept_b5z_23x_2k__ol_r2q_sfy_2k"><!-- --></a><ol class="ol" id="concept_b5z_23x_2k__ol_r2q_sfy_2k">
-            <li class="li">Do one of the following:<a name="concept_b5z_23x_2k__ul_gj2_5fy_2k"><!-- --></a><ul class="ul" id="concept_b5z_23x_2k__ul_gj2_5fy_2k">
-                <li class="li">In the Editor screen, click the <span class="ph uicontrol">Run</span> button.</li>
-
-                <li class="li">In the Scripts screen,  check the checkbox next to a script and click the
-                    <span class="ph uicontrol">Run</span> button.</li>
-
-              </ul>
-</li>
-
-          </ol>
-
-        </div>
-
-        <div class="section" id="concept_b5z_23x_2k__section_kf2_zfy_2k"><a name="concept_b5z_23x_2k__section_kf2_zfy_2k"><!-- --></a><h4 class="title sectiontitle">Viewing the Result of Running a Script</h4>
-
-          <a name="concept_b5z_23x_2k__ol_jvm_2gy_2k"><!-- --></a><ol class="ol" id="concept_b5z_23x_2k__ol_jvm_2gy_2k">
-            <li class="li">Click the <span class="ph uicontrol">Dashboard</span> tab.</li>
-
-            <li class="li">Click a job.</li>
-
-          </ol>
-
-        </div>
-
-      </div>
-
-    </div>
-
-  </div>
+<h1>Sqoop UI</h1>
+<p>The Sqoop UI enables transfering data from a relational database
+to Hadoop and vice versa. The UI lives uses Apache Sqoop to do this.
+See the <a href="http://sqoop.apache.org/docs/1.99.2/index.html">Sqoop Documentation</a> for more details on Sqoop.</p>
+<h2>Installation and Configuration</h2>
+<p>The Sqoop UI is one of the applications installed as part of
+Hue. For information about installing and configuring Hue, see the Hue Installation
+manual.</p>
+<h2>Starting</h2>
+<p>Click the <strong>Sqoop</strong> icon
+(<img alt="image" src="/sqoop/static/art/icon_sqoop_24.png" />) in the navigation bar at the top of
+the Hue browser page.</p>
+<h2>Sqoop Jobs</h2>
+<p>Sqoop UI is oriented around jobs in Apache Sqoop.</p>
+<h3>Creating a New Job</h3>
+<ol>
+<li>Click the <strong>New job</strong> button at the top right.</li>
+<li>In the Name field, enter a name.</li>
+<li>Choose the type of job: import or export.
+   The proceeding form fields will change depending on which type is chosen.</li>
+<li>Select a connection, or create one if it does not exist.</li>
+<li>Fill in the rest of the fields for the job.
+   For importing, the "Table name", "Storage type", "Output format", and "Output directory" are necessary at a minimum.
+   For exporting, the "Table name" and "Input directory" are necessary at a minimum.</li>
+<li>Click <strong>save</strong> to finish.</li>
+</ol>
+<h3>Editing a Job</h3>
+<ol>
+<li>In the list of jobs, click on the name of the job.</li>
+<li>Edit the desired form fields in the job.</li>
+</ol>
+<h3>Copying a Job</h3>
+<ol>
+<li>In the list of jobs, click on the name of the job.</li>
+<li>On the left hand side of the job editor, there should be a panel containing actions.
+   Click <strong>Copy</strong>.</li>
+</ol>
+<h3>Removing a Job</h3>
+<ol>
+<li>In the list of jobs, click on the name of the job.</li>
+<li>On the left hand side of the job editor, there should be a panel containing actions.
+   Click <strong>Delete</strong>.</li>
+</ol>
+<h3>Running a Job</h3>
+<p>There's a status on each of the items in the job list indicating
+the last time a job was ran. The progress of the job should dynamically
+update. There's a progress bar at the bottom of each item on the job list
+as well.</p>
+<ol>
+<li>In the list of jobs, click on the name of the job.</li>
+<li>On the left hand side of the job editor, there should be a panel containing actions.
+   Click <strong>Run</strong>.</li>
+</ol>
+<h3>Creating a New Connection</h3>
+<ol>
+<li>Click the <strong>New job</strong> button at the top right.</li>
+<li>At the connection field, click the link titled <strong>Add a new connection</strong>.</li>
+<li>Fill in the displayed fields.</li>
+<li>Click <strong>save</strong> to finish.</li>
+</ol>
+<h3>Editing a Connection</h3>
+<ol>
+<li>Click the <strong>New job</strong> button at the top right.</li>
+<li>At the connection field, select the connection by name that should be edited.</li>
+<li>Click <strong>Edit</strong>.</li>
+<li>Edit the any of the fields.</li>
+<li>Click <strong>save</strong> to finish.</li>
+</ol>
+<h3>Removing a Connection</h3>
+<ol>
+<li>Click the <strong>New job</strong> button at the top right.</li>
+<li>At the connection field, select the connection by name that should be deleted.</li>
+<li>Click <strong>Delete</strong>.</li>
+</ol>
+<p>NOTE: If this does not work, it's like because a job is using that connection.
+      Make sure not jobs are using the connection that will be deleted.</p>
+<h3>Filtering Sqoop Jobs</h3>
+<p>The text field in the top, left corner of the Sqoop Jobs page enables fast filtering
+of sqoop jobs by name.</p>  
 
 
 </body>

+ 1 - 1
apps/useradmin/static/help/index.html

@@ -33,7 +33,7 @@
 
     <div class="body conbody">
 
-      <p class="p">Click the <strong class="ph b">User Admin</strong> icon (<a name="topic_11_1__image_exr_mp5_wj"><!-- --></a><img class="image" id="topic_11_1__image_exr_mp5_wj" src="/static/art/help/icon_useradmin_24.png"/>) in the navigation bar at the top of the Hue browser page. The Hue
+      <p class="p">Click the <strong class="ph b">User Admin</strong> icon <i class="icon-group"></i> in the navigation bar at the top of the Hue browser page below your login name. The Hue
         Users page opens. </p>
 
 

+ 44 - 4
apps/zookeeper/static/help/index.html

@@ -1,10 +1,50 @@
-
+<html>
 <h1>ZooKeeper Browser</h1>
+<p>The main two features are:</p>
+<ul>
+<li>Listing of the ZooKeeper cluster stats and clients</li>
+<li>Browsing and edition of the ZNode hierarchy</li>
+</ul>
+<p>ZooKeeper Browser requires the <a href="https://github.com/apache/zookeeper/tree/trunk/src/contrib/rest">ZooKeeper
+REST</a>
+service to be running. Here is how to setup this one:</p>
+<p>First get and build ZooKeeper:</p>
+<pre>
+git clone https://github.com/apache/zookeeper
+cd zookeeper
+ant
+Buildfile: /home/hue/Development/zookeeper/build.xml
+
+init:
+       [mkdir] Created dir: /home/hue/Development/zookeeper/build/classes
+       [mkdir] Created dir: /home/hue/Development/zookeeper/build/lib
+       [mkdir] Created dir: /home/hue/Development/zookeeper/build/package/lib
+       [mkdir] Created dir: /home/hue/Development/zookeeper/build/test/lib
+
+...
+</pre>
 
+<p>And start the REST service:</p>
+<pre>
+cd src/contrib/rest
+nohup ant run&
+</pre>
 
-<p>ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services</p>
+<p>If ZooKeeper and the REST service are not on the same machine as Hue, go
+update the <a href="https://github.com/cloudera/hue/blob/master/desktop/conf.dist/hue.ini#L581">Hue
+settings</a>
+and specify the correct hostnames and ports:</p>
+<pre>
+    [zookeeper]
 
-<h2>About</h2>
+[[clusters]]
 
-<p>The ZooKeeper Browser application allows you to see how the cluster nodes are working and also allows you to do CRUD operations on the znode hierarchy.</p>
+[[[default]]]
+          # Zookeeper ensemble. Comma separated list of Host/Port.
+          # e.g. localhost:2181,localhost:2182,localhost:2183
+          ## host_ports=localhost:2181
 
+# The URL of the REST contrib service
+          ## rest_url=http://localhost:9998
+</pre>
+</html>