[1/2] impala git commit: IMPALA-6824: Fix crash in RuntimeProfile::EventSequence::AddNewerEvents()

2018-04-10 Thread tarmstrong
Repository: impala Updated Branches: refs/heads/master 65f25c767 -> 4c1538ab1 IMPALA-6824: Fix crash in RuntimeProfile::EventSequence::AddNewerEvents() When events_ is empty in runtime-profile-counters.h:347, events_.back() is undefined. This can lead to a crash. The fix is to check for events

[2/2] impala git commit: IMPALA-6817: Clean up Impala privilege model

2018-04-10 Thread tarmstrong
IMPALA-6817: Clean up Impala privilege model When we added support for multiple versions of Hadoop, the Impala privilege model was copied from Sentry's Hive privilege model with some modification. This patch aims to clean up that code. Testing: - Added new tests - Ran all front-end tests Cherry-

impala git commit: Updating ignored_commits.

2018-04-10 Thread tarasbob
Repository: impala Updated Branches: refs/heads/2.x b90a67265 -> eaab248ee Updating ignored_commits. Cherrypicking was stuck due to two changes needing to have been marked as not for 2.x. Change-Id: Ic7744b31ff1e1435e8d91f5d0bb7986bd7e5f7a8 Reviewed-on: http://gerrit.cloudera.org:8080/9971 Te

[4/4] impala git commit: IMPALA-6805: Show current database in Impala shell prompt

2018-04-10 Thread tarasbob
IMPALA-6805: Show current database in Impala shell prompt Prompt format: [host:port] db_name> Testing: - Added new shell tests - Ran end-to-end shell tests Change-Id: Ifb0ae58507321e426e5f0f16518671420974a3fc Reviewed-on: http://gerrit.cloudera.org:8080/9927 Reviewed-by: Fredy Wijaya Reviewed-b

[1/4] impala git commit: Remove Yarn from minicluster by default.

2018-04-10 Thread tarasbob
Repository: impala Updated Branches: refs/heads/master 4c1538ab1 -> 830e3346f Remove Yarn from minicluster by default. Turns out that we start Yarn as part of the minicluster, but we never use it. (HiveServer2 is configured to run MR jobs "locally" in process.) Likely, this Yarn integration is

[3/4] impala git commit: Remove Yarn from minicluster by default. (2nd try)

2018-04-10 Thread tarasbob
Remove Yarn from minicluster by default. (2nd try) Remove Yarn from minicluster by default. Turns out that we start Yarn as part of the minicluster, but we never use it. (HiveServer2 is configured to run MR jobs "locally" in process.) Likely, this Yarn integration is a vestige of Yarn/Llama integ

[2/4] impala git commit: Revert "Remove Yarn from minicluster by default."

2018-04-10 Thread tarasbob
Revert "Remove Yarn from minicluster by default." This reverts commit c05df104570fa2cb7067599bbe3b87740ca9f09e. Change-Id: I00151795581d22a9852cceaca1d21325d68dbe59 Reviewed-on: http://gerrit.cloudera.org:8080/9969 Reviewed-by: Philip Zeyliger Tested-by: Philip Zeyliger Project: http://git-wi

[4/6] impala git commit: IMPALA-6820: Remove _impala_builtins from catalogd

2018-04-10 Thread tarmstrong
IMPALA-6820: Remove _impala_builtins from catalogd The _impala_builtins database is initialized in the constructor of Catalog and hence is inherited by both the CatalogServiceCatalog and ImpaladCatalog. Since _impala_builtins is not used by the catalog server and to avoid the overhead of managing

[2/6] impala git commit: IMPALA-5903: Inconsistent specification of result set and result set metadata

2018-04-10 Thread tarmstrong
http://git-wip-us.apache.org/repos/asf/impala/blob/2ee914d5/testdata/workloads/functional-query/queries/QueryTest/kudu_create.test -- diff --git a/testdata/workloads/functional-query/queries/QueryTest/kudu_create.test b/testdata/

[3/6] impala git commit: IMPALA-5903: Inconsistent specification of result set and result set metadata

2018-04-10 Thread tarmstrong
IMPALA-5903: Inconsistent specification of result set and result set metadata Before this commit it was quite random which DDL oprations returned a result set and which didn't. With this commit, every DDL operations return a summary of its execution. They declare their result set schema in Fronte

[1/6] impala git commit: IMPALA-6215: Removes race when using LibCache.

2018-04-10 Thread tarmstrong
Repository: impala Updated Branches: refs/heads/master 830e3346f -> 818cd8fa2 IMPALA-6215: Removes race when using LibCache. Re-do the previously reverted change for IMPALA-6215. This patch addresses the flakes listed in IMPALA-6092, which have become more urgent recently. LibCache's api to p

[5/6] impala git commit: IMPALA-5717: Support for reading ORC data files

2018-04-10 Thread tarmstrong
http://git-wip-us.apache.org/repos/asf/impala/blob/818cd8fa/common/thrift/CatalogObjects.thrift -- diff --git a/common/thrift/CatalogObjects.thrift b/common/thrift/CatalogObjects.thrift index ecd27dc..0f71f5f 100644 --- a/common/t

[6/6] impala git commit: IMPALA-5717: Support for reading ORC data files

2018-04-10 Thread tarmstrong
IMPALA-5717: Support for reading ORC data files This patch integrates the orc library into Impala and implements HdfsOrcScanner as a middle layer between them. The HdfsOrcScanner supplies input needed from the orc-reader, tracks memory consumption of the reader and transfers the reader's output (o