Commit 6ce480cc authored by rdecoupe's avatar rdecoupe
Browse files

edit readme after install cluster on debian 10

No related merge requests found
Showing with 12 additions and 1 deletion
+12 -1
...@@ -23,6 +23,11 @@ Acutally, this project does : ...@@ -23,6 +23,11 @@ Acutally, this project does :
```shell ```shell
apt-get install sshpass apt-get install sshpass
``` ```
+ Configure ansible (allow becoming unprivileged user without error : "Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user")
```shell
sed -i 's/.*pipelining.*/pipelining = True/' /etc/ansible/ansible.cfg
sed -i 's/.*allow_world_readable_tmpfiles.*/allow_world_readable_tmpfiles = True/' /etc/ansible/ansible.cfg
```
* Vagrant with virtualox * Vagrant with virtualox
+ Install virtualbox on your own computer (for Ubuntu or Debian): + Install virtualbox on your own computer (for Ubuntu or Debian):
``` ```
...@@ -84,6 +89,12 @@ Inside this file, edit your network setting (name for your interface adaptator a ...@@ -84,6 +89,12 @@ Inside this file, edit your network setting (name for your interface adaptator a
```shell ```shell
vim /etc/hosts vim /etc/hosts
``` ```
if you did not edit your cluster settings since you git have pulled, you may want to use this default settings:
```shell
10.0.0.10 namenode
10.0.0.11 datanode1
10.0.0.12 datanode2
```
4. in cli : start your multiple VM from this [directory : vagrant/cluster](vagrant/cluster) : 4. in cli : start your multiple VM from this [directory : vagrant/cluster](vagrant/cluster) :
```shell ```shell
vagrant up vagrant up
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
- name: Set JAVA_HOME as environment variable - name: Set JAVA_HOME as environment variable
become: yes become: yes
# become_user : hadoop become_user : hadoop
blockinfile: blockinfile:
insertafter: EOF insertafter: EOF
path : ~/.bashrc path : ~/.bashrc
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment