Package org.apache.hadoop.mapred

Examples of org.apache.hadoop.mapred.ExpireUnusedJobFiles.run()


    Thread.sleep(2*THRESHOLD);
    Pattern p = Pattern.compile("^(.+)\\/job_(\\d+)\\.(\\d+)_(\\d+)$");
    ExpireUnusedJobFiles expire = new ExpireUnusedJobFiles(new Clock(), conf,
      new Path(systemDir), p, THRESHOLD);
    expire.run();

    LOG.info("Check dirs under " + systemDir);
    // check if the dirs have been removed
    boolean result;
    for (int i = 0; i < 10; i++) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.