Repository: incubator-sentry Updated Branches: refs/heads/master 36aae7ad7 -> 603ca8998
SENTRY-636: Inaccurate log level in HiveServerFactory.java (Dapeng Sun via Guoquan Shen) Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/603ca899 Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/603ca899 Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/603ca899 Branch: refs/heads/master Commit: 603ca89985db8623ff899d0f685c2c14b860c99e Parents: 36aae7a Author: Guoquan Shen <guoquan.s...@intel.com> Authored: Wed Feb 25 09:43:58 2015 +0800 Committer: Guoquan Shen <guoquan.s...@intel.com> Committed: Wed Feb 25 09:43:58 2015 +0800 ---------------------------------------------------------------------- .../sentry/tests/e2e/hive/hiveserver/HiveServerFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/603ca899/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/hiveserver/HiveServerFactory.java ---------------------------------------------------------------------- diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/hiveserver/HiveServerFactory.java b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/hiveserver/HiveServerFactory.java index 14f943b..1014361 100644 --- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/hiveserver/HiveServerFactory.java +++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/hiveserver/HiveServerFactory.java @@ -100,11 +100,11 @@ public class HiveServerFactory { return new UnmanagedHiveServer(); } if(!properties.containsKey(WAREHOUSE_DIR)) { - LOGGER.error("fileSystem " + fileSystem.getClass().getSimpleName()); + LOGGER.info("fileSystem " + fileSystem.getClass().getSimpleName()); if (fileSystem instanceof DistributedFileSystem) { @SuppressWarnings("static-access") String dfsUri = fileSystem.getDefaultUri(fileSystem.getConf()).toString(); - LOGGER.error("dfsUri " + dfsUri); + LOGGER.info("dfsUri " + dfsUri); properties.put(WAREHOUSE_DIR, dfsUri + "/data"); fileSystem.mkdirs(new Path("/data/"), new FsPermission((short) 0777)); } else {