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

Hudson commented on HBASE-28101:
--------------------------------

Results for branch branch-2.4
        [build #619 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.4/619/]:
 (x) *{color:red}-1 overall{color}*
----
details (if available):

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


(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.4/619/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.4/619/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.4/619/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}


> Should check the return value of protobuf Message.mergeDelimitedFrom
> --------------------------------------------------------------------
>
>                 Key: HBASE-28101
>                 URL: https://issues.apache.org/jira/browse/HBASE-28101
>             Project: HBase
>          Issue Type: Bug
>          Components: Protobufs, rpc
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Critical
>             Fix For: 2.6.0, 2.4.18, 2.5.6, 3.0.0-beta-1
>
>
> Found this problem while upgrading thirdparty dependencies.
> The javadoc of mergeDelimitedFrom says
> {code}
>     /**
>      * Like {@link #mergeFrom(InputStream)}, but does not read until EOF. 
> Instead, the size of the
>      * message (encoded as a varint) is read first, then the message data. 
> Use {@link
>      * MessageLite#writeDelimitedTo(OutputStream)} to write messages in this 
> format.
>      *
>      * @return true if successful, or false if the stream is at EOF when the 
> method starts. Any
>      *     other error (including reaching EOF during parsing) causes an 
> exception to be thrown.
>      * @throws InvalidProtocolBufferException the bytes read are not 
> syntactically correct
>      *     according to the protobuf wire format specification. The data is 
> corrupt, incomplete,
>      *     or was never a protobuf in the first place.
>      * @throws IOException an I/O error reading from the stream
>      */
> {code}
> So we should not ignore the return value, otherwise we may get an incomplete 
> message.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to