knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmc...@apache.org
Subject svn commit: r1588706 - in /knox: site/books/knox-0-4-0/knox-0-4-0-new.html site/books/knox-0-4-0/knox-0-4-0.html trunk/books/0.4.0/quick_start.md
Date Sat, 19 Apr 2014 21:01:44 GMT
Author: lmccay
Date: Sat Apr 19 21:01:43 2014
New Revision: 1588706

URL: http://svn.apache.org/r1588706
Log:
KNOX-322 qualified the specific file cleaned by gateway.sh clean

Modified:
    knox/site/books/knox-0-4-0/knox-0-4-0-new.html
    knox/site/books/knox-0-4-0/knox-0-4-0.html
    knox/trunk/books/0.4.0/quick_start.md

Modified: knox/site/books/knox-0-4-0/knox-0-4-0-new.html
URL: http://svn.apache.org/viewvc/knox/site/books/knox-0-4-0/knox-0-4-0-new.html?rev=1588706&r1=1588705&r2=1588706&view=diff
==============================================================================
--- knox/site/books/knox-0-4-0/knox-0-4-0-new.html (original)
+++ knox/site/books/knox-0-4-0/knox-0-4-0-new.html Sat Apr 19 21:01:43 2014
@@ -91,7 +91,7 @@
 </code></pre><p>This will create a directory <code>knox-{VERSION}</code>
in your current directory. The directory <code>knox-{VERSION}</code> will considered
your <code>{GATEWAY_HOME}</code></p><h3><a id="6+-+Start+LDAP+embedded+in+Knox"></a>6
- Start LDAP embedded in Knox</h3><p>Knox comes with an LDAP server for demonstration
purposes.</p>
 <pre><code>cd {GATEWAY_HOME}
 bin/ldap.sh start
-</code></pre><h3><a id="7+-+Start+Knox"></a>7 - Start Knox</h3><p>The
gateway can be started in one of two ways, as java -jar or with a shell script.</p><h6><a
id="Starting+via+script"></a>Starting via script</h6><p>Run the knoxcli
create-master command in order to persist the master secret that is used to protect the key
and credential stores for the gateway instance.</p><h6><a id="linux"></a>linux</h6>
+</code></pre><h3><a id="7+-+Start+Knox"></a>7 - Start Knox</h3><p>The
gateway can be started using the provided shell script.</p><h6><a id="Starting+via+script"></a>Starting
via script</h6><p>Run the knoxcli create-master command in order to persist the
master secret that is used to protect the key and credential stores for the gateway instance.</p><h6><a
id="linux"></a>linux</h6>
 <pre><code>cd {GATEWAY_HOME}
 bin/knoxcli.sh create-master
 </code></pre><p>The cli will prompt you for the master secret (i.e. password).</p><p>The
server will discover the persisted master secret during start up and complete the setup process
for demo installs. A demo install will consist of a knox gateway instance with an identity
certificate for localhost. This will require clients to be on the same machine or to turn
off hostname verification. For more involved deployments, See the Knox CLI section of this
document for additional commands - incuding the ability to create a self-signed certificate
for a specific hostname.</p>
@@ -103,7 +103,7 @@ bin/gateway.sh stop
 </code></pre><p>If for some reason the gateway is stopped other than by
using the command above you may need to clear the tracking PID.</p>
 <pre><code>cd {GATEWAY_HOME}
 bin/gateway.sh clean
-</code></pre><p><strong>NOTE: This command will also clear any log
output in /var/log/knox so use this with caution.</strong></p><h3><a
id="8+-+Do+Hadoop+with+Knox"></a>8 - Do Hadoop with Knox</h3><h4><a
id="Put+a+file+in+HDFS+via+Knox."></a>Put a file in HDFS via Knox.</h4><h4><a
id="CAT+a+file+in+HDFS+via+Knox."></a>CAT a file in HDFS via Knox.</h4><h4><a
id="Invoke+the+LISTSTATUS+operation+on+WebHDFS+via+the+gateway."></a>Invoke the LISTSTATUS
operation on WebHDFS via the gateway.</h4><p>This will return a directory listing
of the root (i.e. /) directory of HDFS.</p>
+</code></pre><p><strong>NOTE: This command will also clear any .out
and .err file from the /var/log/knox directory so use this with caution.</strong></p><h3><a
id="8+-+Do+Hadoop+with+Knox"></a>8 - Do Hadoop with Knox</h3><h4><a
id="Put+a+file+in+HDFS+via+Knox."></a>Put a file in HDFS via Knox.</h4><h4><a
id="CAT+a+file+in+HDFS+via+Knox."></a>CAT a file in HDFS via Knox.</h4><h4><a
id="Invoke+the+LISTSTATUS+operation+on+WebHDFS+via+the+gateway."></a>Invoke the LISTSTATUS
operation on WebHDFS via the gateway.</h4><p>This will return a directory listing
of the root (i.e. /) directory of HDFS.</p>
 <pre><code>curl -i -k -u guest:guest-password -X GET \
     &#39;https://localhost:8443/gateway/sandbox/webhdfs/v1/?op=LISTSTATUS&#39;
 </code></pre><p>The results of the above command should result in something
to along the lines of the output below. The exact information returned is subject to the content
within HDFS in your Hadoop cluster. Successfully executing this command at a minimum proves
that the gateway is properly configured to provide access to WebHDFS. It does not necessarily
provide that any of the other services are correct configured to be accessible. To validate
that see the sections for the individual services in <a href="#Service+Details">Service
Details</a>.</p>

Modified: knox/site/books/knox-0-4-0/knox-0-4-0.html
URL: http://svn.apache.org/viewvc/knox/site/books/knox-0-4-0/knox-0-4-0.html?rev=1588706&r1=1588705&r2=1588706&view=diff
==============================================================================
--- knox/site/books/knox-0-4-0/knox-0-4-0.html (original)
+++ knox/site/books/knox-0-4-0/knox-0-4-0.html Sat Apr 19 21:01:43 2014
@@ -91,7 +91,7 @@
 </code></pre><p>This will create a directory <code>knox-{VERSION}</code>
in your current directory. The directory <code>knox-{VERSION}</code> will considered
your <code>{GATEWAY_HOME}</code></p><h3><a id="6+-+Start+LDAP+embedded+in+Knox"></a>6
- Start LDAP embedded in Knox</h3><p>Knox comes with an LDAP server for demonstration
purposes.</p>
 <pre><code>cd {GATEWAY_HOME}
 bin/ldap.sh start
-</code></pre><h3><a id="7+-+Start+Knox"></a>7 - Start Knox</h3><p>The
gateway can be started in one of two ways, as java -jar or with a shell script.</p><h6><a
id="Starting+via+script"></a>Starting via script</h6><p>Run the knoxcli
create-master command in order to persist the master secret that is used to protect the key
and credential stores for the gateway instance.</p><h6><a id="linux"></a>linux</h6>
+</code></pre><h3><a id="7+-+Start+Knox"></a>7 - Start Knox</h3><p>The
gateway can be started using the provided shell script.</p><h6><a id="Starting+via+script"></a>Starting
via script</h6><p>Run the knoxcli create-master command in order to persist the
master secret that is used to protect the key and credential stores for the gateway instance.</p><h6><a
id="linux"></a>linux</h6>
 <pre><code>cd {GATEWAY_HOME}
 bin/knoxcli.sh create-master
 </code></pre><p>The cli will prompt you for the master secret (i.e. password).</p><p>The
server will discover the persisted master secret during start up and complete the setup process
for demo installs. A demo install will consist of a knox gateway instance with an identity
certificate for localhost. This will require clients to be on the same machine or to turn
off hostname verification. For more involved deployments, See the Knox CLI section of this
document for additional commands - incuding the ability to create a self-signed certificate
for a specific hostname.</p>
@@ -103,7 +103,7 @@ bin/gateway.sh stop
 </code></pre><p>If for some reason the gateway is stopped other than by
using the command above you may need to clear the tracking PID.</p>
 <pre><code>cd {GATEWAY_HOME}
 bin/gateway.sh clean
-</code></pre><p><strong>NOTE: This command will also clear any log
output in /var/log/knox so use this with caution.</strong></p><h3><a
id="8+-+Do+Hadoop+with+Knox"></a>8 - Do Hadoop with Knox</h3><h4><a
id="Put+a+file+in+HDFS+via+Knox."></a>Put a file in HDFS via Knox.</h4><h4><a
id="CAT+a+file+in+HDFS+via+Knox."></a>CAT a file in HDFS via Knox.</h4><h4><a
id="Invoke+the+LISTSTATUS+operation+on+WebHDFS+via+the+gateway."></a>Invoke the LISTSTATUS
operation on WebHDFS via the gateway.</h4><p>This will return a directory listing
of the root (i.e. /) directory of HDFS.</p>
+</code></pre><p><strong>NOTE: This command will also clear any .out
and .err file from the /var/log/knox directory so use this with caution.</strong></p><h3><a
id="8+-+Do+Hadoop+with+Knox"></a>8 - Do Hadoop with Knox</h3><h4><a
id="Put+a+file+in+HDFS+via+Knox."></a>Put a file in HDFS via Knox.</h4><h4><a
id="CAT+a+file+in+HDFS+via+Knox."></a>CAT a file in HDFS via Knox.</h4><h4><a
id="Invoke+the+LISTSTATUS+operation+on+WebHDFS+via+the+gateway."></a>Invoke the LISTSTATUS
operation on WebHDFS via the gateway.</h4><p>This will return a directory listing
of the root (i.e. /) directory of HDFS.</p>
 <pre><code>curl -i -k -u guest:guest-password -X GET \
     &#39;https://localhost:8443/gateway/sandbox/webhdfs/v1/?op=LISTSTATUS&#39;
 </code></pre><p>The results of the above command should result in something
to along the lines of the output below. The exact information returned is subject to the content
within HDFS in your Hadoop cluster. Successfully executing this command at a minimum proves
that the gateway is properly configured to provide access to WebHDFS. It does not necessarily
provide that any of the other services are correct configured to be accessible. To validate
that see the sections for the individual services in <a href="#Service+Details">Service
Details</a>.</p>

Modified: knox/trunk/books/0.4.0/quick_start.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/0.4.0/quick_start.md?rev=1588706&r1=1588705&r2=1588706&view=diff
==============================================================================
--- knox/trunk/books/0.4.0/quick_start.md (original)
+++ knox/trunk/books/0.4.0/quick_start.md Sat Apr 19 21:01:43 2014
@@ -125,7 +125,7 @@ Knox comes with an LDAP server for demon
 
 ### 7 - Start Knox  ###
 
-The gateway can be started in one of two ways, as java -jar or with a shell script.
+The gateway can be started using the provided shell script.
 
 
 ###### Starting via script
@@ -157,7 +157,7 @@ If for some reason the gateway is stoppe
     cd {GATEWAY_HOME}
     bin/gateway.sh clean
 
-__NOTE: This command will also clear any log output in /var/log/knox so use this with caution.__
+__NOTE: This command will also clear any .out and .err file from the /var/log/knox directory
so use this with caution.__
 
 
 ### 8 - Do Hadoop with Knox



Mime
View raw message