<commit_before>#!/bin/sh

echo 'creating folder cloudiator/etcd'
mkdir -p ~/cloudiator/etcd

cd ~/cloudiator
echo 'downloading etcd binary'
wget https://github.com/coreos/etcd/releases/download/v2.1.1/etcd-v2.1.1-linux-amd64.tar.gz -O etcd.tar.gz

mkdir etcd
tar xzvf etcd.tar.gz -C etcd --strip-components=1

echo 'downloading upstart config'
wget https://raw.githubusercontent.com/cloudiator/installation/master/shell/ubuntu/etcd.conf -O /etc/init/etcd.conf

echo 'starting etcd'
start etcd

echo 'control etcd via COMMAND etcd' 

#deprecated, now started as service
#start etcd on default ports 2379, 4001
#local_address=$(ip route get 8.8.8.8 | awk '{print $NF; exit}')
#nohup ./etcd/etcd --advertise-client-urls "http://${local_address}:2379,http://${local_address}:4001" --listen-client-urls="http://${local_address}:2379,http://${local_address}:4001" > log.out &<commit_msg>fixed line endings<commit_after>#!/bin/sh

echo 'creating folder cloudiator/etcd'
mkdir -p ~/cloudiator/etcd

cd ~/cloudiator
echo 'downloading etcd binary'
wget https://github.com/coreos/etcd/releases/download/v2.1.1/etcd-v2.1.1-linux-amd64.tar.gz -O etcd.tar.gz

mkdir etcd
tar xzvf etcd.tar.gz -C etcd --strip-components=1

echo 'downloading upstart config'
wget https://raw.githubusercontent.com/cloudiator/installation/master/shell/ubuntu/etcd.conf -O /etc/init/etcd.conf

echo 'starting etcd'
start etcd

echo 'control etcd via COMMAND etcd' 


#deprecated, now started as service
#start etcd on default ports 2379, 4001
#local_address=$(ip route get 8.8.8.8 | awk '{print $NF; exit}')
#nohup ./etcd/etcd --advertise-client-urls "http://${local_address}:2379,http://${local_address}:4001" --listen-client-urls="http://${local_address}:2379,http://${local_address}:4001" > log.out &
{'fraction_non_alphanumeric': 0.15723981900452488, 'fraction_numerical': 0.0418552036199095, 'mean_word_length': 4.669871794871795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2858057', 'n_tokens_mistral': 717, 'n_tokens_neox': 658, 'n_words': 144}