GitHub user zellerh opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/118

    TRAFODION-1521 Build Trafodion without having HBase installed

    Adding a new script, core/sqf/sql/scripts/get_libhdfs_files. The new
    script will download Google Protocol Buffers 2.5.0 and a source tar
    file for Hadoop and build protobuf-2.5.0 and the Hadoop native
    libraries. It will then copy the libraries (libhadoop.so and
    libhdfs.so) to $MY_SQROOT/export/lib$ {SQ_MBTYPE}. It will also copy
    the include file hdfs.h to $MY_SQROOT/include. Since this step is very
    time-consuming, it takes a shortcut if Hadoop is installed
    (e.g. with install_local_hadoop), in that case it will copy the
    existing native libraries.  To address the remaining needs for jar
    files during the build, the hbasetmlib2 build is converted to
    Maven.  We also remove the case in sqenvcom.sh where a
    configuration does not have install_local_hadoop, Cloudera,
    Hortonworks or MapR installed, but has a TOOLSDIR. Such cases should
    use the recently added case for a native Apache Hadoop installation or
    the case where no HBase installation is found. That last case will
    print out a reminder that can be ignored.
    
    Note: Users will need to do "sqgen" to update their classpath. This is
    because we need a new jar in the classpath: trafodion-dtm-1.2.0.jar.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zellerh/incubator-trafodion bug/1521

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/118.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #118
    
----
commit 77eab6badc3cebaef392a03b25c3d9e1dc5106c2
Author: Hans Zeller <[email protected]>
Date:   2015-10-13T14:40:46Z

    TRAFODION-1521 Build Trafodion without having HBase installed
    
    Adding a new script, core/sqf/sql/scripts/get_libhdfs_files. The new
    script will download Google Protocol Buffers 2.5.0 and a source tar
    file for Hadoop and build protobuf-2.5.0 and the Hadoop native
    libraries. It will then copy the libraries (libhadoop.so and
    libhdfs.so) to $MY_SQROOT/export/lib$ {SQ_MBTYPE}. It will also copy
    the include file hdfs.h to $MY_SQROOT/include. Since this step is very
    time-consuming, it takes a shortcut if Hadoop is installed
    (e.g. with install_local_hadoop), in that case it will copy the
    existing native libraries.  To address the remaining needs for jar
    files during the build, the hbasetmlib2 build is converted to
    Maven.  We also remove the case in sqenvcom.sh where a
    configuration does not have install_local_hadoop, Cloudera,
    Hortonworks or MapR installed, but has a TOOLSDIR. Such cases should
    use the recently added case for a native Apache Hadoop installation or
    the case where no HBase installation is found. That last case will
    print out a reminder that can be ignored.
    
    Note: Users will need to do "sqgen" to update their classpath. This is
    because we need a new jar in the classpath: trafodion-dtm-1.2.0.jar.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to