Today, I reported such an error when uploading files to Hadoop
2022-03-17 17:17:11,994 INFO hdfs.DataStreamer: Exception in createBlockOutputStream blk_1073741946_1137
java.io.IOException: Got error, status=ERROR, status message , ack with firstBadLink as 120.78.239.136:9866
at org.apache.hadoop.hdfs.protocol.datatransfer.DataTransferProtoUtil.checkBlockOpStatus(DataTransferProtoUtil.java:134)
at org.apache.hadoop.hdfs.protocol.datatransfer.DataTransferProtoUtil.checkBlockOpStatus(DataTransferProtoUtil.java:110)
at org.apache.hadoop.hdfs.DataStreamer.createBlockOutputStream(DataStreamer.java:1778)
at org.apache.hadoop.hdfs.DataStreamer.nextBlockOutputStream(DataStreamer.java:1679)
at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:716)
2022-03-17 17:17:11,998 WARN hdfs.DataStreamer: Abandoning BP-1890970308-172.25.12.163-1646541195774:blk_1073741946_1137
2022-03-17 17:17:12,007 WARN hdfs.DataStreamer: Excluding datanode DatanodeInfoWithStorage[120.78.239.136:9866,DS-87287b18-21ac-4314-884e-d78b139945b8,DISK]
The result is that
slave1 has no copy
Reason and Solution:
slave1 did not turn off the firewall, so just turning off the firewall will be OK.
Read More:
- Run hadoop fs -put Command Error: java.io.IOException: Got error, status message , ack with firstBadLink
- I/O error while reading input message; nested exception is java.io.IOException: Stream closed
- [Solved] Sqoop Error: ERROR tool.ImportTool: Import failed: java.io.IOException
- [Solved] ClientAbortException: java.io.IOException: Connection reset by peer
- Java learning unreported exception java.io.IOException ; must be caught or declared to be thrown
- keytool error java.io.IOException:keystore was tampered with,or password was incorre
- springboot jsp: There was an unexpected error (type=Not Found, status=404). No message available
- [Solved] canal Startup Error: error while reading from client socket java.io.IOException: Received error packet:
- keytool Error: java.io.IOException: Keystore was tampered with, or password was incorrect
- Eureka Error: registration status: 204 deregister status: 200
- [Solved] Hadoop Error: Exception in thread “main“ java.io.IOException: Error opening job jar: /usr/local/hadoop-2.
- [Solved] JAVA fx Error: java.lang.instrument ASSERTION FAILED ***: “!errorOutstanding“ with message transform
- The java springboot websocket service server actively closes the connection and causes java.io.EOFException to be thrown
- [Solved] “status“:405,“error“ Request method ‘POST‘ not supported“
- [Solved] Failed to load resource: the server responded with a status of 404 ()
- [Solved] TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:IllegalStateException: null
- [Solved] nacos Error: Client not connected,current status:STARTING,StatusRuntimeException
- RSA Decryption Error: java.security.InvalidKeyException: IOException : algid parse error, not a sequence
- Maven project running servlet jump JSP error: HTTP status 500 – unable to compile class for JSP
- How to Solve Error:java.io.InvalidClassException