ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 41795: Make the hdfs replication as 1 when it is single node cluster
Date Mon, 04 Jan 2016 04:06:39 GMT


> On Dec. 30, 2015, 7:54 p.m., Alejandro Fernandez wrote:
> > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py, line
245
> > <https://reviews.apache.org/r/41795/diff/1/?file=1178449#file1178449line245>
> >
> >     Agree with bhuvnesh, this should be based on # of DNs. If less than 3, it should
be the # of DNs.
> 
> Matt wrote:
>     After giving it some thought, I prefer to have dfs.replication to be set as 3, regardless
of no. of datanodes. Sumit has a good point.

HDFS may only check dfs.namenode.replication.min when coming out of safemode (so that value
may always <= # DNs). So perhaps ok to set dfs.replication and dfs.replication.max to 3.


- Alejandro


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41795/#review112345
-----------------------------------------------------------


On Dec. 30, 2015, 11:04 a.m., Matt wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41795/
> -----------------------------------------------------------
> 
> (Updated Dec. 30, 2015, 11:04 a.m.)
> 
> 
> Review request for Ambari, Alexander Denissov, Alejandro Fernandez, bhuvnesh chaudhary,
Dmitro Lisnichenko, jun aoki, Lav Jain, Newton Alex, Oleksandr Diachenko, Sumit Mohanty, and
Srimanth Gunturi.
> 
> 
> Bugs: AMBARI-14459
>     https://issues.apache.org/jira/browse/AMBARI-14459
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> By default dfs.replication is set to 3. In a single node cluster, advise and validate
dfs.replication = 1
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 7e2871b

>   ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py 6699e94 
> 
> Diff: https://reviews.apache.org/r/41795/diff/
> 
> 
> Testing
> -------
> 
> Manually Tested
> Unit test updated.
> 
> 
> Thanks,
> 
> Matt
> 
>


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