<commit_before>#!/bin/bash

/etc/init.d/ntp stop
ntpdate ntp.ubuntu.com

rm -rf /tmp/spark-local*

if [ -d "/mnt" ]; then
  umount /mnt/
  rmdir /mnt/
fi;

if [ ! -d "/disk1" ]; then
  mkdir /disk1
  mount /dev/xvdb /disk1 -t ext3
fi;

mkdir -p /disk1/hdfs/name
chown hdfs.hdfs /disk1/hdfs/name

mkdir -p /disk1/sparrow
mkdir -p /disk1/hdfs/data
mkdir -p /disk1/tmp/
mkdir -p /disk1/tmp/spark/
chown hdfs.hdfs /disk1/hdfs/data

# Annoying ec2 cloud entry in hostfile<commit_msg>Small fix for ntp stuff<commit_after>#!/bin/bash

/etc/init.d/ntpd stop
ntpdate ntp.ubuntu.com

rm -rf /tmp/spark-local*

if [ -d "/mnt" ]; then
  umount /mnt/
  rmdir /mnt/
fi;

if [ ! -d "/disk1" ]; then
  mkdir /disk1
  mount /dev/xvdb /disk1 -t ext3
fi;

mkdir -p /disk1/hdfs/name
chown hdfs.hdfs /disk1/hdfs/name

mkdir -p /disk1/sparrow
mkdir -p /disk1/hdfs/data
mkdir -p /disk1/tmp/
mkdir -p /disk1/tmp/spark/
chown hdfs.hdfs /disk1/hdfs/data

# Annoying ec2 cloud entry in hostfile
{'fraction_non_alphanumeric': 0.15098241985522234, 'fraction_numerical': 0.02481902792140641, 'mean_word_length': 2.6806083650190113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4107774', 'n_tokens_mistral': 474, 'n_tokens_neox': 447, 'n_words': 115}