Fix Ldap include path in cmake find module.

Change-Id: I877475e7f2b4888a712c3aef5bd207e35046afb1
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3865
Reviewed-by: Nong Li <nong@cloudera.com>
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: Alex Behm <alex.behm@cloudera.com>
Add a few missing files to make_test_tarball.sh

Change-Id: Ia9de0e13dbb604aafb757d3f611dab7c03309a22
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3743
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: jenkins
CDH-18432: Fix assignment of On-clause predicates of semi-/anti-joins.

Change-Id: Iad4b772f170ea70ded0747ce55972b0a5194f88a
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3852
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins
Allow passing -so or -build_shared_libs to buildall

Default is to statically link, but specifying these flags will dynamically
link the executables.

Change-Id: Ic67a209b36285027e9b44e5fa491b197f443d84f
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3869
Reviewed-by: Marcel Kornacker <marcel@cloudera.com>
Tested-by: jenkins
Rename ANTI JOIN to LEFT ANTI JOIN for consistency with LEFT SEMI JOIN.

Change-Id: I8171b2d44b45529fdbd040d5709aaeb9f13facfa
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3873
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins
IMPALA-1157: Crash in HdfsParquetWriter when value size larger than data page size.

The HdfsParquetWriter was not making the check whether the size needed to encode a single
value is larger than the data page size. In this (rare) case, it was getting into an
infinite loop of allocating new pages, eventually crashing when it would run out of
memory.

Change-Id: I1375c047406ebd863fd8fb826ff1ecc0cb6335bc
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3870
Reviewed-by: Ippokratis Pandis <ipandis@cloudera.com>
Tested-by: jenkins
[OSX] Detect OSX when attempting a build

Patch adds the ability to check if the system is running OSX, and sets
the IS_OSX env-var if it is so.
[OSX] Add support for OSX in build script

Patch adds:
* Alternative to 'nproc' command for OSX to find number of CPUs
* Improved commands to locate native libraries of OSX type (*.dylib)
[OSX] Remove Thrift 0.9.0

To prepare for move to Thrift 0.9.1
[OSX] Add RC0 version of Thrift 0.9.2 release tar

Required for compiling on OSX
[OSX] Bump Thrift version to 0.9.2 in build

Also changes relevant pom.xml as required
[OSX] Backport pseudo-fix from THRIFT-2515

Required to counter the ancient OpenSSL version provided in OSX
[OSX] Fix compilation of Thrift on OSX

In specific, since thrift requires GLIB, we need to pass specific
include flags for it in an OSX environment.

Other things the build needs can be environmentally set prior to
build, such as a higher bison version:

export PATH=/usr/local/Cellar/bison/3.0.2/bin/:$PATH
[OSX] Fix GLog build on OSX

Makes two changes:
1. Forces use of std-c++ for compiling via clang on OSX
2. Disables use of -gstabs for clang, if OSX is detected
[OSX] Bumps gtest library to 1.7.0

Increments build script version for gtest from 1.6.0 to 1.7.0
Adds in a new downloaded library of gtest 1.7.0
[OSX] Fix compilation of RE2 on OSX

Forces clang to use std-c++ for the build, via a CXX flag.
[OSX] Fix compilation of cyrus-sasl2 on OSX

Patches the plugins build to not use -module (bundle) option for clang
as it does not support it, and also fixes the system directory
installation requirement for `make install`, to redirect it back to the
configured prefix directory.
[OSX] Allow OSX to find JSIG library in CMake

Similar to how jawt and jvm dylibs are discovered
[OSX] Bump GTest version to 1.7.0

Follow-up to similar previous commit, this changes the version path
hardcodes in the cmake module that locates the library
[OSX] Improve the testdata/cluster/admin script

To not throw errors when running on OSX for lack of commands.