Description
if (clusterType == MiniClusterType.tez) { if (!(shims instanceof Hadoop23Shims)) { throw new Exception("Cannot run tez on hadoop-1, Version: "+this.hadoopVer); } mr = ((Hadoop23Shims)shims).getMiniTezCluster(conf, 4, getHdfsUriString(fs.getUri().toString()), 1); } else { mr = shims.getMiniMrCluster(conf, 4, getHdfsUriString(fs.getUri().toString()), 1); }
Not important but a little annoying when the shims is not in classpath. And I think hadoop24shims or later might support tez.