34 | | user@node50:~/hadoop_labs$ cd |
35 | | user@node50:~$ cp -r hadoop/conf.full hadoop/conf.node0 |
36 | | user@node50:~$ sed -i "s#$(hostname)#node0#g" hadoop/conf.node0/core-site.xml |
37 | | user@node50:~$ sed -i "s#$(hostname)#node0#g" hadoop/conf.node0/mapred-site.xml |
38 | | user@node50:~$ export HADOOP_CONF_DIR=~/hadoop/conf.node0/ |
39 | | user@node50:~$ export HADOOP_ROOT_LOGGER=DEBUG,console |
40 | | user@node50:~$ hadoop fs -ls |
41 | | user@node50:~$ unset HADOOP_CONF_DIR |
42 | | user@node50:~$ hadoop fs -ls |
43 | | user@node50:~$ unset HADOOP_ROOT_LOGGER |
| 34 | cd |
| 35 | cp -r hadoop/conf.full hadoop/conf.node0 |
| 36 | sed -i "s#$(hostname)#node0#g" hadoop/conf.node0/core-site.xml |
| 37 | sed -i "s#$(hostname)#node0#g" hadoop/conf.node0/mapred-site.xml |
| 38 | export HADOOP_CONF_DIR=~/hadoop/conf.node0/ |
| 39 | export HADOOP_ROOT_LOGGER=DEBUG,console |
| 40 | hadoop fs -ls |
| 41 | unset HADOOP_CONF_DIR |
| 42 | hadoop fs -ls |
| 43 | unset HADOOP_ROOT_LOGGER |