DrakopoulosAj
5 years ago
1 changed files with 1 additions and 7 deletions
@ -1,9 +1,3 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
|
|
||||
datadir=`echo $HDFS_CONF_dfs_datanode_data_dir | perl -pe 's#file://##'` |
$HADOOP_HOME/bin/yarn --config $HADOOP_CONF_DIR historyserver |
||||
if [ ! -d $datadir ]; then |
|
||||
echo "Datanode data directory not found: $datadir" |
|
||||
exit 2 |
|
||||
fi |
|
||||
|
|
||||
$HADOOP_HOME/bin/hdfs --config $HADOOP_CONF_DIR datanode |
|
||||
|
Loading…
Reference in new issue