----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33428/ -----------------------------------------------------------
Review request for Ambari. Description ------- When we install on a cluster with less than 3 DataNodes, the replication factor is set to 3 anyway. It does not make sense. We should change this value to a lower number to avoid missing replicas(for example, if there is just one DN, set the replication factor to 1). Diffs ----- Diff: https://reviews.apache.org/r/33428/diff/ Testing ------- With this patch, the installation GUI could set correct value to property 'Block replication' in the 'Customize Services' page. For example: - If I select two datanodes in 'Assign Slaves and Clients' page, the value of property 'Block replication' in the 'Customize Services' page is 2 - If I select one datanode in 'Assign Slaves and Clients' page, the value of property 'Block replication' in the 'Customize Services' page is 1 File Attachments ---------------- AMBARI-10645-001.patch https://reviews.apache.org/media/uploaded/files/2015/04/22/4914fe35-3096-4f6c-bca4-2e281a8727a4__AMBARI-10645-001.patch Thanks, sam liu
