Hadoop error could not obtain block blk_xxx_yyy from a node:java.io.IOException:No live nodes contain current block

Source: Internet
Author: User

Error:

10/12/08 20:10:31 INFO HDFs. Dfsclient:could obtain block blk_xxxxxxxxxxxxxxxxxxxxxx_yyyyyyyy from any Node:java.io.IOException:No live nodes Co Ntain current block. Would get new block locations from Namenode and retry

Reason:

Datanode has an upper limit for processing files at the same time. This parameter is called Xcievers. Without this configuration, you may experience strange failures. You will see xcievers exceeded in Datanode's log, but will report missing blocks error when running.

Workaround:

Add the following configuration inside the Conf/hdfs-site.xml

<property>

<name>dfs.datanode.max.xcievers</name>

<value>4096</value>

<dedication> Datanode has an upper limit for processing files at the same time, at least 4096</dedication>

</property>

If you think reading this blog gives you something to gain, you might want to click " recommend " in the lower right corner.
If you want to find my new blog more easily, click on " Follow me " in the lower left corner.
If you are interested in what my blog is talking about, please keep following my follow-up blog, I am " Liu Chao ★ljc".

This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility.

Hadoop error could not obtain block blk_xxx_yyy from a node:java.io.IOException:No live nodes contain current block

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.