Index: src/docs/src/documentation/content/xdocs/install.xml =================================================================== --- src/docs/src/documentation/content/xdocs/install.xml (revision 1450533) +++ src/docs/src/documentation/content/xdocs/install.xml (working copy) @@ -57,29 +57,12 @@ somewhere on your machine. The directory where you unpack it will be referred to as ant_home in this document.
-If you do not already have Apache Forrest installed on your machine, you - will need to obtain it. You can get it from the - Apache Forrest website. Once you download it, you will need to unpack - it somewhere on your machine. The directory where you unpack it will be referred - to as forrest_home in this document.
- -To produce a tarball from this do the following:
- -Create a directory to expand the source release in. Copy the source - release to that directory and unpack it.
-mkdir /tmp/hcat_source_release
cp hcatalog-src-0.5.0-incubating.tar.gz /tmp/hcat_source_release
cd /tmp/hcat_source_release
To produce a binary tarball from downloaded src tarball, execute the following steps:
tar xzf hcatalog-src-0.5.0-incubating.tar.gz
Change directories into the unpacked source release and build the - installation tarball.
cd hcatalog-src-0.5.0-incubating
ant_home/bin/ant -Dhcatalog.version=0.5.0
- -Dforrest.home=forrest_home tar
ant_home/bin/ant package
The tarball for installation should now be at
- build/hcatalog-0.5.0.tar.gz
build/hcatalog-0.5.0-incubating.tar.gz
Database Setup
@@ -127,7 +110,7 @@ purposes of these instructions we will refer to this machine as hcatsvr.acme.com. -If you have not already done so, install Hive 0.9 on this machine. You +
If you have not already done so, install Hive 0.10.0 (say) on this machine. You can use the binary distributions provided by Hive or rpms available from @@ -164,11 +147,13 @@ the port number you wish HCatalog to operate on which you will use to set portnum.
-tar zxf hcatalog-0.5.0.tar.gz
cd hcatalog-0.5.0
tar zxf hcatalog-0.5.0-incubating.tar.gz
cd hcatalog-0.5.0-incubating
share/hcatalog/scripts/hcat_server_install.sh -r root -d dbroot -h hadoop_home -p portnum
Now you need to edit your hive_home/conf/hive-site.xml file.
+ If there is no such file in hive conf directory, copy hcat_home/etc/hcatalog/proto-hive-site.xml
+ and rename it hive-site.xml in hive_home/conf/.
Open this file in your favorite text editor. The following table shows the
values you need to configure.
Copy the HCatalog installation tarball into a temporary directory, and untar it.
-tar zxf hcatalog-0.5.0.tar.gz
tar zxf hcatalog-0.5.0-incubating.tar.gz
Now you need to edit your hive_home/conf/hive-site.xml file.
You can use the same file as on the server except the value of