[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13909146#comment-13909146 ] Hudson commented on HBASE-10527: SUCCESS: Integrated in HBase-TRUNK-on-Hadoop-1.1 #96 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-1.1/96/]) HBASE-10527 Token authentication fails with IBM JDK (garyh: rev 1570437) * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Fix For: 0.96.2, 0.98.1 > > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908248#comment-13908248 ] Hudson commented on HBASE-10527: SUCCESS: Integrated in hbase-0.96-hadoop2 #210 (See [https://builds.apache.org/job/hbase-0.96-hadoop2/210/]) HBASE-10527 Token authentication fails with IBM JDK (garyh: rev 1570456) * /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Fix For: 0.96.2, 0.98.1 > > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908150#comment-13908150 ] Hudson commented on HBASE-10527: FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #161 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/161/]) HBASE-10527 Token authentication fails with IBM JDK (garyh: rev 1570453) * /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Fix For: 0.96.2, 0.98.1 > > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908093#comment-13908093 ] Hudson commented on HBASE-10527: SUCCESS: Integrated in HBase-0.98 #173 (See [https://builds.apache.org/job/HBase-0.98/173/]) HBASE-10527 Token authentication fails with IBM JDK (garyh: rev 1570453) * /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Fix For: 0.96.2, 0.98.1 > > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908086#comment-13908086 ] Hudson commented on HBASE-10527: FAILURE: Integrated in hbase-0.96 #305 (See [https://builds.apache.org/job/hbase-0.96/305/]) HBASE-10527 Token authentication fails with IBM JDK (garyh: rev 1570456) * /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Fix For: 0.96.2, 0.98.1 > > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908012#comment-13908012 ] Hudson commented on HBASE-10527: SUCCESS: Integrated in HBase-TRUNK #4938 (See [https://builds.apache.org/job/HBase-TRUNK/4938/]) HBASE-10527 Token authentication fails with IBM JDK (garyh: rev 1570437) * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Fix For: 0.96.2, 0.98.1 > > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907980#comment-13907980 ] Gary Helmling commented on HBASE-10527: --- Committed to 0.96 and 0.98 branches as well. > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Fix For: 0.96.2, 0.98.1 > > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907934#comment-13907934 ] stack commented on HBASE-10527: --- +1 for 0.96. Thanks G. > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Fix For: 0.99.0 > > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907929#comment-13907929 ] Andrew Purtell commented on HBASE-10527: +1 for 0.98, thanks! > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Fix For: 0.99.0 > > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907912#comment-13907912 ] Gary Helmling commented on HBASE-10527: --- TestLogRolling and TestVisibilityLabels failures appear unrelated. Both pass locally. > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907893#comment-13907893 ] Hadoop QA commented on HBASE-10527: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12630141/HBASE-10527.patch against trunk revision . ATTACHMENT ID: 12630141 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 hadoop1.0{color}. The patch compiles against the hadoop 1.0 profile. {color:green}+1 hadoop1.1{color}. The patch compiles against the hadoop 1.1 profile. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 lineLengths{color}. The patch does not introduce lines longer than 100 {color:green}+1 site{color}. The mvn site goal succeeds with this patch. {color:red}-1 core tests{color}. The patch failed these unit tests: org.apache.hadoop.hbase.regionserver.wal.TestLogRolling {color:red}-1 core zombie tests{color}. There are 1 zombie test(s): at org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels.testAddVisibilityLabelsOnRSRestart(TestVisibilityLabels.java:369) at org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels.testSetAndGetUserAuths(TestVisibilityLabels.java:485) Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8762//console This message is automatically generated. > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.R
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907711#comment-13907711 ] Andrew Purtell commented on HBASE-10527: bq, The Oracle JDK implementation of BAOS zero initializes the underlying byte[]. However, IBM JDK does not seem to. This seems to matter in computing the SHA1 for the token identifier password, where the trailing \x00 bytes do not change the SHA1 in the Oracle JDK, but the additional uninitialized junk does change the resulting SHA1 with IBM JDK. That makes complete sense. All that digging for such a simple fix. Thanks so much Gary, +1 > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Gary Helmling >Priority: Minor > Attachments: HBASE-10527.patch, > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907418#comment-13907418 ] Gary Helmling commented on HBASE-10527: --- So, from what I can tell, this appears to be due to some different behavior in ByteArrayOutputStream between IBM JDK7 and others, which is ultimately exposed through a bug in the Hadoop {{WritableUtils}} class. In {{WritableUtils}}, we have... {code} public static byte[] toByteArray(Writable... writables) { final DataOutputBuffer out = new DataOutputBuffer(); try { for(Writable w : writables) { w.write(out); } out.close(); } catch (IOException e) { throw new RuntimeException("Fail to convert writables to a byte array",e); } return out.getData(); } {code} The problem is in {{return out.getData();}}, which returns the full current byte[] for output, not just the part that's been written. {{TokenIdentifier.getBytes()}} does similar processing, but handles this correctly... {code} /** * Get the bytes for the token identifier * @return the bytes of the identifier */ public byte[] getBytes() { DataOutputBuffer buf = new DataOutputBuffer(4096); try { this.write(buf); } catch (IOException ie) { throw new RuntimeException("i/o error in getBytes", ie); } return Arrays.copyOf(buf.getData(), buf.getLength()); } {code} ... returning a copy of just the array portion that has been written. Now, why does this work in JDKs other than IBM JDK7? The Oracle JDK implementation of BAOS zero initializes the underlying byte[]. However, IBM JDK does not seem to. This seems to matter in computing the SHA1 for the token identifier password, where the trailing {{\x00}} bytes do not change the SHA1 in the Oracle JDK, but the additional uninitialized junk does change the resulting SHA1 with IBM JDK. The solution is simply to use {{TokenIdentifier.getBytes()}} in {{AuthenticationTokenSecretManager}}, where we had been using {{WritableUtils.toByteArray()}}. This returns a correctly truncated byte array and matches the value returned by {{Token.getIdentifier()}}. > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Andrew Purtell >Priority: Minor > Attachments: > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906038#comment-13906038 ] Andrew Purtell commented on HBASE-10527: Thanks [~ghelmling] > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Andrew Purtell >Priority: Minor > Attachments: > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906033#comment-13906033 ] Gary Helmling commented on HBASE-10527: --- I don't recall seeing this before. I'll try doing some testing with the IBM JDK and see if I can help track this down. > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Andrew Purtell >Priority: Minor > Attachments: > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902582#comment-13902582 ] Andrew Purtell commented on HBASE-10527: The classloading thing is a red herring. I can fix that by hooking up ServiceLoader to AuthenticationTokenIdentifier via files in hbase-client test resources and the passwords are still different. > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Andrew Purtell >Priority: Minor > Attachments: > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902575#comment-13902575 ] Andrew Purtell commented on HBASE-10527: I think this could be a classloading problem. If I change the failing test to this: {code} @Test public void testTokenCreation() throws Exception { Token token = secretManager.generateToken("testuser"); AuthenticationTokenIdentifier ident = token.decodeIdentifier(); assertEquals("Token username should match", "testuser", ident.getUsername()); byte[] passwd = secretManager.retrievePassword(ident); assertTrue("Token password and password from secret manager should match", Bytes.equals(token.getPassword(), passwd)); } {code} then we get back null from Token#decodeIdentifier: {code} public T decodeIdentifier() throws IOException { Class cls = getClassForIdentifier(getKind()); if (cls == null) { return null; } TokenIdentifier tokenIdentifier = ReflectionUtils.newInstance(cls, null); ByteArrayInputStream buf = new ByteArrayInputStream(identifier); DataInputStream in = new DataInputStream(buf); tokenIdentifier.readFields(in); in.close(); return (T) tokenIdentifier; } {code} > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Andrew Purtell >Priority: Minor > Attachments: > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902560#comment-13902560 ] Andrew Purtell commented on HBASE-10527: TestTokenAuthentication#testTokenCreation also fails, so the response mismatch exception seems legit if the token and secret manager are returning different passwords: {noformat} Failed tests: testTokenCreation(org.apache.hadoop.hbase.security.token.TestTokenAuthentication): Token password and password from secret manager should match {noformat} Looking at this test case, we get a token, then check its password byte[] corresponds to the password byte[] returned if looking up the password using the AuthenticationTokenIdentifier from the AuthenticationTokenSecretManager. The AuthenticationTokenSecretManager generates the password at each lookup by computing the HMAC of the token identifier using its secret key and returning the output as password. Something about that is not stable here. > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Andrew Purtell >Priority: Minor > Attachments: > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HBASE-10527) TestTokenAuthentication fails with the IBM JDK
[ https://issues.apache.org/jira/browse/HBASE-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900952#comment-13900952 ] Andrew Purtell commented on HBASE-10527: Just making a note of the issue for the moment. You remember anything of this area, [~ghelmling]? Looks vaguely like YARN-854. > TestTokenAuthentication fails with the IBM JDK > -- > > Key: HBASE-10527 > URL: https://issues.apache.org/jira/browse/HBASE-10527 > Project: HBase > Issue Type: Bug >Affects Versions: 0.98.0 > Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 > Compressed References 20131114_175264 (JIT enabled, AOT enabled) >Reporter: Andrew Purtell >Assignee: Andrew Purtell >Priority: Minor > Attachments: > org.apache.hadoop.hbase.security.token.TestTokenAuthentication-output.txt.gz > > > "DIGEST-MD5: digest response format violation. Mismatched response." > The failure trace: > {noformat} > 2014-02-13 15:41:00,449 WARN [RpcServer.reader=1,port=54751] > ipc.RpcServer$Listener(794): RpcServer.listener,port=54751: count of bytes > read: 0 > javax.security.sasl.SaslException: DIGEST-MD5: digest response format > violation. Mismatched response. > at > com.ibm.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Server.java:614) > at > com.ibm.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.java:234) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.saslReadAndProcess(RpcServer.java:1315) > at > org.apache.hadoop.hbase.ipc.RpcServer$Connection.readAndProcess(RpcServer.java:1501) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener.doRead(RpcServer.java:790) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.doRunLoop(RpcServer.java:581) > at > org.apache.hadoop.hbase.ipc.RpcServer$Listener$Reader.run(RpcServer.java:556) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640) > at java.lang.Thread.run(Thread.java:853) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)