[jira] [Updated] (HBASE-5901) Use union type protobufs instead of class/byte pairs for multi requests

2012-04-29 Thread Todd Lipcon (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HBASE-5901:
---

Attachment: hbase-5901.txt

This patch dropped cumulative CPU usage by about 10% for a million-record 
insert.

> Use union type protobufs instead of class/byte pairs for multi requests
> ---
>
> Key: HBASE-5901
> URL: https://issues.apache.org/jira/browse/HBASE-5901
> Project: HBase
>  Issue Type: Improvement
>  Components: ipc, performance
>Affects Versions: 0.96.0
>Reporter: Todd Lipcon
>Assignee: Todd Lipcon
> Attachments: hbase-5901.txt
>
>
> The current implementation of multi actions uses repeated "NameBytesPair"s 
> for the contents of multi actions. Instead, we should introduce a union type 
> protobuf for the valid actions. This makes the RPCs smaller since they don't 
> need to carry class names, and makes deserialization faster since it can 
> avoid some copying and reflection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-5901) Use union type protobufs instead of class/byte pairs for multi requests

2012-04-29 Thread Todd Lipcon (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HBASE-5901:
---

Status: Patch Available  (was: Open)

> Use union type protobufs instead of class/byte pairs for multi requests
> ---
>
> Key: HBASE-5901
> URL: https://issues.apache.org/jira/browse/HBASE-5901
> Project: HBase
>  Issue Type: Improvement
>  Components: ipc, performance
>Affects Versions: 0.96.0
>Reporter: Todd Lipcon
>Assignee: Todd Lipcon
> Attachments: hbase-5901.txt
>
>
> The current implementation of multi actions uses repeated "NameBytesPair"s 
> for the contents of multi actions. Instead, we should introduce a union type 
> protobuf for the valid actions. This makes the RPCs smaller since they don't 
> need to carry class names, and makes deserialization faster since it can 
> avoid some copying and reflection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-5901) Use union type protobufs instead of class/byte pairs for multi requests

2012-04-30 Thread stack (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-5901:
-

Priority: Critical  (was: Major)

+1

Nice.

> Use union type protobufs instead of class/byte pairs for multi requests
> ---
>
> Key: HBASE-5901
> URL: https://issues.apache.org/jira/browse/HBASE-5901
> Project: HBase
>  Issue Type: Improvement
>  Components: ipc, performance
>Affects Versions: 0.96.0
>Reporter: Todd Lipcon
>Assignee: Todd Lipcon
>Priority: Critical
> Attachments: hbase-5901.txt
>
>
> The current implementation of multi actions uses repeated "NameBytesPair"s 
> for the contents of multi actions. Instead, we should introduce a union type 
> protobuf for the valid actions. This makes the RPCs smaller since they don't 
> need to carry class names, and makes deserialization faster since it can 
> avoid some copying and reflection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-5901) Use union type protobufs instead of class/byte pairs for multi requests

2012-05-01 Thread Todd Lipcon (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HBASE-5901:
---

Attachment: hbase-5901.txt

Patch rebased against trunk (something else conflicted with it)

> Use union type protobufs instead of class/byte pairs for multi requests
> ---
>
> Key: HBASE-5901
> URL: https://issues.apache.org/jira/browse/HBASE-5901
> Project: HBase
>  Issue Type: Improvement
>  Components: ipc, performance
>Affects Versions: 0.96.0
>Reporter: Todd Lipcon
>Assignee: Todd Lipcon
>Priority: Critical
> Attachments: hbase-5901.txt, hbase-5901.txt
>
>
> The current implementation of multi actions uses repeated "NameBytesPair"s 
> for the contents of multi actions. Instead, we should introduce a union type 
> protobuf for the valid actions. This makes the RPCs smaller since they don't 
> need to carry class names, and makes deserialization faster since it can 
> avoid some copying and reflection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-5901) Use union type protobufs instead of class/byte pairs for multi requests

2012-05-01 Thread stack (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-5901:
-

Status: Open  (was: Patch Available)

Retrying.  I tried the failing tests local and they pass for me.

> Use union type protobufs instead of class/byte pairs for multi requests
> ---
>
> Key: HBASE-5901
> URL: https://issues.apache.org/jira/browse/HBASE-5901
> Project: HBase
>  Issue Type: Improvement
>  Components: ipc, performance
>Affects Versions: 0.96.0
>Reporter: Todd Lipcon
>Assignee: Todd Lipcon
>Priority: Critical
> Attachments: hbase-5901.txt, hbase-5901.txt, hbase-5901.txt
>
>
> The current implementation of multi actions uses repeated "NameBytesPair"s 
> for the contents of multi actions. Instead, we should introduce a union type 
> protobuf for the valid actions. This makes the RPCs smaller since they don't 
> need to carry class names, and makes deserialization faster since it can 
> avoid some copying and reflection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-5901) Use union type protobufs instead of class/byte pairs for multi requests

2012-05-01 Thread stack (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-5901:
-

Attachment: hbase-5901.txt

> Use union type protobufs instead of class/byte pairs for multi requests
> ---
>
> Key: HBASE-5901
> URL: https://issues.apache.org/jira/browse/HBASE-5901
> Project: HBase
>  Issue Type: Improvement
>  Components: ipc, performance
>Affects Versions: 0.96.0
>Reporter: Todd Lipcon
>Assignee: Todd Lipcon
>Priority: Critical
> Attachments: hbase-5901.txt, hbase-5901.txt, hbase-5901.txt
>
>
> The current implementation of multi actions uses repeated "NameBytesPair"s 
> for the contents of multi actions. Instead, we should introduce a union type 
> protobuf for the valid actions. This makes the RPCs smaller since they don't 
> need to carry class names, and makes deserialization faster since it can 
> avoid some copying and reflection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-5901) Use union type protobufs instead of class/byte pairs for multi requests

2012-05-01 Thread stack (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-5901:
-

Status: Patch Available  (was: Open)

> Use union type protobufs instead of class/byte pairs for multi requests
> ---
>
> Key: HBASE-5901
> URL: https://issues.apache.org/jira/browse/HBASE-5901
> Project: HBase
>  Issue Type: Improvement
>  Components: ipc, performance
>Affects Versions: 0.96.0
>Reporter: Todd Lipcon
>Assignee: Todd Lipcon
>Priority: Critical
> Attachments: hbase-5901.txt, hbase-5901.txt, hbase-5901.txt
>
>
> The current implementation of multi actions uses repeated "NameBytesPair"s 
> for the contents of multi actions. Instead, we should introduce a union type 
> protobuf for the valid actions. This makes the RPCs smaller since they don't 
> need to carry class names, and makes deserialization faster since it can 
> avoid some copying and reflection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-5901) Use union type protobufs instead of class/byte pairs for multi requests

2012-05-01 Thread Todd Lipcon (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HBASE-5901:
---

   Resolution: Fixed
Fix Version/s: 0.96.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

> Use union type protobufs instead of class/byte pairs for multi requests
> ---
>
> Key: HBASE-5901
> URL: https://issues.apache.org/jira/browse/HBASE-5901
> Project: HBase
>  Issue Type: Improvement
>  Components: ipc, performance
>Affects Versions: 0.96.0
>Reporter: Todd Lipcon
>Assignee: Todd Lipcon
>Priority: Critical
> Fix For: 0.96.0
>
> Attachments: hbase-5901.txt, hbase-5901.txt, hbase-5901.txt
>
>
> The current implementation of multi actions uses repeated "NameBytesPair"s 
> for the contents of multi actions. Instead, we should introduce a union type 
> protobuf for the valid actions. This makes the RPCs smaller since they don't 
> need to carry class names, and makes deserialization faster since it can 
> avoid some copying and reflection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira