public static void validateConfiguration()
	{
        int err = 0;
        if ((RUN_STATS == null) && (CONVERT_FA == null)) {
            if (hadoopBasePath == null) { err++; System.err.println("ERROR: -out is required"); }
            if (STARTSTAGE == null && hadoopReadPath == null) { err++; System.err.println("ERROR: -in is required"); }
        }
        if (err > 0) { System.exit(1); }
        if (!hadoopBasePath.endsWith("/")) { hadoopBasePath += "/"; }
		if (!localBasePath.endsWith("/"))  { localBasePath += "/"; }
        hadoopTmpPath = hadoopBasePath.substring(0, hadoopBasePath.length()-1) + ".tmp" + "/";
	}