Open hzy46 opened 4 years ago
And in the example layout.yaml followed from the step-by-step manual, we say nodename should be the same as hostip, https://github.com/microsoft/pai/blob/master/examples/cluster-configuration/layout.yaml#L60, also here: https://github.com/microsoft/pai/blob/master/docs/pai-management/doc/how-to-configure-layout.md#field-3-machine-list- While actually the code requires that "nodename" is the same as "hostname". And a question is why we expose the field nodename in the layout.yaml in the first place?
And a question is why we expose the field nodename in the layout.yaml in the first place?
it's the legacy in YARN version, where nodename
should be the same as the ip address to avoid dns issues in Hadoop.
see #24 and #25, now we have removed Hadoop and k8s will resolve nodename
, the ip could be removed.
In
layout.yaml
, the hostname and nodename may be duplicate, see:https://github.com/microsoft/pai/blob/master/contrib/kubespray/quick-start/layout.yaml.template#L45-L46