You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Sailesh Mukil (Code Review)" <ge...@cloudera.org> on 2016/04/27 08:11:13 UTC

[Impala-CR](cdh5-trunk) IMPALA-3419: DefaultFS value should be extracted from hive.metastore.warehouse.dir if fully qualified

Sailesh Mukil has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/2881

Change subject: IMPALA-3419: DefaultFS value should be extracted from hive.metastore.warehouse.dir if fully qualified
......................................................................

IMPALA-3419: DefaultFS value should be extracted from hive.metastore.warehouse.dir if fully qualified

The defaultFS value in core-site.xml is ignored if the
hive.metastore.warehouse.dir is fully qualified in hive-site.xml.
Impala will not know about this and this could cause problems when
dealing with unqualified paths.

This patch adds a special case in getHadoopConfig() to return the
correct FS accordingly.

Change-Id: Id47be2b0e9c25a8bd838555aa75c949c23050c04
---
M be/src/runtime/exec-env.cc
M fe/src/main/java/com/cloudera/impala/service/JniFrontend.java
2 files changed, 20 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/81/2881/1
-- 
To view, visit http://gerrit.cloudera.org:8080/2881
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id47be2b0e9c25a8bd838555aa75c949c23050c04
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Sailesh Mukil <sa...@cloudera.com>