[jira] [Commented] (HBASE-25187) Improve SizeCachedKV variants initialization

2020-11-25 Thread Hudson (Jira)


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

Hudson commented on HBASE-25187:


Results for branch branch-2
[build #111 on 
builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/111/]:
 (/) *{color:green}+1 overall{color}*

details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/111/General_20Nightly_20Build_20Report/]




(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/111/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]


(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/111/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/111/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Improve SizeCachedKV variants initialization
> 
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
>  Issue Type: Improvement
>Reporter: ramkrishna.s.vasudevan
>Assignee: ramkrishna.s.vasudevan
>Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.3.4, 2.5.0
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the 
> buffers. This can be optimized because we can pass the keylen and row len 
> while actually creating the cell while reading the cell from the block.  Some 
> times we see that the SizeCachedKV takes the max width in a flame graph - 
> considering the fact we also do a sanity check on the created KV. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-25187) Improve SizeCachedKV variants initialization

2020-11-25 Thread Hudson (Jira)


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

Hudson commented on HBASE-25187:


Results for branch branch-2.3
[build #110 on 
builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.3/110/]:
 (/) *{color:green}+1 overall{color}*

details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.3/110/General_20Nightly_20Build_20Report/]




(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.3/110/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]


(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.3/110/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.3/110/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Improve SizeCachedKV variants initialization
> 
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
>  Issue Type: Improvement
>Reporter: ramkrishna.s.vasudevan
>Assignee: ramkrishna.s.vasudevan
>Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.3.4, 2.5.0
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the 
> buffers. This can be optimized because we can pass the keylen and row len 
> while actually creating the cell while reading the cell from the block.  Some 
> times we see that the SizeCachedKV takes the max width in a flame graph - 
> considering the fact we also do a sanity check on the created KV. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-25187) Improve SizeCachedKV variants initialization

2020-11-24 Thread Hudson (Jira)


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

Hudson commented on HBASE-25187:


Results for branch branch-2.2
[build #122 on 
builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.2/122/]:
 (x) *{color:red}-1 overall{color}*

details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.2/122//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.2/122//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.2/122//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Improve SizeCachedKV variants initialization
> 
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
>  Issue Type: Improvement
>Reporter: ramkrishna.s.vasudevan
>Assignee: ramkrishna.s.vasudevan
>Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.3.4, 2.5.0
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the 
> buffers. This can be optimized because we can pass the keylen and row len 
> while actually creating the cell while reading the cell from the block.  Some 
> times we see that the SizeCachedKV takes the max width in a flame graph - 
> considering the fact we also do a sanity check on the created KV. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-25187) Improve SizeCachedKV variants initialization

2020-11-24 Thread ramkrishna.s.vasudevan (Jira)


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

ramkrishna.s.vasudevan commented on HBASE-25187:


[~ndimiduk] and [~zghao] thanks for the heads up.

[~apurtell] - Thanks for the ping here. I am on vacation and I just pushed it 
to branch-2, branch-2.2 and branch-2.3.

> Improve SizeCachedKV variants initialization
> 
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
>  Issue Type: Improvement
>Reporter: ramkrishna.s.vasudevan
>Assignee: ramkrishna.s.vasudevan
>Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.3.4, 2.5.0
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the 
> buffers. This can be optimized because we can pass the keylen and row len 
> while actually creating the cell while reading the cell from the block.  Some 
> times we see that the SizeCachedKV takes the max width in a flame graph - 
> considering the fact we also do a sanity check on the created KV. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-25187) Improve SizeCachedKV variants initialization

2020-11-23 Thread Andrew Kyle Purtell (Jira)


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

Andrew Kyle Purtell commented on HBASE-25187:
-

Moved out of 2.4.

There are about 60 hours remaining before the 2.4.0RC0 is unblocked, if you 
want to get this in before then.

> Improve SizeCachedKV variants initialization
> 
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
>  Issue Type: Improvement
>Reporter: ramkrishna.s.vasudevan
>Assignee: ramkrishna.s.vasudevan
>Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.3.4, 2.5.0
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the 
> buffers. This can be optimized because we can pass the keylen and row len 
> while actually creating the cell while reading the cell from the block.  Some 
> times we see that the SizeCachedKV takes the max width in a flame graph - 
> considering the fact we also do a sanity check on the created KV. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-25187) Improve SizeCachedKV variants initialization

2020-11-18 Thread Guanghao Zhang (Jira)


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

Guanghao Zhang commented on HBASE-25187:


+1 for branch-2.2, too. Thanks.

> Improve SizeCachedKV variants initialization
> 
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
>  Issue Type: Improvement
>Reporter: ramkrishna.s.vasudevan
>Assignee: ramkrishna.s.vasudevan
>Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.4.0, 2.3.4
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the 
> buffers. This can be optimized because we can pass the keylen and row len 
> while actually creating the cell while reading the cell from the block.  Some 
> times we see that the SizeCachedKV takes the max width in a flame graph - 
> considering the fact we also do a sanity check on the created KV. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-25187) Improve SizeCachedKV variants initialization

2020-11-17 Thread Nick Dimiduk (Jira)


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

Nick Dimiduk commented on HBASE-25187:
--

So I understand correctly, these new classes are introduced for the purpose of 
optimizing away calculations of values in hot-paths? There's no other purpose 
for this change?

I think this looks okay for a patch release. Do you agree [~zghao]?

> Improve SizeCachedKV variants initialization
> 
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
>  Issue Type: Improvement
>Reporter: ramkrishna.s.vasudevan
>Assignee: ramkrishna.s.vasudevan
>Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.4.0, 2.3.4
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the 
> buffers. This can be optimized because we can pass the keylen and row len 
> while actually creating the cell while reading the cell from the block.  Some 
> times we see that the SizeCachedKV takes the max width in a flame graph - 
> considering the fact we also do a sanity check on the created KV. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-25187) Improve SizeCachedKV variants initialization

2020-11-15 Thread ramkrishna.s.vasudevan (Jira)


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

ramkrishna.s.vasudevan commented on HBASE-25187:


[~ndimiduk] and [~zghao]

Do you want this in 2.3 and 2.2 branches?

 

> Improve SizeCachedKV variants initialization
> 
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
>  Issue Type: Improvement
>Reporter: ramkrishna.s.vasudevan
>Assignee: ramkrishna.s.vasudevan
>Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.4.0, 2.3.4
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the 
> buffers. This can be optimized because we can pass the keylen and row len 
> while actually creating the cell while reading the cell from the block.  Some 
> times we see that the SizeCachedKV takes the max width in a flame graph - 
> considering the fact we also do a sanity check on the created KV. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-25187) Improve SizeCachedKV variants initialization

2020-11-12 Thread Hudson (Jira)


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

Hudson commented on HBASE-25187:


Results for branch master
[build #123 on 
builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/123/]:
 (x) *{color:red}-1 overall{color}*

details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/123/General_20Nightly_20Build_20Report/]






(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/123/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/123/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Improve SizeCachedKV variants initialization
> 
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
>  Issue Type: Improvement
>Reporter: ramkrishna.s.vasudevan
>Assignee: ramkrishna.s.vasudevan
>Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.4.0, 2.3.4
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the 
> buffers. This can be optimized because we can pass the keylen and row len 
> while actually creating the cell while reading the cell from the block.  Some 
> times we see that the SizeCachedKV takes the max width in a flame graph - 
> considering the fact we also do a sanity check on the created KV. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-25187) Improve SizeCachedKV variants initialization

2020-10-22 Thread ramkrishna.s.vasudevan (Jira)


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

ramkrishna.s.vasudevan commented on HBASE-25187:


This patch along with the removal of the sanity check in the KVUtil gives 12% 
improvement in scans reading 5G of data and filtering using SCVF. How ever in 
this patch I have not removed the sanity check so probably the improvement is 
going to be lesser than 12%.

> Improve SizeCachedKV variants initialization
> 
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
>  Issue Type: Improvement
>Reporter: ramkrishna.s.vasudevan
>Assignee: ramkrishna.s.vasudevan
>Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.3.3
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the 
> buffers. This can be optimized because we can pass the keylen and row len 
> while actually creating the cell while reading the cell from the block.  Some 
> times we see that the SizeCachedKV takes the max width in a flame graph - 
> considering the fact we also do a sanity check on the created KV. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)