<commit_before>package ncku.hpds.hadoop.fedhdfs;

import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FSDataOutputStream;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hdfs.DFSClient;
import org.apache.hadoop.hdfs.DistributedFileSystem;

public class DynamicHdfsClientRellocater {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		
		//Configuration conf = new HdfsConfiguration();
		DistributedFileSystem cluster1 = new DistributedFileSystem();
		
		System.out.println(cluster1.getConf().toString());
		
	}
}<commit_msg>Try and Error.<commit_after>package ncku.hpds.hadoop.fedhdfs;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Vector;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.FsStatus;
import org.apache.hadoop.hdfs.DistributedFileSystem;
import org.apache.hadoop.util.StringUtils;
import org.w3c.dom.Element;

public class DynamicHdfsClientRellocater {

	public static void main(String[] args) throws Throwable {
		// TODO Auto-generated method stub
		String Alex = args[0];
		File XMfile = new File("etc/hadoop/fedhadoop-clusters.xml"); 
		TopcloudSelector top = new TopcloudSelector(XMfile, Alex);
		System.out.println("ANS :" + top.getTopCloud());
	}
}
{'fraction_non_alphanumeric': 0.11221507890122735, 'fraction_numerical': 0.0023378141437755697, 'mean_word_length': 5.364312267657993, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '5223395', 'n_tokens_mistral': 557, 'n_tokens_neox': 527, 'n_words': 107}