hadoop-zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From he...@apache.org
Subject svn commit: r937925 - in /hadoop/zookeeper/trunk: CHANGES.txt src/java/main/org/apache/zookeeper/server/quorum/Learner.java
Date Mon, 26 Apr 2010 04:17:50 GMT
Author: henry
Date: Mon Apr 26 04:17:50 2010
New Revision: 937925

URL: http://svn.apache.org/viewvc?rev=937925&view=rev
Log:
ZOOKEEPER-746. learner outputs session id to log in dec

Modified:
    hadoop/zookeeper/trunk/CHANGES.txt
    hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/Learner.java

Modified: hadoop/zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/CHANGES.txt?rev=937925&r1=937924&r2=937925&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/CHANGES.txt (original)
+++ hadoop/zookeeper/trunk/CHANGES.txt Mon Apr 26 04:17:50 2010
@@ -22,6 +22,9 @@ BUGFIXES: 
 
   ZOOKEEPER-631. zkpython's C code could do with a style clean-up
   (henry robinson via phunt)
+  
+  ZOOKEEPER-746. learner outputs session id to log in dec (phunt via
+  henryr)
 
 IMPROVEMENTS:
   ZOOKEEPER-724. Improve junit test integration - log harness information 

Modified: hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/Learner.java
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/Learner.java?rev=937925&r1=937924&r2=937925&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/Learner.java (original)
+++ hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/Learner.java Mon
Apr 26 04:17:50 2010
@@ -92,7 +92,7 @@ public class Learner {       
      */
     void validateSession(ServerCnxn cnxn, long clientId, int timeout)
             throws IOException, InterruptedException {
-        LOG.info("Revalidating client: " + clientId);
+        LOG.info("Revalidating client: 0x" + Long.toHexString(clientId));
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         DataOutputStream dos = new DataOutputStream(baos);
         dos.writeLong(clientId);



Mime
View raw message