incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1173786 - in /incubator/hcatalog/branches/branch-0.2: CHANGES.txt RELEASE_NOTES.txt src/docs/src/documentation/content/xdocs/install.xml
Date Wed, 21 Sep 2011 18:36:06 GMT
Author: hashutosh
Date: Wed Sep 21 18:36:05 2011
New Revision: 1173786

URL: http://svn.apache.org/viewvc?rev=1173786&view=rev
Log:
HCATALOG-111: Issues with install instructions and release notes in release candidate (gates
via hashutosh)

Modified:
    incubator/hcatalog/branches/branch-0.2/CHANGES.txt
    incubator/hcatalog/branches/branch-0.2/RELEASE_NOTES.txt
    incubator/hcatalog/branches/branch-0.2/src/docs/src/documentation/content/xdocs/install.xml

Modified: incubator/hcatalog/branches/branch-0.2/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.2/CHANGES.txt?rev=1173786&r1=1173785&r2=1173786&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.2/CHANGES.txt (original)
+++ incubator/hcatalog/branches/branch-0.2/CHANGES.txt Wed Sep 21 18:36:05 2011
@@ -75,6 +75,8 @@ Release 0.2.0 - Sept-2011
   OPTIMIZATIONS
 
   BUG FIXES
+    HCAT-111. Issues with install instructions and release notes in release candidate (gates
via hashutosh)    
+
     HCAT-110. Fix source target (khorgath via hashutosh)    
 
     HCAT-78. Update notice.txt and headers and add Disclaimer.txt (hashutosh and gates via
gates)

Modified: incubator/hcatalog/branches/branch-0.2/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.2/RELEASE_NOTES.txt?rev=1173786&r1=1173785&r2=1173786&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.2/RELEASE_NOTES.txt (original)
+++ incubator/hcatalog/branches/branch-0.2/RELEASE_NOTES.txt Wed Sep 21 18:36:05 2011
@@ -22,20 +22,22 @@ Trying the Release
 1. Download hcatalog-src-0.2.0-incubating.tar.gz
 2. Unpack the file: tar -xzvpf hcatalog-src-0.2.0-incubating.tar.gz
 3. Move into the installation directory: cd hcatalog-0.2.0-incubating
-4. Run ant && ant test to run unit tests.
+4. Run "umask 0022 && ant jar test -Dhcatalog.version=0.2.0" to run unit tests.
 5. Run ant tar -Dforrest.home=/path/to/forrest/install -Dhcatalog.version=0.2.0
    to build installable tarball.
-6. Move into build dir cd build
-7. Untar hcatalog-0.2.0.tar.gz: tar -xvzpf hcatalog-0.2.0.tar.gz
-8. Move into hcatalog-0.2.0
-9. Install the hcatalog server by running share/hcatalog/scripts/hcat_server_install.sh
-   You may find instructions in ../../docs/install.html useful
-10. Export HADOOP_HOME and HADOOP_CONF_DIR to appropriate values.
-11. Run share/hcatalog/scripts/hcat_server_start.sh to start the hcatalog server.
-12. To use the command line interface use bin/hcat
-13. To use with Hadoop MapReduce jobs, use the HCatInputFormat and
+6. cd build
+7. Move hcatalog-0.2.0.tar.gz to somewhere you have write permissions (e.g. /home/me/hcat-insall)
+8. cd to your tar-ball location (e.g. cd /home/me/hcat-install)
+9. Untar hcatalog-0.2.0.tar.gz: tar -xvzpf hcatalog-0.2.0.tar.gz
+10. Move into hcatalog-0.2.0
+11. Install the hcatalog server by running share/hcatalog/scripts/hcat_server_install.sh
+    You may find instructions in share/doc/hcatalog/install.html useful
+12. Export HADOOP_HOME and HADOOP_CONF_DIR to appropriate values.
+13. Run share/hcatalog/scripts/hcat_server_start.sh to start the hcatalog server.
+14. To use the command line interface use bin/hcat
+15. To use with Hadoop MapReduce jobs, use the HCatInputFormat and
     HCatOutputFormat classes.
-14. To use with Pig, use the HCatLoader and HCatStorer classes.
+16. To use with Pig, use the HCatLoader and HCatStorer classes.
 
 Relevant Documentation
 ======================

Modified: incubator/hcatalog/branches/branch-0.2/src/docs/src/documentation/content/xdocs/install.xml
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.2/src/docs/src/documentation/content/xdocs/install.xml?rev=1173786&r1=1173785&r2=1173786&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.2/src/docs/src/documentation/content/xdocs/install.xml
(original)
+++ incubator/hcatalog/branches/branch-0.2/src/docs/src/documentation/content/xdocs/install.xml
Wed Sep 21 18:36:05 2011
@@ -71,7 +71,7 @@
 
     <p>Use the database installation script found in the package to create the
     database</p>
-    <p><code>mysql -u hive -D hivemetastoredb -h</code><em>hcatdb.acme.com</em><code>
-p &lt; scripts/hive-schema-0.7.0.mysql.sql</code></p>
+    <p><code>mysql -u hive -D hivemetastoredb -h</code><em>hcatdb.acme.com</em><code>
-p &lt; share/hcatalog/hive/external/metastore/scripts/upgrade/mysql/hive-schema-0.7.0.mysql.sql</code></p>
 
     <p><strong>Thrift Server Setup</strong></p>
 
@@ -100,13 +100,16 @@
     server installation script.  You will need to know the directory you chose
     as <em>root</em> and the
     directory you installed the MySQL Java connector libraries into (referred
-    to in the command below as <em>dbroot</em>).</p>
+    to in the command below as <em>dbroot</em>).  You will also need your
+    <em>hadoop_home</em>, the directory where you have Hadoop installed, and

+    the port number you wish HCatalog to operate on which you will use to set
+    <em>portnum</em>.</p>
 
     <p><code>tar zxf hcatalog-</code><em>version</em><code>.tar.gz
     cd hcatalog-</code><em>version</em></p>
-    <p><code>scripts/hcat_server_install.sh -r </code><em>root</em><code>
-d </code><em>dbroot</em></p>
+    <p><code>share/hcatalog/scripts/hcat_server_install.sh -r </code><em>root</em><code>
-d </code><em>dbroot</em><code> -h </code><em>hadoop_home</em><code>
-p </code><em>portnum</em></p>
 
-    <p>Now you need to edit your <em>root</em><code>/conf/hive-site.xml</code>
file.
+    <p>Now you need to edit your <em>root</em><code>/etc/hcatalog/hive-site.xml</code>
file.
     Open this file in your favorite text editor.  The following table shows the
     values you need to configure.</p>
 
@@ -165,7 +168,7 @@
             
     <p>Start the HCatalog server by switching directories to
     <em>root</em> and invoking the start script
-    <code>bin/hcat_server_start.sh</code></p>
+    <code>share/hcatalog/scripts/hcat_server_start.sh</code></p>
 
   </section>
 
@@ -185,7 +188,7 @@
 
     <p>To stop the HCatalog server, change directories to the <em>root</em>
     directory and invoke the stop script
-    <code>bin/hcat_server_stop.sh</code></p>
+    <code>share/hcatalog/scripts/hcat_server_stop.sh</code></p>
 
   </section>
 
@@ -200,7 +203,7 @@
 
     <p><code>tar zxf hcatalog-</code><em>version</em><code>.tar.gz</code></p>
 
-    <p>Now you need to edit your <em>root</em><code>/conf/hive-site.xml</code>
file.
+    <p>Now you need to edit your <em>root</em><code>/etc/hcatalog/hive-site.xml</code>
file.
     Open this file in your favorite text editor.  The following table shows the
     values you need to configure.   These values should match the values set on
     the HCatalog server.  Do <strong>NOT</strong> copy the configuration file
@@ -228,7 +231,7 @@
     </table>
 
     <p>The HCatalog command line interface (CLI) can now be invoked as
-    <em>root</em><code>/bin/hcat.sh</code>.</p>
+    <em>root</em><code>/bin/hcat</code>.</p>
 
   </section>
 



Mime
View raw message