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

Mukul Kumar Singh commented on RATIS-168:
-----------------------------------------

The latest patch updates the grpc to {{1.7.1}} and netty to {{4.1.16.Final}}. 
However when I updated the netty to {{4.1.19.Final}}. Netty version of grpc is 
documented at: 
https://github.com/grpc/grpc-java/blob/11ee67801d3d30f7111301dd754af2ceeca959f8/build.gradle

With Netty 4.1.19.Final the compilation fails with the following error.
{code}
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/Users/msingh/code/work/ratis/update_grpc1/ratis-proto-shaded/src/main/java/org/apache/ratis/shaded/io/grpc/netty/GrpcHttp2HeadersUtils.java:[258,16]
 
org.apache.ratis.shaded.io.grpc.netty.GrpcHttp2HeadersUtils.GrpcHttp2RequestHeaders
 is not abstract and does not override abstract method 
valueIterator(java.lang.CharSequence) in 
org.apache.ratis.shaded.io.netty.handler.codec.http2.Http2Headers
[ERROR] 
/Users/msingh/code/work/ratis/update_grpc1/ratis-proto-shaded/src/main/java/org/apache/ratis/shaded/io/grpc/netty/GrpcHttp2HeadersUtils.java:[424,16]
 
org.apache.ratis.shaded.io.grpc.netty.GrpcHttp2HeadersUtils.GrpcHttp2ResponseHeaders
 is not abstract and does not override abstract method 
valueIterator(java.lang.CharSequence) in 
org.apache.ratis.shaded.io.netty.handler.codec.http2.Http2Headers
[ERROR] 
/Users/msingh/code/work/ratis/update_grpc1/ratis-proto-shaded/src/main/java/org/apache/ratis/shaded/io/grpc/netty/GrpcHttp2OutboundHeaders.java:[28,7]
 org.apache.ratis.shaded.io.grpc.netty.GrpcHttp2OutboundHeaders is not abstract 
and does not override abstract method valueIterator(java.lang.CharSequence) in 
org.apache.ratis.shaded.io.netty.handler.codec.http2.Http2Headers
{code}




> Update Grpc and netty versions in Ratis.
> ----------------------------------------
>
>                 Key: RATIS-168
>                 URL: https://issues.apache.org/jira/browse/RATIS-168
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>         Attachments: RATIS-168.001.patch, RATIS-168.002.patch, 
> RATIS-168.003.patch, RATIS-168.004.patch
>
>
> Ratis is using grpc version 1.0.1, This version should be updated to a later 
> version.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to