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

Hudson commented on HDFS-11958:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-11958. Ozone: Ensure KSM is initiated using ProtobufRpcEngine. (aengineer: 
rev 62a1fa1af0efde794f54c08d1a6ae59b12aa57ee)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ObjectStoreHandler.java


> Ozone: Ensure KSM is initiated using ProtobufRpcEngine
> ------------------------------------------------------
>
>                 Key: HDFS-11958
>                 URL: https://issues.apache.org/jira/browse/HDFS-11958
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Critical
>             Fix For: HDFS-7240
>
>         Attachments: HDFS-11958-HDFS-7240.001.patch
>
>
> Reproduce Steps
> # Launch an ozone cluster
> # Create a volume via commandline
> {code}
> hdfs oz -createVolume http://ozone1.fyre.ibm.com:9864/volume-wwei-0 -user root
> {code}
> it failed with following error
> {noformat}
> SEVERE: The RuntimeException could not be mapped to a response, re-throwing 
> to the HTTP container
> java.lang.RuntimeException: java.lang.NoSuchFieldException: versionID
>  at org.apache.hadoop.ipc.RPC.getProtocolVersion(RPC.java:182)
>     at 
> org.apache.hadoop.ipc.WritableRpcEngine$Invocation.<init>(WritableRpcEngine.java:114)
>     at 
> org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:247)
>     at com.sun.proxy.$Proxy18.createVolume(Unknown Source)
> ...
> Caused by: java.lang.NoSuchFieldException: versionID
>     at java.lang.Class.getField(Class.java:1703)
>     at org.apache.hadoop.ipc.RPC.getProtocolVersion(RPC.java:178)
>     ... 25 more
> {noformat}
> This was because {{keySpaceManagerClient}} in {{ObjectStoreHandler}} 
> currently is not properly initiated, it should be using {{ProtobufRpcEngine}} 
> instead of {{WritableRpcEngine}} which is deprecated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to