Index: src/docs/src/documentation/content/xdocs/install.xml =================================================================== --- src/docs/src/documentation/content/xdocs/install.xml (revision 1173449) +++ src/docs/src/documentation/content/xdocs/install.xml (working copy) @@ -71,7 +71,7 @@
Use the database installation script found in the package to create the database
-mysql -u hive -D hivemetastoredb -hhcatdb.acme.com -p < scripts/hive-schema-0.7.0.mysql.sql
mysql -u hive -D hivemetastoredb -hhcatdb.acme.com -p < share/hcatalog/hive/external/metastore/scripts/upgrade/mysql/hive-schema-0.7.0.mysql.sql
Thrift Server Setup
@@ -100,13 +100,16 @@ server installation script. You will need to know the directory you chose as root and the directory you installed the MySQL Java connector libraries into (referred - to in the command below as dbroot). + to in the command below as dbroot). You will also need your + hadoop_home, the directory where you have Hadoop installed, and + the port number you wish HCatalog to operate on which you will use to set + portnum.tar zxf hcatalog-version.tar.gz
cd hcatalog-version
scripts/hcat_server_install.sh -r root -d dbroot
share/hcatalog/scripts/hcat_server_install.sh -r root -d dbroot -h hadoop_home -p portnum
Now you need to edit your root/conf/hive-site.xml file.
+
Now you need to edit your root/etc/hcatalog/hive-site.xml file.
Open this file in your favorite text editor. The following table shows the
values you need to configure.
Start the HCatalog server by switching directories to
root and invoking the start script
- bin/hcat_server_start.sh
share/hcatalog/scripts/hcat_server_start.sh
@@ -185,7 +188,7 @@
To stop the HCatalog server, change directories to the root
directory and invoke the stop script
- bin/hcat_server_stop.sh
share/hcatalog/scripts/hcat_server_stop.sh
@@ -200,7 +203,7 @@
tar zxf hcatalog-version.tar.gz
Now you need to edit your root/conf/hive-site.xml file.
+
Now you need to edit your root/etc/hcatalog/hive-site.xml 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 NOT copy the configuration file
@@ -228,7 +231,7 @@
The HCatalog command line interface (CLI) can now be invoked as
- root/bin/hcat.sh.
/bin/hcat.
Index: RELEASE_NOTES.txt
===================================================================
--- RELEASE_NOTES.txt (revision 1173449)
+++ RELEASE_NOTES.txt (working copy)
@@ -22,7 +22,7 @@
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 "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