Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. > ls -lista hadnodes.conf
  2.  
  3. 7733498 4 -rwxrwxrwx. 1 pol pol 141 Feb 20 08:05 hadnodes.conf
  4.  
  5. > more hadnodes.conf
  6.  
  7. #!/bin/bash
  8. export NAME_NODE=18.202.25.99
  9. export DATA_NODE_1=52.30.117.99
  10. export DATA_NODE_2=34.248.153.99
  11. export DATA_NODE_3=52.17.111.99
  12.  
  13. > ls -lista setnodes
  14.  
  15. 7733504 4 -rwxrwxr-x. 1 pol pol 92 Feb 20 09:59 setnodes
  16.  
  17. > more setnodes
  18. #!/bin/bash
  19. source /home/pol/dcu/ca675_cloud_technologies/assignment_1/nodes/hadnodes.conf
  20.  
  21. source /path/to/setnodes
  22.  
  23. . /path/to/setnodes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement