Repository: bigtop
Updated Branches:
  refs/heads/master b7f8b9d0a -> 19826d50e


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/19826d50
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/19826d50
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/19826d50

Branch: refs/heads/master
Commit: 19826d50ed6fa861b56e84516416db32b35b82e2
Parents: b7f8b9d
Author: Evans Ye <[email protected]>
Authored: Fri May 26 01:13:54 2017 +0000
Committer: Evans Ye <[email protected]>
Committed: Sun May 28 03:46:12 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/bigtop/blob/19826d50/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