You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2015/10/10 00:30:05 UTC

[jira] [Comment Edited] (HBASE-14584) TestNamespacesInstanceModel fails on jdk8

    [ https://issues.apache.org/jira/browse/HBASE-14584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951097#comment-14951097 ] 

stack edited comment on HBASE-14584 at 10/9/15 10:30 PM:
---------------------------------------------------------

The XML is output differently in jdk7 from jdk8. See below. All fields are interpolated properly.. its just the order that is different.

2015-10-09 12:45:28,771 INFO  [main] log.Slf4jLog(67): AS_XML<?xml version="1.0" encoding="UTF-8" standalone="yes"?><NamespaceProperties><properties><entry><key>NAME</key><value>testNamespace</value></entry><entry><key>KEY_2</key><value>VALUE_2</value></entry><entry><key>KEY_1</key><value>VALUE_1</value></entry></properties></NamespaceProperties>
2015-10-09 12:45:28,789 INFO  [main] log.Slf4jLog(67): toXML<?xml version="1.0" encoding="UTF-8" standalone="yes"?><NamespaceProperties><properties><entry><key>KEY_1</key><value>VALUE_1</value></entry><entry><key>KEY_2</key><value>VALUE_2</value></entry><entry><key>NAME</key><value>testNamespace</value></entry></properties></NamespaceProperties>


was (Author: stack):
The interpolation is messing up:

2015-10-09 12:45:28,771 INFO  [main] log.Slf4jLog(67): AS_XML<?xml version="1.0" encoding="UTF-8" standalone="yes"?><NamespaceProperties><properties><entry><key>NAME</key><value>testNamespace</value></entry><entry><key>KEY_2</key><value>VALUE_2</value></entry><entry><key>KEY_1</key><value>VALUE_1</value></entry></properties></NamespaceProperties>
2015-10-09 12:45:28,789 INFO  [main] log.Slf4jLog(67): toXML<?xml version="1.0" encoding="UTF-8" standalone="yes"?><NamespaceProperties><properties><entry><key>KEY_1</key><value>VALUE_1</value></entry><entry><key>KEY_2</key><value>VALUE_2</value></entry><entry><key>NAME</key><value>testNamespace</value></entry></properties></NamespaceProperties>

> TestNamespacesInstanceModel fails on jdk8
> -----------------------------------------
>
>                 Key: HBASE-14584
>                 URL: https://issues.apache.org/jira/browse/HBASE-14584
>             Project: HBase
>          Issue Type: Test
>          Components: REST, test
>            Reporter: Nick Dimiduk
>         Attachments: disable.txt
>
>
> Noticed this in the [build output|https://builds.apache.org/job/HBase-1.2/jdk=latest1.8,label=Hadoop/235/consoleFull] of HBASE-12911. Seems this test has been failing for a long time, got all the way back to {{6534583}}, {{master~44}} and it's still failing there. I guess tests usually fail in {{hbase-server}}, so we don't often get to {{hbase-rest}} module.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)