Package org.apache.hadoop.mapred

Examples of org.apache.hadoop.mapred.Pool


   * Tests that no Pool object can be created with a null string.
   */
  @Test
  public void testPoolNameNotNull() {
    try {
      Pool pool = new Pool(null, null);
      fail("Pool object got created with a null name somehow.");
    } catch (IllegalArgumentException e) {
      // Pass
    } catch (Exception e) {
      fail("Pool object got created with a null name and failed only later.");
View Full Code Here

TOP

Related Classes of org.apache.hadoop.mapred.Pool

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.