[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-10-02 Thread Francis Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13784262#comment-13784262
 ] 

Francis Liu commented on HBASE-9435:


Not unless there's any objections. I'll start updating the doc and submit a 
patch in a few days.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
Priority: Blocker
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-10-02 Thread Nick Dimiduk (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13784336#comment-13784336
 ] 

Nick Dimiduk commented on HBASE-9435:
-

In that case, we can close this one out again. Can you update the release notes 
to document the additional incompatible API changes for our users? Thanks.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
Priority: Blocker
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-10-01 Thread Francis Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13782662#comment-13782662
 ] 

Francis Liu commented on HBASE-9435:


+1 sounds good to me.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
Priority: Blocker
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-30 Thread Francis Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13782446#comment-13782446
 ] 

Francis Liu commented on HBASE-9435:


ping [~jxiang], in case he has some input.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
Priority: Blocker
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-30 Thread Jimmy Xiang (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13782477#comment-13782477
 ] 

Jimmy Xiang commented on HBASE-9435:


For 0.96, I think it is fine.  We should not backport it to 0.94 due to the 
compatibility issue. +1 to fix the doc.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
Priority: Blocker
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-27 Thread Devaraj Das (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13780130#comment-13780130
 ] 

Devaraj Das commented on HBASE-9435:


+1 on the doc update (and no changes in the code)

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
Priority: Blocker
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-26 Thread Francis Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13779211#comment-13779211
 ] 

Francis Liu commented on HBASE-9435:


I'll take look. Did these tests pass against a previous version of 0.96?

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
Priority: Blocker
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-26 Thread Devaraj Das (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13779223#comment-13779223
 ] 

Devaraj Das commented on HBASE-9435:


If I revert this patch, yes, it works.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
Priority: Blocker
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-26 Thread Francis Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13779552#comment-13779552
 ] 

Francis Liu commented on HBASE-9435:


Nick, Devaraj and I had a quick discussion over this. Here's the quick summary:

Prior to this patch http requests using json representations with or without 
the '@' prefix were both valid. With this patch only no-'@'-prefix requests are 
valid.

The '@' prefix style notation is known as MAPPED notation in jersey, tho we 
have been running with NATURAL notation (no '@' prefix)  since the code was 
checked-in in 2009.  Which seems to be a bug in jersey, which is no longer 
surfaced with this patch since we use jackson. Tho server responses are always 
represented using the NATURAL notation. 

This problem is further exacerbated by the fact that our stargate doc is 
inconsistent or wrong. Request examples use a mix of MAPPED or NATURAL 
notation. While some responses use the MAPPED notation.

Given this situation we can either continue to support requests which use the 
MAPPED notation. Or we can deprecate support for that which seems cleaner and 
would cause less confusion IMHO. One concern here is the impact to users if we 
deprecate support? Thoughts?

It's a given that we'll have to update the documentation. Nick has suggested we 
deprecate the wiki and link the book to the rest javadoc.




 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
Priority: Blocker
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-25 Thread Devaraj Das (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13778171#comment-13778171
 ] 

Devaraj Das commented on HBASE-9435:


This broke one of our internal tests. The failing command:
{noformat}
 curl -H Content-Type: application/json --data '{Row:{@key:cm93MQ==, 
Cell:
{@column:Y29sZmFtOmNvbA==, $:dmFsdWUx}
}}' http://localhost:17000/tcreatetbl/row1/colfam:col
{noformat}

The exception thrown:
{noformat}
html
head
meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/
titleError 500 Can not deserialize instance of java.util.List out of 
START_OBJECT token
 at [Source: org.mortbay.jetty.HttpParser$Input@6392f558; line: 1, column: 2] 
(through reference chain: 
org.apache.hadoop.hbase.rest.model.CellSetModel[Row])/title
/head
bodyh2HTTP ERROR 500/h2
pProblem accessing /tcreatetbl/row1/colfam:col. Reason:
preCan not deserialize instance of java.util.List out of START_OBJECT 
token
 at [Source: org.mortbay.jetty.HttpParser$Input@6392f558; line: 1, column: 2] 
(through reference chain: 
org.apache.hadoop.hbase.rest.model.CellSetModel[Row])/pre/ph3Caused 
by:/h3preorg.codehaus.jackson.map.JsonMappingException: Can not deserialize 
instance of java.util.List out of START_OBJECT token
 at [Source: org.mortbay.jetty.HttpParser$Input@6392f558; line: 1, column: 2] 
(through reference chain: 
org.apache.hadoop.hbase.rest.model.CellSetModel[Row])
at 
org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)
at 
org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:198)
at 
org.codehaus.jackson.map.deser.CollectionDeserializer.handleNonArray(CollectionDeserializer.java:149)
at 
org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:107)
at 
org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:97)
{noformat}

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-25 Thread Devaraj Das (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13778282#comment-13778282
 ] 

Devaraj Das commented on HBASE-9435:


This command works (changed some braces and removed '@'):
curl -H Content-Type: application/json --data '{Row:[{key:cm93MQ==, 
Cell:
[{column:Y29sZmFtOmNvbA==, $:dmFsdWUx}]}]}' 
http://localhost:17000/tcreatetbl/row1/colfam:col

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
Priority: Blocker
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-05 Thread Lars Hofhansl (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13759338#comment-13759338
 ] 

Lars Hofhansl commented on HBASE-9435:
--

I'm not very familiar with REST, does this introduce any backward compatibility 
issues?
If not, I'd say we should backport. Patch looks reasonable to me.

Any other opinions? [~stack], [~apurtell], [~ndimiduk]?
Do you want to make a 0.94 patch [~toffer]?

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-05 Thread Nick Dimiduk (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13759349#comment-13759349
 ] 

Nick Dimiduk commented on HBASE-9435:
-

From the description:

bq. The patch is backward compatible except for StorageClusterStatusModel, 
which is broken anyway. It only shows one node in the liveNodes field.

I think this is reasonable to backport to 0.94. The release notes on this 
ticket should be updated to indicate that in addition to the improvement, it 
also fixes the StorageClusterStatusModel issue.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-05 Thread Francis Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13759394#comment-13759394
 ] 

Francis Liu commented on HBASE-9435:


updated release notes. will make an 0.94 patch.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-05 Thread Francis Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13759300#comment-13759300
 ] 

Francis Liu commented on HBASE-9435:


Thanks guys. Any chance we can backport this to 0.94 [~lhofhansl]?

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-04 Thread Nick Dimiduk (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13758149#comment-13758149
 ] 

Nick Dimiduk commented on HBASE-9435:
-

The JSON peculiarities have bitten me in the past, so I'm in favor of this 
change.

Read through the patch, things look good to me. I'm not familiar with the 
intimate differences between Jersey and Jackson. +1

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Attachments: HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-04 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13758171#comment-13758171
 ] 

Hadoop QA commented on HBASE-9435:
--

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12601407/HBASE-9435.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 44 new 
or modified tests.

{color:green}+1 hadoop1.0{color}.  The patch compiles against the hadoop 
1.0 profile.

{color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 
2.0 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:
 

 {color:red}-1 core zombie tests{color}.  There are 1 zombie test(s):   
at 
org.apache.hadoop.hbase.TestZooKeeper.testRegionAssignmentAfterMasterRecoveryDueToZKExpiry(TestZooKeeper.java:486)

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7029//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7029//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7029//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7029//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7029//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7029//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7029//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7029//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7029//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7029//console

This message is automatically generated.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Attachments: HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-04 Thread Andrew Purtell (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13758343#comment-13758343
 ] 

Andrew Purtell commented on HBASE-9435:
---

bq. Backwards compatibilty can be verified by modify the test base class to use 
the original marshaller/unmarshaller and see that model tests pass.

+1 with this.

Using Jackson will be a big improvement.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Attachments: HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-04 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13758514#comment-13758514
 ] 

Hadoop QA commented on HBASE-9435:
--

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12601488/HBASE-9435.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 44 new 
or modified tests.

{color:green}+1 hadoop1.0{color}.  The patch compiles against the hadoop 
1.0 profile.

{color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 
2.0 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.io.hfile.TestLruBlockCache

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7038//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7038//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7038//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7038//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7038//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7038//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7038//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7038//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7038//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7038//console

This message is automatically generated.

 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13758694#comment-13758694
 ] 

Hudson commented on HBASE-9435:
---

SUCCESS: Integrated in hbase-0.96 #11 (See 
[https://builds.apache.org/job/hbase-0.96/11/])
HBASE-9435 Fix jersey serialization/deserialization of json objects (stack: rev 
1520178)
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/CellSetModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/ColumnSchemaModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/RowModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/StorageClusterVersionModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/TableSchemaModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/provider/JacksonProvider.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestSchemaResource.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestStatusResource.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestCellModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestCellSetModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestModelBase.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestRowModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestScannerModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestStorageClusterStatusModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestStorageClusterVersionModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableInfoModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableListModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableRegionModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestVersionModel.java


 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13758743#comment-13758743
 ] 

Hudson commented on HBASE-9435:
---

SUCCESS: Integrated in HBase-TRUNK #4468 (See 
[https://builds.apache.org/job/HBase-TRUNK/4468/])
HBASE-9435 Fix jersey serialization/deserialization of json objects (stack: rev 
1520179)
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/CellSetModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/ColumnSchemaModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/RowModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/StorageClusterVersionModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/TableSchemaModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/provider/JacksonProvider.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestSchemaResource.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestStatusResource.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestCellModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestCellSetModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestModelBase.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestRowModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestScannerModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestStorageClusterStatusModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestStorageClusterVersionModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableInfoModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableListModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableRegionModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestVersionModel.java


 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13758751#comment-13758751
 ] 

Hudson commented on HBASE-9435:
---

SUCCESS: Integrated in hbase-0.96-hadoop2 #6 (See 
[https://builds.apache.org/job/hbase-0.96-hadoop2/6/])
HBASE-9435 Fix jersey serialization/deserialization of json objects (stack: rev 
1520178)
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/CellSetModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/ColumnSchemaModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/RowModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/StorageClusterVersionModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/TableSchemaModel.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/provider/JacksonProvider.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestSchemaResource.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestStatusResource.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestCellModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestCellSetModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestModelBase.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestRowModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestScannerModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestStorageClusterStatusModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestStorageClusterVersionModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableInfoModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableListModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableRegionModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestVersionModel.java


 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects

2013-09-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13758782#comment-13758782
 ] 

Hudson commented on HBASE-9435:
---

SUCCESS: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #711 (See 
[https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/711/])
HBASE-9435 Fix jersey serialization/deserialization of json objects (stack: rev 
1520179)
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/CellSetModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/ColumnSchemaModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/RowModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/StorageClusterVersionModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/TableSchemaModel.java
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/provider/JacksonProvider.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestSchemaResource.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestStatusResource.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestCellModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestCellSetModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestModelBase.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestRowModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestScannerModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestStorageClusterStatusModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestStorageClusterVersionModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableInfoModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableListModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableRegionModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestVersionModel.java


 Fix jersey serialization/deserialization of json objects
 

 Key: HBASE-9435
 URL: https://issues.apache.org/jira/browse/HBASE-9435
 Project: HBase
  Issue Type: Bug
  Components: REST
Reporter: Francis Liu
Assignee: Francis Liu
 Fix For: 0.98.0, 0.96.1

 Attachments: HBASE-9435.patch, HBASE-9435.patch


 Stargate uses the default json marshaller/unmarshaller in natural mode. In 
 this mode the unmarshaller has trouble unmarshalling json instances. 
 This patch fixes this issue by using jackson as the marshaller/unmarshaller 
 instead. 
 I've also updated all the model unit tests to test json 
 serialization/deserialization. Backwards compatibilty can be verified by 
 modify the test base class to use the original marshaller/unmarshaller and 
 see that model tests pass.
 The patch is backward compatible except for StorageClusterStatusModel, which 
 is broken anyway. It only shows one node in the liveNodes field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira