[
https://issues.apache.org/jira/browse/HDFS-16632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037930#comment-18037930
]
ASF GitHub Bot commented on HDFS-16632:
---------------------------------------
github-actions[bot] commented on PR #4185:
URL: https://github.com/apache/hadoop/pull/4185#issuecomment-3524494398
We're closing this stale PR because it has been open for 100 days with no
activity. This isn't a judgement on the merit of the PR in any way. It's just a
way of keeping the PR queue manageable.
If you feel like this was a mistake, or you would like to continue working
on it, please feel free to re-open it and ask for a committer to remove the
stale tag and review again.
Thanks all for your contribution.
> java.io.IOException: Version Mismatch (Expected: 28, Received: 520 )
> --------------------------------------------------------------------
>
> Key: HDFS-16632
> URL: https://issues.apache.org/jira/browse/HDFS-16632
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs, native
> Affects Versions: 3.3.0, 3.3.1, 3.2.3, 3.3.2
> Environment: NAME="openEuler"
> VERSION="20.03 (LTS-SP1)"
> ID="openEuler"
> VERSION_ID="20.03"
> Reporter: cnnc
> Priority: Major
> Labels: libhdfs, libhdfscpp, pull-request-available
> Attachments: test1M.cpp
>
> Original Estimate: 504h
> Time Spent: 20m
> Remaining Estimate: 503h 40m
>
> read 1M bytes from hdfs with libhdfspp, and the datanode-server report an
> error like:
>
> 2022-04-12 20:10:21,872 ERROR
> org.apache.hadoop.hdfs.server.datanode.DataNode: server1:9866:DataXceiver
> error processing READ_BLOCK operation src: /90.90.43.114:47956 dst:
> /90.90.43.114:9866
> java.io.IOException: Version Mismatch (Expected: 28, Received: 520 )
> at
> org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.readOp(Receiver.java:74)
> at
> org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:269)
> at java.lang.Thread.run(Thread.java:748)
> 2022-04-12 20:13:27,615 ERROR
> org.apache.hadoop.hdfs.server.datanode.DataNode: server1:9866:DataXceiver
> error processing READ_BLOCK operation src: /90.90.43.114:48142 dst:
> /90.90.43.114:9866
> java.io.IOException: Version Mismatch (Expected: 28, Received: 520 )
> at
> org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.readOp(Receiver.java:74)
> at
> org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:269)
> at java.lang.Thread.run(Thread.java:748)
>
>
> (1) compile test1M.cpp ,using command:
> g++ test1M.cpp -lprotobuf -lhdfspp_static -lhdfs -lpthread -lsasl2 -lcrypto
> -llz4 -I./ -L./ -o test1M
>
> (2)and execute test1M with:
> ./test1M REAL_HDFS_FILE_PATH
>
> (3) check hadoop logs and you will find erro info like :
> java.io.IOException: Version Mismatch (Expected: 28, Received: 520 )
> at
> org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.readOp(Receiver.java:74)
> at
> org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:269)
> at java.lang.Thread.run(Thread.java:748)
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]