Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> final the dfs.replication and fsck


Copy link to this message
-
Re: final the dfs.replication and fsck
Hi Patai,

Set the dfs.replication.max parameter to 2 to achieve what you want.

On Tue, Oct 16, 2012 at 12:31 AM, Patai Sangbutsarakum
<[EMAIL PROTECTED]> wrote:
> Hi Hadoopers,
>
> I have
> <property>
>     <name>dfs.replication</name>
>     <value>2</value>
>     <final>true</final>
>   </property>
>
> set in hdfs-site.xml in staging environment cluster. while the staging
> cluster is running the code that will later be deployed in production,
> those code is trying to have dfs.replication of 3, 10, 50, other than
> 2; the number that developer thought that will fit in production
> environment.
>
> Even though I final the property dfs.replication in staging cluster
> already. every time i run fsck on the staging cluster i still see it
> said under replication.
> I thought final keyword will not honor value in job config, but it
> doesn't seem so when i run fsck.
>
> I am on cdh3u4.
>
> please suggest.
> Patai

--
Harsh J
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB