...
...
Note |
---|
|
You MUST complete the steps in Create Build Environment before you build the Trafodion source since those steps install required Linux packages as well as set up important environmental variables. |
Download and Install Trafodion Source Tree
If you haven’t done so already, then download and install the Trafodion source tree. Refer to the Source Download instructions in the How-To chapter.
Set Up Environmental Variables
Start a new ssh
session. Use the following commands to set up the Trafodion environmental variables.
Info |
---|
|
You should have set up the TOOLSDIR environmental variable in your .bashrc or .profile already. as part of installing the Trafodion build tools. If you have not, please do so now. Refer to Install Required Build Tools. |
Code Block |
---|
|
cd <Trafodion source directory>
source ./env.sh |
Example
Code Block |
---|
language | bash |
---|
title | Set Up Environmental Variables |
---|
|
$ cd mysource/incubator-trafodion
$ source ./env.sh
If you are ready to build Trafodion, perform one of the following options:
make all (Build Trafodion, DCS, and REST) OR
make package (Build Trafodion, DCS, REST, and Client drivers) OR
make package-all (Build Trafodion, DCS, REST, Client drivers, and Tests)
If Trafodion has been built and you want test:
Execute the install_local_hadoop script which performs a single node
install using a popular Hadoop distribution
cd /home/trafdeveloper/mysource/incubator-trafodion/core/sqf/sql/scripts
install_local_hadoop [-p <port option>]
install_traf_components
configure Trafodion and start the processes
HAVE FUN!
You can also choose to install_local_hadoop before building Trafodion.
$ |