| |
| <!DOCTYPE html> |
| <!-- |
| Generated by Apache Maven Doxia at 2015-12-08 |
| Rendered using Reflow Maven Skin 1.1.1 (http://andriusvelykis.github.io/reflow-maven-skin) |
| --> |
| <html xml:lang="en" lang="en"> |
| |
| <head> |
| <meta charset="UTF-8" /> |
| <title>Apache Trafodion Setup Build Environment</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| <meta name="description" content="" /> |
| <meta http-equiv="content-language" content="en" /> |
| |
| <link href="http://netdna.bootstrapcdn.com/bootswatch/2.3.2/cerulean/bootstrap.min.css" rel="stylesheet" /> |
| <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css" rel="stylesheet" /> |
| <link href="./css/bootswatch.css" rel="stylesheet" /> |
| <link href="./css/reflow-skin.css" rel="stylesheet" /> |
| |
| <link href="http://yandex.st/highlightjs/7.5/styles/default.min.css" rel="stylesheet" /> |
| |
| <link href="./css/lightbox.css" rel="stylesheet" /> |
| |
| <link href="./css/site.css" rel="stylesheet" /> |
| <link href="./css/print.css" rel="stylesheet" media="print" /> |
| |
| <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> |
| <!--[if lt IE 9]> |
| <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> |
| <![endif]--> |
| |
| |
| |
| </head> |
| |
| <body class="page-setup-build-environment project-trafodion" data-spy="scroll" data-offset="60" data-target="#toc-scroll-target"> |
| |
| <div class="navbar navbar-fixed-top"> |
| <div class="navbar-inner"> |
| <div class="container"> |
| <a class="btn btn-navbar" data-toggle="collapse" data-target="#top-nav-collapse"> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| </a> |
| <a class="brand" href="index.html">Apache <span class="color-highlight">Trafodion</span></a> |
| <div class="nav-collapse collapse" id="top-nav-collapse"> |
| <ul class="nav pull-right"> |
| <li ><a href="download.html" title="Download">Download</a></li> |
| <li class="dropdown"> |
| <a href="#" class="dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a> |
| <ul class="dropdown-menu"> |
| <li ><a href="index.html" title="Project Overview">Project Overview</a></li> |
| <li ><a href="new-features.html" title="New Features">New Features</a></li> |
| <li ><a href="roadmap.html" title="Roadmap">Roadmap</a></li> |
| <li ><a href="performance.html" title="Performance">Performance</a></li> |
| <li ><a href="http:divider" title=""></a></li> |
| <li ><a href="team-list.html" title="Team">Team</a></li> |
| <li ><a href="presentations.html" title="Presentations">Presentations</a></li> |
| <li ><a href="mail-lists.html" title="Mailing List">Mailing List</a></li> |
| <li ><a href="http:divider" title=""></a></li> |
| <li ><a href="source-repository.html" title="Source Repository">Source Repository</a></li> |
| <li ><a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a></li> |
| <li ><a href="license.html" title="License">License</a></li> |
| </ul> |
| </li> |
| <li class="dropdown"> |
| <a href="#" class="dropdown-toggle" data-toggle="dropdown">Using <b class="caret"></b></a> |
| <ul class="dropdown-menu"> |
| <li ><a href="quickstart.html" title="Quick Start">Quick Start</a></li> |
| <li ><a href="download.html" title="Download">Download</a></li> |
| <li ><a href="install.html" title="Install">Install</a></li> |
| <li ><a href="management.html" title="Managing Trafodion">Managing Trafodion</a></li> |
| <li ><a href="http:divider" title=""></a></li> |
| <li ><a href="documentation.html" title="Documentation">Documentation</a></li> |
| <li ><a href="faq.html" title="FAQ">FAQ</a></li> |
| <li ><a href="release-notes.html" title="Release Notes">Release Notes</a></li> |
| </ul> |
| </li> |
| <li class="dropdown"> |
| <a href="#" class="dropdown-toggle" data-toggle="dropdown">Features <b class="caret"></b></a> |
| <ul class="dropdown-menu"> |
| <li ><a href="architecture-overview.html" title="Architecture Overview">Architecture Overview</a></li> |
| <li ><a href="http:divider" title=""></a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/security-ansi-schemas" title="ANSI Schema Support" class="externalLink">ANSI Schema Support</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/ustat-automation" title="Automated Update Statistics" class="externalLink">Automated Update Statistics</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/bulkunload" title="Bulk Unload" class="externalLink">Bulk Unload</a></li> |
| <li ><a href="https://wiki.trafodion.org/wiki/index.php/Trafodion_Manageability#Logging_Events" title="Event Handling" class="externalLink">Event Handling</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/hybrid-query-cache" title="Hybrid Query Cache" class="externalLink">Hybrid Query Cache</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/identity-column" title="Identity Column" class="externalLink">Identity Column</a></li> |
| <li ><a href="https://wiki.trafodion.org/wiki/index.php/Creating_Statistics_During_Bulk_Load" title="Immediate Update Statistics" class="externalLink">Immediate Update Statistics</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/lob-support" title="Large Object (LOB)" class="externalLink">Large Object (LOB)</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/ddl-query-invalidation" title="Metadata Query Invalidation" class="externalLink">Metadata Query Invalidation</a></li> |
| <li ><a href="https://cwiki.apache.org/confluence/display/TRAFODION/Cmp-divisioning" title="Multi-Temperature Data" class="externalLink">Multi-Temperature Data</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/access-external-hbase-tables" title="Native HBase Tables" class="externalLink">Native HBase Tables</a></li> |
| <li ><a href="docs/Trafodion_odb_User_Guide.pdf" title="ODB">ODB</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/sql-query-cancel" title="Query Cancel" class="externalLink">Query Cancel</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/security-privilege-updates" title="Privilege Checking" class="externalLink">Privilege Checking</a></li> |
| <li ><a href="https://wiki.trafodion.org/wiki/index.php/Trafodion_Manageability" title="Repository" class="externalLink">Repository</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/enable-get-statistics-thru-rms" title="Runtime Management System" class="externalLink">Runtime Management System</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/sequence-numbers" title="Sequence Numbers" class="externalLink">Sequence Numbers</a></li> |
| <li ><a href="https://blueprints.launchpad.net/trafodion/+spec/skew-buster" title="Skew Buster" class="externalLink">Skew Buster</a></li> |
| <li ><a href="https://wiki.trafodion.org/wiki/index.php/Tutorial:_The_object-oriented_UDF_interface" title="Table-Oriented UDF" class="externalLink">Table-Oriented UDF</a></li> |
| <li ><a href="https://wiki.trafodion.org/wiki/index.php/Data_Loading#Trickle_Loading_Data_Into_Trafodion_Tables" title="Trickle Load" class="externalLink">Trickle Load</a></li> |
| <li ><a href="http:divider" title=""></a></li> |
| <li ><a href="https://wiki.trafodion.org/wiki/index.php/Backup_and_Restore" title="Backup/Restore Utility" class="externalLink">Backup/Restore Utility</a></li> |
| <li ><a href="https://wiki.trafodion.org/wiki/index.php/Metadata_Cleanup" title="Metadata Cleanup Utility" class="externalLink">Metadata Cleanup Utility</a></li> |
| </ul> |
| </li> |
| <li class="dropdown active"> |
| <a href="#" class="dropdown-toggle" data-toggle="dropdown">Contributing <b class="caret"></b></a> |
| <ul class="dropdown-menu"> |
| <li ><a href="contribute.html" title="Contribute">Contribute</a></li> |
| <li ><a href="advocate.html" title="Advocate">Advocate</a></li> |
| <li ><a href="develop.html" title="Develop">Develop</a></li> |
| <li ><a href="testing.html" title="Test">Test</a></li> |
| <li ><a href="merge.html" title="Merge">Merge</a></li> |
| <li ><a href="release.html" title="Release">Release</a></li> |
| <li ><a href="http:divider" title=""></a></li> |
| <li ><a href="create-dev-environment.html" title="Create Dev Environment">Create Dev Environment</a></li> |
| <li ><a href="manage-dev-environment.html" title="Manage Dev Environment">Manage Dev Environment</a></li> |
| <li class="active"><a href="" title="Setup Build Environment">Setup Build Environment</a></li> |
| <li ><a href="build.html" title="Build Trafodion">Build Trafodion</a></li> |
| <li ><a href="http:divider" title=""></a></li> |
| <li ><a href="code.html" title="Modify Code">Modify Code</a></li> |
| <li ><a href="tests.html" title="Modify Tests">Modify Tests</a></li> |
| <li ><a href="document.html" title="Modify Documentation">Modify Documentation</a></li> |
| <li ><a href="website.html" title="Modify Web Site">Modify Web Site</a></li> |
| <li ><a href="wiki.html" title="Modify Wiki Pages">Modify Wiki Pages</a></li> |
| <li ><a href="http:divider" title=""></a></li> |
| <li ><a href="cplusplus-coding-guidelines.html" title="C++ Coding Guidelines">C++ Coding Guidelines</a></li> |
| </ul> |
| </li> |
| <li class="dropdown"> |
| <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache <b class="caret"></b></a> |
| <ul class="dropdown-menu"> |
| <li ><a href="http://incubator.apache.org/projects/trafodion.html" title="Status Page" target="_blank" class="externalLink">Status Page</a></li> |
| <li ><a href="http://www.apache.org/foundation/how-it-works.html" title="Apache Foundation" target="_blank" class="externalLink">Apache Foundation</a></li> |
| <li ><a href="http://www.apache.org/licenses/" title="Apache License" target="_blank" class="externalLink">Apache License</a></li> |
| <li ><a href="http://www.apache.org/security/" title="Apache Security" target="_blank" class="externalLink">Apache Security</a></li> |
| <li ><a href="http:divider" title=""></a></li> |
| <li ><a href="http://www.apache.org/foundation/sponsorship.html" title="Sponsorship" target="_blank" class="externalLink">Sponsorship</a></li> |
| <li ><a href="http://www.apache.org/foundation/thanks.html" title="Thanks" target="_blank" class="externalLink">Thanks</a></li> |
| </ul> |
| </li> |
| </ul> |
| </div><!--/.nav-collapse --> |
| </div> |
| </div> |
| </div> |
| |
| <div class="container"> |
| |
| <!-- Masthead |
| ================================================== --> |
| |
| <header> |
| <div class="jumbotron subhead"> |
| <div class="row" id="banner"> |
| <div class="span12"> |
| <div class="pull-left"> |
| <a href="index.html" id="bannerLeft"><h1>Apache <span class="color-highlight">Trafodion</span></h1></a> |
| <p class="lead">Transactional SQL-on-Hadoop Database</p> |
| </div> |
| <div class="pull-right"> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div> |
| <ul class="breadcrumb"> |
| <li><a href="index.html" title="Trafodion">Trafodion</a></li> |
| <li class="divider">/</li> |
| <li>Setup Build Environment</li> |
| </ul> |
| </div> |
| <hr class="toc-separator" /> |
| <div id="toc-bar" class="navbar" data-spy="affix" data-offset-top="250"> |
| <div class="navbar-inner"> |
| <div id="toc-scroll-target" class="container"> |
| <a class="btn btn-navbar" data-toggle="collapse" data-target="#toc-nav-collapse"> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| </a> |
| <div class="nav-collapse collapse" id="toc-nav-collapse"> |
| <ul id="toc" class="nav"> |
| <li class="toplevel"><a href="#supported_platforms" title="Supported Platforms">Supported Platforms</a></li> |
| <li class="divider-vertical"></li> |
| <li class="toplevel"><a href="#install_required_packages" title="Install Required Packages">Install Required Packages</a></li> |
| <li class="divider-vertical"></li> |
| <li class="toplevel"><a href="#verify_java_version" title="Verify Java Version">Verify Java Version</a></li> |
| <li class="divider-vertical"></li> |
| <li class="dropdown"> |
| <a href="#download_and_install_source" title="Download and Install Source" class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#">Download and Install Source <b class="caret"></b></a> |
| <ul class="dropdown-menu" role="menu"> |
| <!-- Repeat the item, otherwise it is not clickable as the dropdown root --> |
| <li><a href="#download_and_install_source" title="Download and Install Source">Download and Install Source</a></li> |
| <li class="divider"></li> |
| <li><a href="#Git" title="Git">Git</a></li> |
| <li><a href="#tar_file" title="tar file">tar file</a></li> |
| |
| </ul> |
| </li> |
| <li class="divider-vertical"></li> |
| <li class="dropdown"> |
| <a href="#install_build_tools" title="Install Build Tools" class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#">Install Build Tools <b class="caret"></b></a> |
| <ul class="dropdown-menu" role="menu"> |
| <!-- Repeat the item, otherwise it is not clickable as the dropdown root --> |
| <li><a href="#install_build_tools" title="Install Build Tools">Install Build Tools</a></li> |
| <li class="divider"></li> |
| <li><a href="#traf_tools_setupsh" title="traf_tools_setup.sh">traf_tools_setup.sh</a></li> |
| <li><a href="#Manual_Installation" title="Manual Installation">Manual Installation</a></li> |
| |
| </ul> |
| </li> |
| <li class="divider-vertical"></li> |
| <li class="dropdown"> |
| <a href="#" title="More…" class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#">… <b class="caret"></b></a> |
| <ul class="dropdown-menu" role="menu"> |
| <li class="dropdown-submenu"> |
| <a href="#verify_build_environment" title="Verify Build Environment">Verify Build Environment</a> |
| <ul class="dropdown-menu" role="menu"> |
| <li><a href="#Verify_Maven" title="Verify Maven">Verify Maven</a></li> |
| |
| </ul> |
| </li> |
| |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </div> |
| </div> |
| </header> |
| |
| <div class="main-body"> |
| <div class="row"> |
| <div class="span12"> |
| <div class="body-content"> |
| <!-- Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the |
| License. --> |
| <p>This page describes how you set up the Trafodion build environment.</p> |
| <div class="page-header"> |
| <h1 id="supported_platforms">Supported Platforms</h1> |
| </div> |
| <p>Red Hat or Centos 6.x (6.4 or later) versions are supported as development and production platforms.</p> |
| <h1 id="install_required_packages">Install Required Packages</h1> |
| <p>You need to install the following packages before you can build Trafodion.</p> |
| <div class="source"> |
| <div class="source"> |
| <pre>sudo yum install epel-release |
| |
| sudo yum install alsa-lib-devel ant ant-nodeps boost-devel cmake \ |
| device-mapper-multipath dhcp flex gcc-c++ gd git glibc-devel \ |
| glibc-devel.i686 graphviz-perl gzip java-1.7.0-openjdk-devel \ |
| libX11-devel libXau-devel libaio-devel \ |
| libcurl-devel libibcm.i686 libibumad-devel libibumad-devel.i686 \ |
| libiodbc libiodbc-devel librdmacm-devel librdmacm-devel.i686 \ |
| libxml2-devel log4cxx log4cxx-devel lua-devel lzo-minilzo \ |
| net-snmp-devel net-snmp-perl openldap-clients openldap-devel \ |
| openldap-devel.i686 openmotif openssl-devel openssl-devel.i686 \ |
| openssl-static perl-Config-IniFiles perl-Config-Tiny \ |
| perl-DBD-SQLite 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-ssl qpid-cpp-server qpid-cpp-server-ssl \ |
| qpid-qmf qpid-tools readline-devel saslwrapper sqlite-devel \ |
| unixODBC unixODBC-devel uuid-perl wget xerces-c-devel xinetd |
| </pre> |
| </div> |
| </div> |
| <h1 id="verify_java_version">Verify Java Version</h1> |
| <p>The Java version must be 1.7.x. Check as following:</p> |
| <div class="source"> |
| <div class="source"> |
| <pre>$ java -version |
| java version "1.7.0_85" |
| OpenJDK Runtime Environment (rhel-2.6.1.3.el6_6-x86_64 u85-b01) |
| OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode) |
| </pre> |
| </div> |
| </div> |
| <p>Ensure that the Java environment exists and points to your JDK installation. By default Java is located in <b><tt>/usr/lib/java-\<version\></tt></b>.</p> |
| <div class="source"> |
| <div class="source"> |
| <pre>$ echo $JAVA_HOME |
| $ export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 |
| </pre> |
| </div> |
| </div> |
| <h1 id="download_and_install_source">Download and Install Source</h1> |
| <p>The Trafodion source code contains tools that help you set up the build environment.</p> |
| <div class="section"> |
| <h2 id="Git">Git</h2> |
| <p>Please refer to <a href="develop.html#making_changes">Making Changes</a> on the <a href="develop.html">Develop</a> page.</p> |
| </div> |
| <div class="section"> |
| <h2 id="tar_file">tar file</h2> |
| <p>The source code for Apache Trafodion can be downloaded from <a class="externalLink" href="https://dist.apache.org/repos/dist/release/incubator">Apache Trafodion Incubator Release</a> as a tar file. </p> |
| <ul> |
| <li>Download the source tar file to your <b><tt><trafodion download directory></tt></b>.</li> |
| <li>Check the tar file validity by checking signatures, please refer to <a href="release.html#Verify_Signatures">Verify Signatures</a>. The Trafodion releases have been signed using The GNU Privacy Guard.</li> |
| </ul> |
| <p><b>Unpack the tar file</b></p> |
| <div class="source"> |
| <div class="source"> |
| <pre> cd <trafodion download directory> |
| tar -xzf <tar file> |
| </pre> |
| </div> |
| </div> |
| <h1 id="install_build_tools">Install Build Tools</h1> |
| <p>Trafodion requires that several tools are installed in order to build. These tools are:</p> |
| <table border="0" class="bodyTable table table-striped table-hover"> |
| <thead> |
| <tr class="a"> |
| <th>Tool </th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr class="b"> |
| <td><b>Bison</b> </td> |
| <td>General-purpose parser generator.</td> |
| </tr> |
| <tr class="a"> |
| <td><b>ICU</b> </td> |
| <td>Set of C/C++ and Java libraries providing Unicode and Globalization support for software applications.</td> |
| </tr> |
| <tr class="b"> |
| <td><b>LLVM</b> </td> |
| <td>Collection of modular and reusable compiler and tool-chain technologies.</td> |
| </tr> |
| <tr class="a"> |
| <td><b>Maven</b> </td> |
| <td>Build tool that is only installed if compatible version does not exist.</td> |
| </tr> |
| <tr class="b"> |
| <td><b>MPICH</b> </td> |
| <td>An implementation of the Message Passing Interface (MPI) standard. For use in Trafodion, MPICH must be built to force sockets to be used in both internode and intranode message passing.</td> |
| </tr> |
| <tr class="a"> |
| <td><b>Thrift</b> </td> |
| <td>Communications and data serialization tool.</td> |
| </tr> |
| <tr class="b"> |
| <td><b>Udis86</b> </td> |
| <td>Minimalistic disassembler library (libudis86) for the x86 class of instruction set architectures.</td> |
| </tr> |
| <tr class="a"> |
| <td><b>Zookeeper</b> </td> |
| <td>Coordination service for distributed applications. It exposes common services such as naming, configuration management, synchronization, and group services.</td> |
| </tr> |
| </tbody> |
| </table> |
| <p>You can perform the required installation using the Trafodion <b><tt>traf_tools_setup.sh</tt></b> script or by installing each tool manually.</p> |
| </div> |
| <div class="section"> |
| <h2 id="traf_tools_setupsh"><tt>traf_tools_setup.sh</tt></h2> |
| <p><b><tt>traf_tools_setup.sh</tt></b> is a script that uses <b><tt>wget</tt></b> to download the appropriate tar file, build, and install the required tool into a directory of your choice for each tool required tools. </p> |
| <p>The advantage of this method is that all the correct tools are downloaded and built in a single directory. Before building, a single environment variable needs to be set: <b><tt>TOOLSDIR</tt></b>.</p> |
| <div class="alert alert-dismissible alert-info"> |
| <button type="button" class="close" data-dismiss="alert"></button> |
| <p style="color:black"><b>Note</b></p> |
| <p style="color:black">You may want to modify <b><tt>traf_tools_setup.sh</tt></b> for your specific environment. Example: if you already have Zoopkeeper installed, you may not want to re-install it.</p> |
| <p style="color:black">You may need root or sudo access to installs the tools in desired locations.</p> |
| <p style="color:black">In the sections below, <b><tt>incubator-trafodion</tt></b> represents the root directory where you installed the Trafodion source.</p> |
| </div> |
| <p><b>Usage</b></p> |
| <div class="source"> |
| <div class="source"> |
| <pre>cd <Trafodion source directory>/install |
| ./traf_tools_setup.sh -h |
| Usage: ./traf_tools_setup.sh -d <downloaddir> -i <installdir> |
| -d <downloaddir> - location of download directory |
| -i <installdir> - location of install directory |
| -h - help |
| example: traf_tools_setup.sh -d /home/userx/download -i /home/userx/tools |
| </pre> |
| </div> |
| </div> |
| <p>Run <b><tt>traf_tools_setup.sh</tt></b> to install all dependent tools.</p> |
| <p><b>Example</b></p> |
| <div class="source"> |
| <div class="source"> |
| <pre>$ mkdir ~/download |
| $ ./traf_tools_setup.sh -d ~/download -i ~/tools |
| INFO: Starting tools build on Fri Nov 6 21:33:53 PST 2015 |
| Tools install directory /home/centos/tools does not exist, do you want to to create it? y/n : y |
| INFO: Created directory /home/centos/tools |
| INFO: Tar download location: /home/centos/download |
| INFO: Tool install directory location: /home/centos/tools |
| INFO: LogFile location: /home/centos/incubator-trafodion/install/traf_tools_setup.log |
| *********************************************************** |
| INFO: Installing MPI on Fri Nov 6 21:34:00 PST 2015 |
| INFO: downloaded tar file: mpich-3.0.4.tar.gz |
| . |
| . |
| . |
| INFO: downloaded tar file: apache-maven-3.3.3-bin.tar.gz |
| INFO: Maven installation complete |
| *********************************************************** |
| INFO: Completed tools build on Fri Nov 6 22:23:22 PST 2015 |
| INFO: List of tools directory: |
| apache-maven-3.3.3 |
| bison_3_linux |
| dest-llvm-3.2 |
| dest-mpich-3.0.4 |
| icu4.4 |
| thrift-0.9.0 |
| udis86-1.7.2 |
| zookeeper-3.4.5 |
| </pre> |
| </div> |
| </div> |
| <p>Export <b><tt>TOOLSDIR</tt></b> in <b><tt>.bashrc</tt></b> or <b><tt>.profile</tt></b>.</p> |
| <div class="source"> |
| <div class="source"> |
| <pre>export TOOLSDIR=~/tools |
| </pre> |
| </div> |
| </div> |
| </div> |
| <div class="section"> |
| <h2 id="Manual_Installation">Manual Installation</h2> |
| <p>Please refer to <a href="build-tools-manual.html">Build Tools Manual Installation</a>.</p> |
| <h1 id="verify_build_environment">Verify Build Environment</h1> |
| </div> |
| <div class="section"> |
| <h2 id="Verify_Maven">Verify Maven</h2> |
| <p>Check that Maven is installed.</p> |
| <div class="source"> |
| <div class="source"> |
| <pre>mvn --version |
| </pre> |
| </div> |
| </div> |
| <p>If Maven is not found, then you should add Maven to your <b><tt>PATH</tt></b> environmental variable in <b><tt>.bashrc</tt></b> or <b><tt>.profile</tt></b>.</p> |
| <div class="source"> |
| <div class="source"> |
| <pre>PATH=$PATH:<tool installation directory>/apache-maven-3.3.3/bin |
| </pre> |
| </div> |
| </div> |
| <p>At this point, your build environment has been set up. You should now be able to <a href="build.html">Build Trafodion</a>.</p> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
| |
| </div><!-- /container --> |
| |
| <!-- Footer |
| ================================================== --> |
| <footer class="well"> |
| <div class="container"> |
| <div class="row"> |
| <div class="span2 bottom-nav"> |
| <ul class="nav nav-list"> |
| <li class="nav-header">About</li> |
| <li > |
| <a href="index.html" title="Project Overview">Project Overview</a> |
| </li> |
| <li > |
| <a href="new-features.html" title="New Features">New Features</a> |
| </li> |
| <li > |
| <a href="roadmap.html" title="Roadmap">Roadmap</a> |
| </li> |
| <li > |
| <a href="performance.html" title="Performance">Performance</a> |
| </li> |
| <li > |
| <a href="http:divider" title=""></a> |
| </li> |
| <li > |
| <a href="team-list.html" title="Team">Team</a> |
| </li> |
| <li > |
| <a href="presentations.html" title="Presentations">Presentations</a> |
| </li> |
| <li > |
| <a href="mail-lists.html" title="Mailing List">Mailing List</a> |
| </li> |
| <li > |
| <a href="http:divider" title=""></a> |
| </li> |
| <li > |
| <a href="source-repository.html" title="Source Repository">Source Repository</a> |
| </li> |
| <li > |
| <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a> |
| </li> |
| <li > |
| <a href="license.html" title="License">License</a> |
| </li> |
| </ul> |
| </div> |
| <div class="span2 bottom-nav"> |
| <ul class="nav nav-list"> |
| <li class="nav-header">Using</li> |
| <li > |
| <a href="quickstart.html" title="Quick Start">Quick Start</a> |
| </li> |
| <li > |
| <a href="download.html" title="Download">Download</a> |
| </li> |
| <li > |
| <a href="install.html" title="Install">Install</a> |
| </li> |
| <li > |
| <a href="management.html" title="Managing Trafodion">Managing Trafodion</a> |
| </li> |
| <li > |
| <a href="http:divider" title=""></a> |
| </li> |
| <li > |
| <a href="documentation.html" title="Documentation">Documentation</a> |
| </li> |
| <li > |
| <a href="faq.html" title="FAQ">FAQ</a> |
| </li> |
| <li > |
| <a href="release-notes.html" title="Release Notes">Release Notes</a> |
| </li> |
| </ul> |
| </div> |
| <div class="span2 bottom-nav"> |
| <ul class="nav nav-list"> |
| <li class="nav-header">Features</li> |
| <li > |
| <a href="architecture-overview.html" title="Architecture Overview">Architecture Overview</a> |
| </li> |
| <li > |
| <a href="http:divider" title=""></a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/security-ansi-schemas" title="ANSI Schema Support" class="externalLink">ANSI Schema Support</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/ustat-automation" title="Automated Update Statistics" class="externalLink">Automated Update Statistics</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/bulkunload" title="Bulk Unload" class="externalLink">Bulk Unload</a> |
| </li> |
| <li > |
| <a href="https://wiki.trafodion.org/wiki/index.php/Trafodion_Manageability#Logging_Events" title="Event Handling" class="externalLink">Event Handling</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/hybrid-query-cache" title="Hybrid Query Cache" class="externalLink">Hybrid Query Cache</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/identity-column" title="Identity Column" class="externalLink">Identity Column</a> |
| </li> |
| <li > |
| <a href="https://wiki.trafodion.org/wiki/index.php/Creating_Statistics_During_Bulk_Load" title="Immediate Update Statistics" class="externalLink">Immediate Update Statistics</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/lob-support" title="Large Object (LOB)" class="externalLink">Large Object (LOB)</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/ddl-query-invalidation" title="Metadata Query Invalidation" class="externalLink">Metadata Query Invalidation</a> |
| </li> |
| <li > |
| <a href="https://cwiki.apache.org/confluence/display/TRAFODION/Cmp-divisioning" title="Multi-Temperature Data" class="externalLink">Multi-Temperature Data</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/access-external-hbase-tables" title="Native HBase Tables" class="externalLink">Native HBase Tables</a> |
| </li> |
| <li > |
| <a href="docs/Trafodion_odb_User_Guide.pdf" title="ODB">ODB</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/sql-query-cancel" title="Query Cancel" class="externalLink">Query Cancel</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/security-privilege-updates" title="Privilege Checking" class="externalLink">Privilege Checking</a> |
| </li> |
| <li > |
| <a href="https://wiki.trafodion.org/wiki/index.php/Trafodion_Manageability" title="Repository" class="externalLink">Repository</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/enable-get-statistics-thru-rms" title="Runtime Management System" class="externalLink">Runtime Management System</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/sequence-numbers" title="Sequence Numbers" class="externalLink">Sequence Numbers</a> |
| </li> |
| <li > |
| <a href="https://blueprints.launchpad.net/trafodion/+spec/skew-buster" title="Skew Buster" class="externalLink">Skew Buster</a> |
| </li> |
| <li > |
| <a href="https://wiki.trafodion.org/wiki/index.php/Tutorial:_The_object-oriented_UDF_interface" title="Table-Oriented UDF" class="externalLink">Table-Oriented UDF</a> |
| </li> |
| <li > |
| <a href="https://wiki.trafodion.org/wiki/index.php/Data_Loading#Trickle_Loading_Data_Into_Trafodion_Tables" title="Trickle Load" class="externalLink">Trickle Load</a> |
| </li> |
| <li > |
| <a href="http:divider" title=""></a> |
| </li> |
| <li > |
| <a href="https://wiki.trafodion.org/wiki/index.php/Backup_and_Restore" title="Backup/Restore Utility" class="externalLink">Backup/Restore Utility</a> |
| </li> |
| <li > |
| <a href="https://wiki.trafodion.org/wiki/index.php/Metadata_Cleanup" title="Metadata Cleanup Utility" class="externalLink">Metadata Cleanup Utility</a> |
| </li> |
| </ul> |
| </div> |
| <div class="span2 bottom-nav"> |
| <ul class="nav nav-list"> |
| <li class="nav-header">Contributing</li> |
| <li > |
| <a href="contribute.html" title="Contribute">Contribute</a> |
| </li> |
| <li > |
| <a href="advocate.html" title="Advocate">Advocate</a> |
| </li> |
| <li > |
| <a href="develop.html" title="Develop">Develop</a> |
| </li> |
| <li > |
| <a href="testing.html" title="Test">Test</a> |
| </li> |
| <li > |
| <a href="merge.html" title="Merge">Merge</a> |
| </li> |
| <li > |
| <a href="release.html" title="Release">Release</a> |
| </li> |
| <li > |
| <a href="http:divider" title=""></a> |
| </li> |
| <li > |
| <a href="create-dev-environment.html" title="Create Dev Environment">Create Dev Environment</a> |
| </li> |
| <li > |
| <a href="manage-dev-environment.html" title="Manage Dev Environment">Manage Dev Environment</a> |
| </li> |
| <li class="active"> |
| <a href="#" title="Setup Build Environment">Setup Build Environment</a> |
| </li> |
| <li > |
| <a href="build.html" title="Build Trafodion">Build Trafodion</a> |
| </li> |
| <li > |
| <a href="http:divider" title=""></a> |
| </li> |
| <li > |
| <a href="code.html" title="Modify Code">Modify Code</a> |
| </li> |
| <li > |
| <a href="tests.html" title="Modify Tests">Modify Tests</a> |
| </li> |
| <li > |
| <a href="document.html" title="Modify Documentation">Modify Documentation</a> |
| </li> |
| <li > |
| <a href="website.html" title="Modify Web Site">Modify Web Site</a> |
| </li> |
| <li > |
| <a href="wiki.html" title="Modify Wiki Pages">Modify Wiki Pages</a> |
| </li> |
| <li > |
| <a href="http:divider" title=""></a> |
| </li> |
| <li > |
| <a href="cplusplus-coding-guidelines.html" title="C++ Coding Guidelines">C++ Coding Guidelines</a> |
| </li> |
| </ul> |
| </div> |
| <div class="span4 bottom-description"> |
| <blockquote><a href="http://trafodion.apache.org/">Apache Trafodion</a> is a webscale SQL-on-Hadoop solution enabling transactional or operational |
| workloads on Hadoop. <br /><br />The name "Trafodion" (the Welsh word for transactions, pronounced |
| "Tra-vod-eee-on") was chosen specifically to emphasize the differentiation that |
| Trafodion provides in closing a critical gap in the Hadoop ecosystem.<br /><br /> |
| Trafodion builds on the scalability, elasticity, and flexibility of Hadoop. Trafodion extends |
| Hadoop to provide guaranteed transactional integrity, enabling new kinds of big data |
| applications to run on Hadoop.</blockquote> |
| </div> |
| </div> |
| </div> |
| </footer> |
| |
| <div class="container subfooter"> |
| <div class="row"> |
| <div class="span12"> |
| <p class="pull-right"><a href="#">Back to top</a></p> |
| <p class="copyright">Copyright ©2015 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.</p> |
| |
| <hr/> |
| <div class="row span16"> |
| <span>Disclaimer: Apache Trafodion is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. |
| Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making |
| process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the |
| completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</span> |
| <br/> |
| <br/> |
| <span>Apache, Apache Maven, Apache Maven Fluido Skin, the Apache feather logo, the Apache Maven project logo and the Apache Incubator project logo |
| are trademarks of The Apache Software Foundation.</span> |
| <br/> |
| <br/> |
| <span> |
| <a target="_blank" href="http://www.apache.org"> |
| <img id="asf-logo" alt="Apache Software Foundation" src="images/logos/feather-small.gif"/> |
| </a> |
| <a target="_blank" href="http://incubator.apache.org/"> |
| <img id="incubator-logo" alt="Apache Incubator" src="images/logos/egg-logo.gif"/> |
| </a> |
| </span> |
| </div> </div> |
| </div> |
| </div> |
| |
| <!-- Le javascript |
| ================================================== --> |
| <!-- Placed at the end of the document so the pages load faster --> |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> |
| |
| <script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> |
| <script src="./js/lightbox.min.js"></script> |
| <script src="./js/reflow-scroll.js"></script> |
| <script src="http://yandex.st/highlightjs/7.5/highlight.min.js"></script> |
| |
| <script src="./js/reflow-skin.js"></script> |
| |
| </body> |
| </html> |