<commit_before>LBlue='\033[1;34m'
NC='\033[0m' # No Color
iHome="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd $iHome

if [ "$1" == "start eco-services" ]
	then 	
		bash ./serviceModules/zookeeper.sh "run zookeeper"
		bash ./serviceModules/kafka.sh "run kafka"
		exit 0
fi

if [ "$1" == "start sparkCluster" ] && [ -z != $2 ] && [ -z != $3 ] && [ -z != $4  ]
	then 	
	if [ $2 == "v2.0" ]
		then
		bash ./serviceModules/sparkVersionV2.0.sh $3 $4
		exit 0
	fi
	exit 0 
fi
if [ "$1" == "print IPs" ]
	then 	
		bash ./serviceModules/printIPAddresses.sh "zookeeper&kafka"
		exit 0
fi

if [ "$1" == "build all images" ]
	then 
	docker build -t futureapplications/streaming-basis ../imagbasis/. 
	docker build -t futureapplications/streaming-spark2.0-master ../images/spark2.0/master/.
	docker build -t futureapplications/streaming-spark2.0-worker ../images/spark2.0/worker/.
	docker build -t futureapplications/streaming-kafka ../images/kafka/.
	docker build -t futureapplications/streaming-zookeeper ../images/zookeeper/.
	exit 0
fi

if [ "$1" == "kill all container" ]
	then
	docker stop `docker ps -aq`
	docker rm `docker ps -aq`
	exit
fi
echo "ERROR Nothing to do. <$0>"<commit_msg>repaire path-error for basis image<commit_after>LBlue='\033[1;34m'
NC='\033[0m' # No Color
iHome="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd $iHome

if [ "$1" == "start eco-services" ]
	then 	
		bash ./serviceModules/zookeeper.sh "run zookeeper"
		bash ./serviceModules/kafka.sh "run kafka"
		exit 0
fi

if [ "$1" == "start sparkCluster" ] && [ -z != $2 ] && [ -z != $3 ] && [ -z != $4  ]
	then 	
	if [ $2 == "v2.0" ]
		then
		bash ./serviceModules/sparkVersionV2.0.sh $3 $4
		exit 0
	fi
	exit 0 
fi
if [ "$1" == "print IPs" ]
	then 	
		bash ./serviceModules/printIPAddresses.sh "zookeeper&kafka"
		exit 0
fi

if [ "$1" == "build all images" ]
	then 
	docker build -t futureapplications/streaming-basis ../image/basis/. 
	docker build -t futureapplications/streaming-spark2.0-master ../images/spark2.0/master/.
	docker build -t futureapplications/streaming-spark2.0-worker ../images/spark2.0/worker/.
	docker build -t futureapplications/streaming-kafka ../images/kafka/.
	docker build -t futureapplications/streaming-zookeeper ../images/zookeeper/.
	exit 0
fi

if [ "$1" == "kill all container" ]
	then
	docker stop `docker ps -aq`
	docker rm `docker ps -aq`
	exit
fi
echo "ERROR Nothing to do. <$0>"
{'fraction_non_alphanumeric': 0.17147636971978253, 'fraction_numerical': 0.033458803847762446, 'mean_word_length': 3.263814616755793, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '215140', 'n_tokens_mistral': 1016, 'n_tokens_neox': 916, 'n_words': 243}