setting client retry

2012-04-12 Thread Rita
In the hdfs-site.xml file what argument do I need to set for client
retries? Also, what is the default parameter?

-- 
--- Get your facts first, then you can distort them as you please.--


Re: setting client retry

2012-04-12 Thread John George
There are several different types of 'client retries'. The following are
some that I know of.

My guess is that you meant the following one. If so, it is defined in
core-site.xml
"ipc.client.connect.max.retries" (default value: 10) - Indicates the
number of retries a client will make to establish a server connection.

The other type of retries that I can think of on hdfs side:
"dfs.client.block.write.retries" (default value: 3) - As the name
suggests, this is the number of times a DFS client retries write to the
DataNodes.

"dfs.client.block.write.locateFollowingBlock.retries" (default value: 5) -
On certain exceptions, the client might retry when trying to get an
additional block from NN and this configuration controls that.


There might be more. Feel free to let me know if you meant something else.

Regards,
John George

-Original Message-
From: Rita 
Reply-To: "common-user@hadoop.apache.org" 
Date: Thu, 12 Apr 2012 07:35:43 -0500
To: "" 
Subject: setting client retry

>In the hdfs-site.xml file what argument do I need to set for client
>retries? Also, what is the default parameter?
>
>-- 
>--- Get your facts first, then you can distort them as you please.--