Commit Graph

28 Commits

Author SHA1 Message Date
Paden Tomasello
0326f17bb3 Adding Lz4 Codec.
Change-Id: I037d4e0de3b2cd2b8582caea058c8e1f2f880ff3
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3027
Reviewed-by: Paden Tomasello <paden.tomasello@cloudera.com>
Tested-by: jenkins
2014-06-16 14:20:34 -07:00
Henry Robinson
177b9ba3b1 Remove nonblocking server (and dependencies) from build
Goodnight, sweet non-blocking prince. We didn't support, or test, this
configuration, and it doesn't work with security or sessions and brings
in some annoying dependencies that are a pain to build.

We have other RPC-stack options to investigate; we may wind up re-adding
the non-blocking server but only in a way that supports all required
features more regularly.

Change-Id: Ifbcabc5014441f6d31c342c4e288dd7fc6201443
2014-01-08 10:54:35 -08:00
Henry Robinson
6d9a7e290d Build Openldap as a thirdparty package
Change-Id: Ifbb0f468a23186f4160fceb462953bc321469c27
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1049
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: Henry Robinson <henry@cloudera.com>
2014-01-08 10:54:20 -08:00
Henry Robinson
ce2781c48d Remove bad quotes from thrift configure script
Change-Id: Id671f5366813378ead9362f67b082b7af705b005
Reviewed-on: http://gerrit.ent.cloudera.com:8080/994
Reviewed-by: Matthew Jacobs <mj@cloudera.com>
Tested-by: Henry Robinson <henry@cloudera.com>
2014-01-08 10:54:14 -08:00
Sean Mackrory
2b313a9782 IMP-1147. Impala build fails: PIC_LIB_PATH: unbound variable
Change-Id: Ifb173b553b9a52392b5d7caf3630032b89e89c2d
Reviewed-on: http://gerrit.ent.cloudera.com:8080/992
Reviewed-by: Sean Mackrory <sean@cloudera.com>
Tested-by: Sean Mackrory <sean@cloudera.com>
2014-01-08 10:54:14 -08:00
Sean Mackrory
bb39e33101 IMP-1106. Allow libevent location to be overridden in Thrift dependency build
Change-Id: Ia4d92bb4bdfcb7ba29a36904afdb9fd5e398307d
Reviewed-on: http://gerrit.ent.cloudera.com:8080/968
Reviewed-by: Henry Robinson <henry@cloudera.com>
Reviewed-by: Sean Mackrory <sean@cloudera.com>
Tested-by: Sean Mackrory <sean@cloudera.com>
2014-01-08 10:54:14 -08:00
Henry Robinson
f238f5fdcf New subsystem to support multiple authentication types
This patch reworks our Kerberos authentication layer to support multiple
authentication protocols, particularly PLAIN/SASL to support external
LDAP authentication.

There is now a system-wide AuthManager object, initialised by InitAuth()
which occurs during the usual InitCommonRuntime() setup. The AuthManager
is responsible for supplying AuthProvider objects to ThriftServers and
ThriftClients. The AuthProvider in turn generates Thrift transport
objects which are usually SASL-enabled, and which either employ GSSAPI
or PLAIN mechanisms.

In miscellaneous changes:

* Cyrus SASL now builds both with LDAP and the dummy '--enable-true'
  external authentication mechanisms enabled.
* To test PLAIN/SASL authentication, you must now include
  $IMPALA_HOME/thirdparty/${IMPALA_CYRUS_SASL_VERSION}/build/lib/sasl2 in
  FLAGS_sasl_path.
* The shell now has an option to authenticate using LDAP, and will
  prompt for a password at startup before doing so.
* Since the authentication code is almost entirely Thrift-specific, it
  has been moved to the rpc lib.

Change-Id: I771de50f05630efdf1606ab9f0f48146ad54595e
Reviewed-on: http://gerrit.ent.cloudera.com:8080/716
Tested-by: jenkins
Reviewed-by: Henry Robinson <henry@cloudera.com>
2014-01-08 10:53:43 -08:00
Henry Robinson
bb1f48588d Disable saslauthd in Cyrus-Sasl build
We've had at least one case of Sasl failing to build during
Saslauthd. We don't use that component, so it's fine to disable it
rather than figure out the actual issue.

Change-Id: I1e16063970806823f7fe3b40a1b0e74a32c4b57f
Reviewed-on: http://gerrit.ent.cloudera.com:8080/736
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: Henry Robinson <henry@cloudera.com>
2014-01-08 10:53:41 -08:00
Henry Robinson
0aa120adca Allow building individual thirdparty components.
Now you can write:

./build_thirdparty -sasl -gflags

or similar to build individual thirdparty libaries, which is handy if
you're upgrading a single library or changing its build flags.

The behaviour with no command-line flags is the same as before this
patch, except that the 'git clean' is called only from the individual
library directories, rather than /thirdparty as before; this avoids
blowing away unchecked in directories while still removing build
artefacts as intended.

Change-Id: Iaafb6f6e42b0173c11eec3b08c8dea895dcd9199
Reviewed-on: http://gerrit.ent.cloudera.com:8080/725
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: jenkins
2014-01-08 10:53:40 -08:00
Skye Wanderman-Milne
3fecdeb793 IMPALA-441: support default values for Avro tables 2014-01-08 10:51:39 -08:00
Skye Wanderman-Milne
e7ea89524b Upgrade Avro library to 1.7.4 2014-01-08 10:51:06 -08:00
Nong Li
f4fc37368f Switch from boost::regex to google RE2. 2014-01-08 10:50:16 -08:00
Henry Robinson
31891f9f69 Revert "Fix snappy-1.0.5 compilation issue on Xubuntu 12.04."
This reverts commit dad37f24f2a3dfa4a967c167cd1ac7d65b7d1e04.
2014-01-08 10:48:34 -08:00
Alex Behm
7b9cd02887 Fix snappy-1.0.5 compilation issue on Xubuntu 12.04. 2014-01-08 10:48:32 -08:00
Skye Wanderman-Milne
8b87099998 IMPALA-2: Support for Avro data files
Adds HdfsAvroScanner, as well as modifies the sequence scanners to be more general.
2014-01-08 10:48:05 -08:00
Sean Mackrory
67b9d126c4 IMP-755: Build GLog and GFlags exclusively in thirdparty without requiring either to be installed as a package 2014-01-08 10:47:57 -08:00
Nong Li
7001fb103e Move Impala to CDH4.2 RC2 2014-01-08 10:47:50 -08:00
Sean Mackrory
b56a5c42de Gracefully dealing with unbound PIC_LIB_PATH variable 2014-01-08 10:47:36 -08:00
Sean Mackrory
f276df2ef3 Omitting Perl bindings from thrift build 2014-01-08 10:47:32 -08:00
Sean Mackrory
42366f0387 Adding the option to use Cyrus-SASL and GLog from a separate toolchain location 2014-01-08 10:47:31 -08:00
Henry Robinson
b5e14664db Fix package breakage: only build Thrift bindings we need 2014-01-08 10:47:22 -08:00
Henry Robinson
7ba437a52e Code changes to build against thrift 0.9.0 in thirdparty/ 2014-01-08 10:47:22 -08:00
Henry Robinson
35e7e2a7a9 Move thirdparty library versions to environment variables 2014-01-08 10:46:38 -08:00
Henry Robinson
2f339f2ed8 Add ASL license to all public files 2014-01-08 10:46:32 -08:00
Michael Ubell
2a4ab483eb Fix building of the sasl library. 2014-01-08 10:45:10 -08:00
Michael Ubell
ad46b98366 Add Kerberos authentication. 2014-01-08 10:45:10 -08:00
Nong Li
6ad22ec7df Remove llvm from thirdparty. 2012-05-18 16:08:05 -07:00
Nong Li
2f4f3a46a6 Split out build thirdparty. 2012-05-16 10:41:42 -07:00