merged Hadoop from HDFS Workbench into v1.0.0

This commit is contained in:
Ivan Ermilov
2016-05-11 14:41:37 +02:00
parent c5cd0d46ad
commit b155c89600
19 changed files with 320 additions and 106 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/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_PREFIX/bin/hdfs --config $HADOOP_CONF_DIR datanode