[
https://issues.apache.org/jira/browse/AMBARI-10645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547748#comment-14547748
]
sam liu commented on AMBARI-10645:
----------------------------------
Hi Experts,
It's really weird that this patch could be applied to trunk in my local env,
but always failed on Apache jira system which
said(https://builds.apache.org/job/Ambari-trunk-test-patch/2758//console):
error: src/main/resources/stacks/HDP/2.2/services/stack_advisor.py: No such
file or directory
PATCH APPLICATION FAILED
However, current patch plans to change file
'ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py',
not 'src/main/resources/stacks/HDP/2.2/services/stack_advisor.py', as it
includes following sentences:
--- ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py
+++ ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py
This patch can be applied to trunk branch in my local env and works well.
Could any expert please help take a review on this issue?
Thanks in advance!
> Adjust block replication for clusters with less than 3 DataNodes
> ----------------------------------------------------------------
>
> Key: AMBARI-10645
> URL: https://issues.apache.org/jira/browse/AMBARI-10645
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Reporter: sam liu
> Attachments: AMBARI-10645-001.patch, AMBARI-10645-002.patch,
> AMBARI-10645-003.patch
>
>
> 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).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)