9 lines
114 B
Bash
9 lines
114 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo format namenode
|
||
|
hdfs namenode -format test
|
||
|
|
||
|
hdfs namenode &
|
||
|
hdfs datanode &
|
||
|
exec sleep infinity
|