hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Budianto Lie <popo6...@gmail.com>
Subject How to handle "Exception in createBlockOutputStream"
Date Fri, 16 Oct 2009 08:46:29 GMT

I setup hadoop cluster (1 master 2 slaves). In hdfs-site.xml, I set
dfs.replication = 3
When I shutdown one node slave, and then try to put a file into hdfs through
master node. The file can't be saved, hadoop generate an error message like
"hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException:
Bad connect ack with firstBadLink ...."
When I checked into hdfs, the filesize is zero.

The questions are:
1. How to configure hadoop so they can still operate if one or more slave
node is down. And after they are up again, it automatically synchronize the
2. Which command to replace / append a file in hdfs? Currently I delete it
first and then put it again :)


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message