There are too many hostname aliases per line in a Windows hosts file
Flyfoxs opened this issue · 0 comments
Kubefwd generate too many aliases hostname in one line as below.
you will get this error when you run ping hadoop-hadoop-yarn-nm-2.nodemanager
Ping request could not find host hadoop-hadoop-yarn-nm-2.nodemanager. Please check the name and try again.
127.1.27.5 hadoop-hadoop-yarn-nm-2.nodemanager hadoop-hadoop-yarn-nm-2-nodemanager hadoop-hadoop-yarn-nm-2.nodemanager.backoffice hadoop-hadoop-yarn-nm-2-nodemanager-backoffice hadoop-hadoop-yarn-nm-2.nodemanager.backoffice.svc hadoop-hadoop-yarn-nm-2-nodemanager-backoffice-svc hadoop-hadoop-yarn-nm-2.nodemanager.backoffice.svc.cluster.local hadoop-hadoop-yarn-nm-2-nodemanager-backoffice-svc-cluster-local hadoop-hadoop-yarn-nm-2.nodemanager.backoffice.arn:aws:eks:us-east-1:882490700787:cluster/ubix-backoffice-cluster hadoop-hadoop-yarn-nm-2-nodemanager-backoffice-arn-aws-eks-us-east-1-882490700787-cluster-ubix-backoffice-cluster hadoop-hadoop-yarn-nm-2.nodemanager.backoffice.svc.arn:aws:eks:us-east-1:882490700787:cluster/ubix-backoffice-cluster hadoop-hadoop-yarn-nm-2-nodemanager-backoffice-svc-arn-aws-eks-us-east-1-882490700787-cluster-ubix-backoffice-cluster hadoop-hadoop-yarn-nm-2.nodemanager.backoffice.svc.cluster.arn:aws:eks:us-east-1:882490700787:cluster/ubix-backoffice-cluster hadoop-hadoop-yarn-nm-2-nodemanager-backoffice-svc-cluster-arn-aws-eks-us-east-1-882490700787-cluster-ubix-backoffice-cluster