<commit_before>package mutslam;

import java.io.File;
import java.util.HashMap;
import java.util.Map;

import org.apache.accumulo.minicluster.MiniAccumuloCluster;
import org.apache.accumulo.minicluster.MiniAccumuloConfig;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hdfs.MiniDFSCluster;

public class MiniRunner {
  public static void main(String[] args) throws Exception {
    MiniDFSCluster dfscluster = new MiniDFSCluster.Builder(new Configuration()).build();
    //System.out.println(dfscluster.getURI());
    
    MiniAccumuloConfig macConfig = new MiniAccumuloConfig(new File(args[0]), "secret");
    Map<String, String> site = new HashMap<String, String>();
    site.put("instance.volumes", dfscluster.getURI().toString());
    <commit_msg>tried to fix minirunner, but still not working quite right<commit_after>package mutslam;

import java.io.File;
import java.util.HashMap;
import java.util.Map;

import org.apache.accumulo.minicluster.MiniAccumuloCluster;
import org.apache.accumulo.minicluster.MiniAccumuloConfig;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hdfs.MiniDFSCluster;

public class MiniRunner {
  public static void main(String[] args) throws Exception {
    MiniDFSCluster dfscluster = new MiniDFSCluster.Builder(new Configuration()).build();
    //System.out.println(dfscluster.getURI());
    
    MiniAccumuloConfig macConfig = new MiniAccumuloConfig(new File(args[0]), "secret");
    Map<String, String> site = new HashMap<String, String>();
    // instance.volumes was not working, and the following does not seem to work either
    site.put("instance.dfs.uri", dfscluster.getURI().toString());
    macConfig.setSiteConfig(site);
    
    System.out.println(site);

{'fraction_non_alphanumeric': 0.1170973062122045, 'fraction_numerical': 0.0010995052226498076, 'mean_word_length': 5.190476190476191, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6185951', 'n_tokens_mistral': 560, 'n_tokens_neox': 565, 'n_words': 120}