fix job type for hadoop 2 and yarn
fix hdfs viewer for hadoop 2 and yarn