[08/50] [abbrv] phoenix git commit: PHOENIX-1944 PQS secure login only executed when debug is enabled

2015-06-15 Thread maryannxue
PHOENIX-1944 PQS secure login only executed when debug is enabled


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/b47dcb66
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b47dcb66
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b47dcb66

Branch: refs/heads/calcite
Commit: b47dcb66055642559b9dd75f5647473329df432f
Parents: 1fa09dc
Author: Nick Dimiduk 
Authored: Fri May 1 14:23:42 2015 -0700
Committer: Nick Dimiduk 
Committed: Fri May 1 14:23:42 2015 -0700

--
 .../src/main/java/org/apache/phoenix/queryserver/server/Main.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b47dcb66/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
--
diff --git 
a/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java 
b/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
index b099f91..55febc5 100644
--- 
a/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
+++ 
b/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
@@ -121,8 +121,8 @@ public final class Main extends Configured implements Tool, 
Runnable {
 if (LOG.isDebugEnabled()) {
   LOG.debug("Login to " + hostname + " using " + 
getConf().get(KEYTAB_FILENAME_KEY)
   + " and principal " + getConf().get(KERBEROS_PRINCIPAL_KEY) + 
".");
-  SecurityUtil.login(getConf(), KEYTAB_FILENAME_KEY, 
KERBEROS_PRINCIPAL_KEY, hostname);
 }
+SecurityUtil.login(getConf(), KEYTAB_FILENAME_KEY, 
KERBEROS_PRINCIPAL_KEY, hostname);
 LOG.info("Login successful.");
   }
   Class factoryClass = getConf().getClass(



phoenix git commit: PHOENIX-1944 PQS secure login only executed when debug is enabled

2015-05-01 Thread ndimiduk
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 fa2556481 -> eb6025dfb


PHOENIX-1944 PQS secure login only executed when debug is enabled


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/eb6025df
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/eb6025df
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/eb6025df

Branch: refs/heads/4.x-HBase-0.98
Commit: eb6025dfbb033019598c56eae7e14a7707d8fba9
Parents: fa25564
Author: Nick Dimiduk 
Authored: Fri May 1 14:23:42 2015 -0700
Committer: Nick Dimiduk 
Committed: Fri May 1 14:34:16 2015 -0700

--
 .../src/main/java/org/apache/phoenix/queryserver/server/Main.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/eb6025df/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
--
diff --git 
a/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java 
b/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
index b099f91..55febc5 100644
--- 
a/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
+++ 
b/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
@@ -121,8 +121,8 @@ public final class Main extends Configured implements Tool, 
Runnable {
 if (LOG.isDebugEnabled()) {
   LOG.debug("Login to " + hostname + " using " + 
getConf().get(KEYTAB_FILENAME_KEY)
   + " and principal " + getConf().get(KERBEROS_PRINCIPAL_KEY) + 
".");
-  SecurityUtil.login(getConf(), KEYTAB_FILENAME_KEY, 
KERBEROS_PRINCIPAL_KEY, hostname);
 }
+SecurityUtil.login(getConf(), KEYTAB_FILENAME_KEY, 
KERBEROS_PRINCIPAL_KEY, hostname);
 LOG.info("Login successful.");
   }
   Class factoryClass = getConf().getClass(



phoenix git commit: PHOENIX-1944 PQS secure login only executed when debug is enabled

2015-05-01 Thread ndimiduk
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.0 d1b4b34eb -> 091356882


PHOENIX-1944 PQS secure login only executed when debug is enabled


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/09135688
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/09135688
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/09135688

Branch: refs/heads/4.x-HBase-1.0
Commit: 091356882d290273d2bb35959cbfe4d5f6bf7c83
Parents: d1b4b34
Author: Nick Dimiduk 
Authored: Fri May 1 14:23:42 2015 -0700
Committer: Nick Dimiduk 
Committed: Fri May 1 14:34:08 2015 -0700

--
 .../src/main/java/org/apache/phoenix/queryserver/server/Main.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/09135688/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
--
diff --git 
a/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java 
b/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
index b099f91..55febc5 100644
--- 
a/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
+++ 
b/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
@@ -121,8 +121,8 @@ public final class Main extends Configured implements Tool, 
Runnable {
 if (LOG.isDebugEnabled()) {
   LOG.debug("Login to " + hostname + " using " + 
getConf().get(KEYTAB_FILENAME_KEY)
   + " and principal " + getConf().get(KERBEROS_PRINCIPAL_KEY) + 
".");
-  SecurityUtil.login(getConf(), KEYTAB_FILENAME_KEY, 
KERBEROS_PRINCIPAL_KEY, hostname);
 }
+SecurityUtil.login(getConf(), KEYTAB_FILENAME_KEY, 
KERBEROS_PRINCIPAL_KEY, hostname);
 LOG.info("Login successful.");
   }
   Class factoryClass = getConf().getClass(



phoenix git commit: PHOENIX-1944 PQS secure login only executed when debug is enabled

2015-05-01 Thread ndimiduk
Repository: phoenix
Updated Branches:
  refs/heads/master 1fa09dc5c -> b47dcb660


PHOENIX-1944 PQS secure login only executed when debug is enabled


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/b47dcb66
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b47dcb66
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b47dcb66

Branch: refs/heads/master
Commit: b47dcb66055642559b9dd75f5647473329df432f
Parents: 1fa09dc
Author: Nick Dimiduk 
Authored: Fri May 1 14:23:42 2015 -0700
Committer: Nick Dimiduk 
Committed: Fri May 1 14:23:42 2015 -0700

--
 .../src/main/java/org/apache/phoenix/queryserver/server/Main.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b47dcb66/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
--
diff --git 
a/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java 
b/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
index b099f91..55febc5 100644
--- 
a/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
+++ 
b/phoenix-server/src/main/java/org/apache/phoenix/queryserver/server/Main.java
@@ -121,8 +121,8 @@ public final class Main extends Configured implements Tool, 
Runnable {
 if (LOG.isDebugEnabled()) {
   LOG.debug("Login to " + hostname + " using " + 
getConf().get(KEYTAB_FILENAME_KEY)
   + " and principal " + getConf().get(KERBEROS_PRINCIPAL_KEY) + 
".");
-  SecurityUtil.login(getConf(), KEYTAB_FILENAME_KEY, 
KERBEROS_PRINCIPAL_KEY, hostname);
 }
+SecurityUtil.login(getConf(), KEYTAB_FILENAME_KEY, 
KERBEROS_PRINCIPAL_KEY, hostname);
 LOG.info("Login successful.");
   }
   Class factoryClass = getConf().getClass(