<commit_before>PROFILE=$1
cd ../../
mvn -Poozie,$PROFILE clean package assembly:single
mvn -Psolr,$PROFILE package assembly:single
cd bin/hdfs_indexing/
cat jobsingleshard.properties | sed 's/\./_/g' > .properties.file
. .properties.file
rm .properties.file
echo "Cleaning HDFS directory $oozieWfDestination"
hadoop fs -rm -r -skipTrash $oozieWfDestination*
echo "Copying workflow to HDFS directory $oozieWfDestination" 
hadoop dfs -put ../../target/oozie-workflow/* $oozieWfDestination
oozie_server=${oozie_server//[_]/.}
echo "Running oozie workflow on server $oozie_server"
oozie job -oozie $oozie_server -config jobsingleshard.properties -run<commit_msg>change hadoop fs to hdfs dfs because hadoop style is deprecated<commit_after>PROFILE=$1
cd ../../
mvn -Poozie,$PROFILE clean package assembly:single
mvn -Psolr,$PROFILE package assembly:single
cd bin/hdfs_indexing/
cat jobsingleshard.properties | sed 's/\./_/g' > .properties.file
. .properties.file
rm .properties.file
echo "Cleaning HDFS directory $oozieWfDestination"
hdfs dfs -rm -r -skipTrash $oozieWfDestination*
echo "Copying workflow to HDFS directory $oozieWfDestination"
hdfs dfs -put ../../target/oozie-workflow/* $oozieWfDestination
oozie_server=${oozie_server//[_]/.}
echo "Running oozie workflow on server $oozie_server"
oozie job -oozie $oozie_server -config jobsingleshard.properties -run

{'fraction_non_alphanumeric': 0.11592076302274394, 'fraction_numerical': 0.001467351430667645, 'mean_word_length': 5.062222222222222, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7394298', 'n_tokens_mistral': 458, 'n_tokens_neox': 454, 'n_words': 127}