Package org.apache.hadoop.mapred.MRSharedCaching

Examples of org.apache.hadoop.mapred.MRSharedCaching.TestResult


               "org.apache.hadoop.hdfs.ChecksumDistributedFileSystem");

      dfs = new MiniDFSCluster(conf, 1, true, null);
      fileSys = dfs.getFileSystem();
      mr = new MiniMRCluster(2, fileSys.getName(), 4);
      TestResult ret = MRSharedCaching.launchMRCache("/testing/wc/input",
                                        "/testing/wc/output",
                                        "/cachedir",
                                        mr.createJobConf(),
                                        "The quick brown fox\nhas many silly\n"
                                        + "red fox sox\n", false);
View Full Code Here

TOP

Related Classes of org.apache.hadoop.mapred.MRSharedCaching.TestResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.