BIGTOP-2781. [Provisioner] 127.0.0.1 does not successfully inserted after 
BIGTOP-2756


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/ef20c6ca
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/ef20c6ca
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/ef20c6ca

Branch: refs/heads/branch-1.2
Commit: ef20c6ca311e3abffeb900a64b139ebe6a03dc53
Parents: 8ff0178
Author: Evans Ye <[email protected]>
Authored: Fri May 26 01:13:54 2017 +0000
Committer: Evans Ye <[email protected]>
Committed: Sat Jul 1 12:52:54 2017 +0000

----------------------------------------------------------------------
 provisioner/docker/docker-hadoop.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/ef20c6ca/provisioner/docker/docker-hadoop.sh
----------------------------------------------------------------------
diff --git a/provisioner/docker/docker-hadoop.sh 
b/provisioner/docker/docker-hadoop.sh
index 2fdecc2..0a84b07 100755
--- a/provisioner/docker/docker-hadoop.sh
+++ b/provisioner/docker/docker-hadoop.sh
@@ -78,7 +78,7 @@ generate-hosts() {
     done
     wait
     # This must be the last entry in the /etc/hosts
-    docker exec ${NODES[0]} bash -c "echo '127.0.0.1 localhost' >> 
./config/hosts"
+    docker exec ${NODES[0]} bash -c "echo '127.0.0.1 localhost' >> ./etc/hosts"
 }
 
 generate-config() {

Reply via email to