Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document describes the steps required to build Trafodion software.

Supported Platforms

  • Red Hat 6.4 or Centos 6.4 are supported as development and production platforms.

Required Software

 

Database Connectivity Services (DCS)

Prerequisites

...

  1. Install Cloudera or Horton Works Hadoop distribution
  1. Java 1.7

...

  1. .x or greater must be installed. Ensure JAVA_HOME environment variable is set and points to your JDK installation.
  2. Install the maven build tool.

Additional requirements for Trafodion include:

Install the following packages via yum install <package>

...

Build

  1. Download sources: https://github.com/trafodion/dcs
  2. Run a Maven clean site package command:
    mvn clean site package
    

Core Trafodion

Prerequisites

The preferred build platform is RedHat 6.4 or CentOS 6.4.

Linux OS Dependencies

Many required dependencies are available from the standard distribution using yum install. 

alsa-lib-devel
ant
ant-nodeps
boost-devel
device-mapper-multipath
dhcp
gcc-c++
gd
glibc-devel.i686
graphviz-perl
gzip
java-1.7.0-openjdk-devel
java-1.6.0-openjdk-devel
libaio-devel
libibcm.i686
libibumad-devel
libibumad-devel.i686
 libiodbc
 libiodbc-devel librdmacm-devel librdmacm-devel.i686
 log4cxx log4cxx-devel lua-devel
 lzo-minilzo net-snmp-devel net-snmp-perl
 openldap-clients openldap-devel.i686
openmotif
openssl-devel.i686
openssl-static
perl-Config-IniFiles
perl-DBD-SQLite
perl-Config-Tiny
perl-Expect
perl-IO-Tty
perl-Math-Calc-Units
perl-Params-Validate
perl-Parse-RecDescent
perl-TermReadKey
perl-Time-HiRes
protobuf-compiler
protobuf-devel
python-qpid
python-qpid-qmf
qpid-cpp-client
qpid-cpp-client-devel
qpid-cpp-client-ssl
qpid-cpp-server
qpid-cpp-server-ssl
qpid-qmf
qpid-tools
readline-devel
saslwrapper
sqlite-devel
 tog-Pegasus
 unixODBC unixODBC-devel
uuid-perl
 xinetd xerces-c-devel 

 

To install these packages, do the following command:

yum install <package>

...

2. Download, build and install the non-standard development tools via  Additional Build Tools

Note :
  1.  The qpid-cpp-client-devel package is not in the latest CentOS distribution, so you may need to enable an earlier repo

...

  1. using the following command

                    yum

...

--enablerepo=C6.3-updates

...

install

...

qpid-cpp-client-devel

...

...

2

...

 . Not

...

all

...

packages

...

come

...

standard

...

with

...

RHEL/CentOS,

...

the

...

EPEL

...

repo

...

will

...

need

...

to

...

be

...

downloaded

...

and

...

installed

...

using wget command

                     wget wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

sudo                      sudo rpm -Uvh epelrelease-6-8.noarch.rpm

Nonstandard Tools

There are several dependencies that are not available in the standard distribution.

 

 

Database Connectivity Services (DCS)

Prerequisites

  • Build
  1. Download sources: https://github.com/trafodion/dcs
  2. Run a Maven clean site package command:
    mvn clean site package
    

Core Trafodion

Prerequisites

 

 Download and build: Additional Build Tools

Hadoop Components

Install Hadoop, HBase, and Hive dependencies in a common location of your choice ($TOOLSDIR). Dependencies for release 0.9.x:

...

The location of build dependencies can be customized. See the source code file https://github.com/trafodion/core/blob/master/sqf/LocalSettingsTemplate.sh.

Build

  1. Get a clone of the git repository (https://github.com/trafodion/core)
  2. Set up shell environment
     cd sqf
     source ./sqenv.sh 
    
  3. Build the software
     cd $MY_SQROOT/..
     make all
    

...