Browse Source

Upload files to ''

master
DrakopoulosAj 5 years ago
parent
commit
4f5bc71408
  1. 8
      run.sh

8
run.sh

@ -1,9 +1,3 @@
#!/bin/bash
datadir=`echo $HDFS_CONF_dfs_datanode_data_dir | perl -pe 's#file://##'`
if [ ! -d $datadir ]; then
echo "Datanode data directory not found: $datadir"
exit 2
fi
$HADOOP_HOME/bin/hdfs --config $HADOOP_CONF_DIR datanode
$HADOOP_HOME/bin/yarn --config $HADOOP_CONF_DIR historyserver

Loading…
Cancel
Save