int bucketSize = Integer.parseInt(args[5]); // histogram bucket size
if (!parsedPigScript.aliases().contains(alias)) throw new IllegalArgumentException("No such alias.");
Map<String, ClassWithArgs> monitorClasses = new HashMap<String, ClassWithArgs>();
monitorClasses.put(alias, new ClassWithArgs(DHMonitorAgent.class, fieldNo, min, max, bucketSize));
TreeMap<Integer, Integer> histogram = (TreeMap<Integer, Integer>) parsedPigScript.trace(DHCoordinator.class, monitorClasses);
System.out.println("Histogram: " + histogram);
}