Repository: incubator-sentry Updated Branches: refs/heads/master ff30d7ff5 -> 7cfcc3002
SENTRY-263: Remove usage of getHostString() from AbstractTestWithStaticConfiguration ( Jarek Jarcec Cecho via Sravya Tirukkovalur) Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/7cfcc300 Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/7cfcc300 Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/7cfcc300 Branch: refs/heads/master Commit: 7cfcc30025f881284d4b4f1e7d77a6f2f1f4a71e Parents: ff30d7f Author: Sravya Tirukkovalur <[email protected]> Authored: Fri Jun 6 09:17:03 2014 -0700 Committer: Sravya Tirukkovalur <[email protected]> Committed: Fri Jun 6 09:17:03 2014 -0700 ---------------------------------------------------------------------- .../tests/e2e/hive/AbstractTestWithStaticConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/7cfcc300/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/AbstractTestWithStaticConfiguration.java ---------------------------------------------------------------------- diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/AbstractTestWithStaticConfiguration.java b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/AbstractTestWithStaticConfiguration.java index 835e547..b6bb09c 100644 --- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/AbstractTestWithStaticConfiguration.java +++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/AbstractTestWithStaticConfiguration.java @@ -228,9 +228,9 @@ public abstract class AbstractTestWithStaticConfiguration { } sentryServer = new SentryServiceFactory().create(sentryConf); properties.put(ClientConfig.SERVER_RPC_ADDRESS, sentryServer.getAddress() - .getHostString()); + .getHostName()); sentryConf.set(ClientConfig.SERVER_RPC_ADDRESS, sentryServer.getAddress() - .getHostString()); + .getHostName()); properties.put(ClientConfig.SERVER_RPC_PORT, String.valueOf(sentryServer.getAddress().getPort())); sentryConf.set(ClientConfig.SERVER_RPC_PORT,
