<commit_before>'use strict';

var java = require('./js/java');
var sqlContext = require('./js/sqlContext');
var functions = require('./js/functions');

function sparkConf(master, appName) {
    var SparkConf = java.import("org.apache.spark.SparkConf");
    var conf = new SparkConf();
    return conf;
}

function spark_parseArgs(args) {

    args =
        // fake presence of a main class so that SparkSubmitArguments doesn't
        // bail. (It won't be run)
        ['--class', 'org.apache.spark.repl.Main']
        .concat(args)
        .concat(['spark-shell']);<commit_msg>Set default application name to 'spark-node shell'<commit_after>'use strict';

var java = require('./js/java');
var sqlContext = require('./js/sqlContext');
var functions = require('./js/functions');

function sparkConf(master, appName) {
    var SparkConf = java.import("org.apache.spark.SparkConf");
    var conf = new SparkConf();
    return conf;
}

function spark_parseArgs(args) {

    args =
        // fake presence of a main class so that SparkSubmitArguments doesn't
        // bail. (It won't be run)
        ['--class', 'org.apache.spark.repl.Main',
         '--name', 'spark-node shell']
        .concat(args)
        .concat(['spark-shell']);
{'fraction_non_alphanumeric': 0.156957928802589, 'fraction_numerical': 0.0, 'mean_word_length': 3.029315960912052, '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': '3881364', 'n_tokens_mistral': 381, 'n_tokens_neox': 360, 'n_words': 98}