Remove workaround for HIVE-5264 that enables metastore.try.direct.sql. This change speeds up our data loading job by 30-45 minutes. It does not seem to have any effect on the completion time of other builds.
We already use metastore.direct.sql=true by default in real deployments. Change-Id: I89fbf5c902e0a67f68b1866b6aefca13c42c17c0 Reviewed-on: http://gerrit.cloudera.org:8080/3248 Reviewed-by: Matthew Jacobs <[email protected]> Tested-by: Internal Jenkins Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/06238ef1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/06238ef1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/06238ef1 Branch: refs/heads/master Commit: 06238ef1a338905c42e7841e9d989e0a5ec8a923 Parents: 5be7c68 Author: Alex Behm <[email protected]> Authored: Fri Apr 8 12:07:09 2016 -0700 Committer: Tim Armstrong <[email protected]> Committed: Tue May 31 23:32:12 2016 -0700 ---------------------------------------------------------------------- fe/src/test/resources/postgresql-hive-site.xml.template | 6 ------ 1 file changed, 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/06238ef1/fe/src/test/resources/postgresql-hive-site.xml.template ---------------------------------------------------------------------- diff --git a/fe/src/test/resources/postgresql-hive-site.xml.template b/fe/src/test/resources/postgresql-hive-site.xml.template index 7e21433..d25d7fa 100644 --- a/fe/src/test/resources/postgresql-hive-site.xml.template +++ b/fe/src/test/resources/postgresql-hive-site.xml.template @@ -69,12 +69,6 @@ <value>org.postgresql.Driver</value> </property> -<!-- Enforce the execution of Metastore SQL via Datanucleus to work around HIVE-5264. --> -<property> - <name>hive.metastore.try.direct.sql</name> - <value>false</value> -</property> - <property> <name>datanucleus.fixedDatastore</name> <value>false</value>
