...
<TBD - should I change all occurances of Trafodion to Apache Trafodion?>
<TBD - need to fix links>
Supported Platforms
Red Hat 6.4 or Centos 6.4 versions are supported as development and production platforms.
...
Example yum install script:
<TDB
yum install alsa-lib-devel ant ant-nodeps boost-devel device-mapper-multipath dhcp gcc-c++ gd glibc-devel glibc-devel.i686 \ graphviz-perl java-1.7.0-openjdk-devel libaio-devel libibcm.i686 libibumad-devel libibumad-devel.i686 \
...
openldap-devel flex-2.5.35-9.el6.x86_64 libcurl-devel libxml2-devel
<TDB - should we include this yum command? It make things easier when setting up a new MV>
Check the following before continuing
Java 1.7.x or greater must be installed. Ensure JAVA_HOME environment variable exists and set to your JDK installation.
- Install openssl version "OpenSSL 1.0.1e-fips" or greater. To check your version do: "openssl version".
- Install protocol buffers version "libprotoc 2.3.0" or greater. To check your version do: "protoc –version"
- Install Apache Maven version 3.0.5 or greater and add it to your PATH. to check your version do: "mvn --version"
- Download latest Apache Trafodion source from Apache Incubator https://github.com/apache/incubator-trafodion, un-tar the file into the <traf <Trafodion download dir>directory>
- Download, build and install additional development tools via Additional Build Tools.
...
Additional development tools are required before building Trafodion as described Additional Build Tools. A convenience script script exists that downloads, installs, and builds all these tools in a common directory. If this convenience script is not used or if any of these additional build tools are not found in the expected location, then the Trafodion configuration file needs to be updated. The Trafodion configuration file template is located in <download directory>/apache-trafodion-1.2.0-incubating/core/sqf/LocalSettingsTemplate.sh. To change values, copy this file to your root directory and change its name to .trafodion. Edit the .trafodion file and update according to the instructions. Be sure to change the location of your TOOLSDIR to your tools <tools installation directorydirectory>.
cd cp <traf download directory>/apache-trafodion-1.2.0-incubating/core/sqf/LocalSettingsTemplate.sh ~/.trafodion
For now, don't change locations for HADOOP_PREFIX, HBASE_HOME, and HIVE_HOME. There is a later step that describes this process.
...
Make sure that TOOLSDIR is not set.
unset $TOOLSDIR
Build Trafodion.Do the build
cd <download directory>/apache-trafodion-1.2.0-incubating
...
$MY_SQROOT/sql/script/sqvers
Build using local Hadoop
This section describes the steps to use the Trafodion installation script called 'install_local_hadoop' that encapsulates building the product and starting the Hadoop eco-system. This script uses a Cloudera distribution.
Make sure you have set up password less authentication. Basically you You should be able to "ssh localhost" without having to enter a password
...
Set the TOOLSDIR environment variable to the location of the components installed via Additional Build Tools. Be sure to set the TOOLSDIR environment variable before invoking env.sh
export TOOLSDIR=<tools installation directory>
cd <download directory>/apache-trafodion-1.2.0-incubating
...
To start/stop/check Hadoop environment using Trafodion supplied scripts, you can execute ‘swstartall’ , ‘swstopall’ and ‘swstatus’, and if you need to remove the installation, execute the 'swuninstall_local_hadoop'.
...
Do the build
Start a new ssh session and set environment
...
$MY_SQROOT/sql/script/sqvers
Install Trafodion components
cd $MY_SQROOT/sql/scripts
...