at15 / hadoop-spark-perf

(Deprecated) Hadoop and Spark CPU performance Benchmark
MIT License
0 stars 0 forks source link

HiBench can't run without Yarn #5

Closed at15 closed 7 years ago

at15 commented 7 years ago
at15 commented 7 years ago

Add the following to yarn-site.xml works

    <property>
        <name>yarn.resourcemanager.hostname</name>
        <value>hadoop-master</value>
    </property>
at15 commented 7 years ago

Can't start datanode today, got issue

End of File Exception between local host is: "vagrant.vm/127.0.1.1"; destination host is: "0.0.0.0":9000
at15 commented 7 years ago

Found something about the host file in https://github.com/apache/bigtop/blob/master/provisioner/vagrant/Vagrantfile#L72

# Remove 127.0.0.1 entry since vagrant's hostname setting will map it to FQDN,
# which miss leads some daemons to bind on 127.0.0.1 instead of public or private IP
sed -i "/127.0.0.1/d" /etc/hosts
at15 commented 7 years ago

so all hosts file are overwritten now, this problem is gone, also host name is changed for every vm