<commit_before><commit_msg>simple script that contains more custom ones<commit_after>#!/bin/bash

# command-line parameters
LOCAL_BWNDATA_SEQUENCE_FILE=$1
TABLE_NAME=$2

# default parameters
COLLECTION_SEQUENCE_FILE_HDFS_DIR=/user/akawa/${TABLE_NAME}_sf
TABLE_HFILES_HDFS_DIR=${TABLE_NAME}_hfiles
TABLE_REGION_CNT=20

time ./create-presplited-table.sh ${LOCAL_BWNDATA_SEQUENCE_FILE} ${COLLECTION_SEQUENCE_FILE_HDFS_DIR} hbasekeys presplited m:c ${TABLE_REGION_CNT}
time ./bulkload-sequence-file.sh all ${COLLECTION_SEQUENCE_FILE_HDFS_DIR} ${TABLE_HFILES_HDFS_DIR} ${TABLE_NAME}
{'fraction_non_alphanumeric': 0.10051993067590988, 'fraction_numerical': 0.006932409012131715, 'mean_word_length': 10.333333333333334, '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': '7639983', 'n_tokens_mistral': 223, 'n_tokens_neox': 212, 'n_words': 30}