Author: abe
Date: Tue Dec 23 02:46:34 2014
New Revision: 1647471
URL: http://svn.apache.org/r1647471
Log:
SQOOP-1939: 1.99.4 docs have RST errors
Modified:
sqoop/site/trunk/content/resources/docs/1.99.4/Sqoop5MinutesDemo.html
sqoop/site/trunk/content/resources/docs/1.99.4/project-reports.html
Modified: sqoop/site/trunk/content/resources/docs/1.99.4/Sqoop5MinutesDemo.html
URL:
http://svn.apache.org/viewvc/sqoop/site/trunk/content/resources/docs/1.99.4/Sqoop5MinutesDemo.html?rev=1647471&r1=1647470&r2=1647471&view=diff
==============================================================================
--- sqoop/site/trunk/content/resources/docs/1.99.4/Sqoop5MinutesDemo.html
(original)
+++ sqoop/site/trunk/content/resources/docs/1.99.4/Sqoop5MinutesDemo.html Tue
Dec 23 02:46:34 2014
@@ -72,29 +72,26 @@ API versions:
</div>
<p>You should received similar output as shown above describing the sqoop
client build version, the server build version and the supported versions for
the rest API.</p>
<p>You can use the help command to check all the supported commands in the
sqoop shell.</p>
-<dl class="docutils">
-<dt>::</dt>
-<dd><p class="first">sqoop:000> help
-For information about Sqoop, visit: http://sqoop.apache.org/</p>
-<dl class="last docutils">
-<dt>Available commands:</dt>
-<dd>exit (x ) Exit the shell
-history (H ) Display, manage and recall edit-line history
-help (h ) Display this help message
-set (st ) Configure various client options and settings
-show (sh ) Display various objects and configuration options
-create (cr ) Create new object in Sqoop repository
-delete (d ) Delete existing object in Sqoop repository
-update (up ) Update objects in Sqoop repository
-clone (cl ) Create new object based on existing one
-start (sta) Start job
-stop (stp) Stop job
-status (stu) Display status of a job
-enable (en ) Enable object in Sqoop repository
-disable (di ) Disable object in Sqoop repository</dd>
-</dl>
-</dd>
-</dl>
+<div class="highlight-none"><div class="highlight"><pre>sqoop:000> help
+For information about Sqoop, visit: http://sqoop.apache.org/
+
+Available commands:
+ exit (\x ) Exit the shell
+ history (\H ) Display, manage and recall edit-line history
+ help (\h ) Display this help message
+ set (\st ) Configure various client options and settings
+ show (\sh ) Display various objects and configuration options
+ create (\cr ) Create new object in Sqoop repository
+ delete (\d ) Delete existing object in Sqoop repository
+ update (\up ) Update objects in Sqoop repository
+ clone (\cl ) Create new object based on existing one
+ start (\sta) Start job
+ stop (\stp) Stop job
+ status (\stu) Display status of a job
+ enable (\en ) Enable object in Sqoop repository
+ disable (\di ) Disable object in Sqoop repository
+</pre></div>
+</div>
</div>
<div class="section" id="creating-link-object">
<h2>Creating Link Object<a class="headerlink" href="#creating-link-object"
title="Permalink to this headline">¶</a></h2>
@@ -128,62 +125,37 @@ New link was successfully created with v
</div>
<p>Our new link object was created with assigned id 1.</p>
<p>In the <tt class="docutils literal"><span class="pre">show</span> <span
class="pre">connector</span> <span class="pre">-all</span></tt> we see that
there is a hdfs-connector registered in sqoop with the persistent id 1. Let us
create another link object but this time for the hdfs-connector instead.</p>
-<dl class="docutils">
-<dt>::</dt>
-<dd><p class="first">sqoop:000> create link –cid 1
+<div class="highlight-none"><div class="highlight"><pre>sqoop:000> create
link --cid 1
Creating link for connector with id 1
Please fill following values to create new link object
-Name: Second Link</p>
-<p class="last">Link configuration
+Name: Second Link
+
+Link configuration
HDFS URI: hdfs://nameservice1:8020/
-New link was successfully created with validation status OK and persistent id
2</p>
-</dd>
-</dl>
+New link was successfully created with validation status OK and persistent id 2
+</pre></div>
+</div>
</div>
<div class="section" id="creating-job-object">
<h2>Creating Job Object<a class="headerlink" href="#creating-job-object"
title="Permalink to this headline">¶</a></h2>
<p>Connectors implement the <tt class="docutils literal"><span
class="pre">From</span></tt> for reading data from and/or <tt class="docutils
literal"><span class="pre">To</span></tt> for writing data to. Generic JDBC
Connector supports both of them List of supported directions for each connector
might be seen in the output of <tt class="docutils literal"><span
class="pre">show</span> <span class="pre">connector</span> <span
class="pre">-all</span></tt> command above. In order to create a job we need to
specifiy the <tt class="docutils literal"><span class="pre">From</span></tt>
and <tt class="docutils literal"><span class="pre">To</span></tt> parts of the
job uniquely identified by their link Ids. We already have 2 links created in
the system, you can verify the same with the following command</p>
-<dl class="docutils">
-<dt>::</dt>
-<dd><p class="first">sqoop:000> show links -all
+<div class="highlight-none"><div class="highlight"><pre>sqoop:000> show
links -all
2 link(s) to show:
link with id 1 and name First Link (Enabled: true, Created by root at 11/4/14
4:27 PM, Updated by root at 11/4/14 4:27 PM)
-Using Connector id 2</p>
-<div class="system-message">
-<p class="system-message-title">System Message: ERROR/3 (<tt
class="docutils">/Users/gshapira/workspace/sqoop2/docs/src/site/sphinx/Sqoop5MinutesDemo.rst</tt>,
line 130)</p>
-Unexpected indentation.</div>
-<blockquote>
-<div><dl class="docutils">
-<dt>Link configuration</dt>
-<dd><p class="first">JDBC Driver Class: com.mysql.jdbc.Driver
-JDBC Connection String: <a class="reference external"
href="jdbc:mysql://mysql.ent.cloudera.com/sqoop">jdbc:mysql://mysql.ent.cloudera.com/sqoop</a>
-Username: sqoop
-Password:
-JDBC Connection Properties:</p>
-<div class="system-message">
-<p class="system-message-title">System Message: ERROR/3 (<tt
class="docutils">/Users/gshapira/workspace/sqoop2/docs/src/site/sphinx/Sqoop5MinutesDemo.rst</tt>,
line 136)</p>
-Unexpected indentation.</div>
-<blockquote class="last">
-<div>protocol = tcp</div></blockquote>
-</dd>
-</dl>
-</div></blockquote>
-<div class="system-message">
-<p class="system-message-title">System Message: WARNING/2 (<tt
class="docutils">/Users/gshapira/workspace/sqoop2/docs/src/site/sphinx/Sqoop5MinutesDemo.rst</tt>,
line 137)</p>
-Block quote ends without a blank line; unexpected unindent.</div>
-<p>link with id 2 and name Second Link (Enabled: true, Created by root at
11/4/14 4:38 PM, Updated by root at 11/4/14 4:38 PM)
-Using Connector id 1</p>
-<div class="system-message">
-<p class="system-message-title">System Message: ERROR/3 (<tt
class="docutils">/Users/gshapira/workspace/sqoop2/docs/src/site/sphinx/Sqoop5MinutesDemo.rst</tt>,
line 139)</p>
-Unexpected indentation.</div>
-<blockquote class="last">
-<div><dl class="docutils">
-<dt>Link configuration</dt>
-<dd>HDFS URI: hdfs://nameservice1:8020/</dd>
-</dl>
-</div></blockquote>
-</dd>
-</dl>
+Using Connector id 2
+ Link configuration
+ JDBC Driver Class: com.mysql.jdbc.Driver
+ JDBC Connection String: jdbc:mysql://mysql.ent.cloudera.com/sqoop
+ Username: sqoop
+ Password:
+ JDBC Connection Properties:
+ protocol = tcp
+link with id 2 and name Second Link (Enabled: true, Created by root at 11/4/14
4:38 PM, Updated by root at 11/4/14 4:38 PM)
+Using Connector id 1
+ Link configuration
+ HDFS URI: hdfs://nameservice1:8020/
+</pre></div>
+</div>
<p>Next, we can use the two link Ids to associate the <tt class="docutils
literal"><span class="pre">From</span></tt> and <tt class="docutils
literal"><span class="pre">To</span></tt> for the job.</p>
<div class="highlight-none"><div class="highlight"><pre> sqoop:000> create
job -f 1 -t 2
Creating job for links with from id 1 and to id 2
@@ -234,14 +206,6 @@ ToJob configuration
</div>
<div class="section" id="start-job-a-k-a-data-transfer">
<h2>Start Job ( a.k.a Data transfer )<a class="headerlink"
href="#start-job-a-k-a-data-transfer" title="Permalink to this
headline">¶</a></h2>
-<div class="system-message">
-<p class="system-message-title">System Message: WARNING/2 (<tt
class="docutils">/Users/gshapira/workspace/sqoop2/docs/src/site/sphinx/Sqoop5MinutesDemo.rst</tt>,
line 192)</p>
-<p>Title underline too short.</p>
-<div class="highlight-none"><div class="highlight"><pre>Start Job ( a.k.a Data
transfer )
-================================
-</pre></div>
-</div>
-</div>
<p>You can start a sqoop job with the following command:</p>
<div class="highlight-none"><div class="highlight"><pre>sqoop:000> start
job --jid 1
Submission details
Modified: sqoop/site/trunk/content/resources/docs/1.99.4/project-reports.html
URL:
http://svn.apache.org/viewvc/sqoop/site/trunk/content/resources/docs/1.99.4/project-reports.html?rev=1647471&r1=1647470&r2=1647471&view=diff
==============================================================================
--- sqoop/site/trunk/content/resources/docs/1.99.4/project-reports.html
(original)
+++ sqoop/site/trunk/content/resources/docs/1.99.4/project-reports.html Tue Dec
23 02:46:34 2014
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2014-11-16 -->
+<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2014-12-22 -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -10,7 +10,7 @@
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css"
media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20141116" />
+ <meta name="Date-Revision-yyyymmdd" content="20141222" />
<meta http-equiv="Content-Language" content="en" />
</head>
@@ -27,7 +27,7 @@
<div class="xleft">
- <span id="publishDate">Last Published: 2014-11-16</span>
+ <span id="publishDate">Last Published: 2014-12-22</span>
| <span id="projectVersion">Version: 1.99.4</span>
</div>
<div class="xright"> <a href="./" title="Sqoop
Documentation">Sqoop Documentation</a>