Package org.apache.hadoop.mapred

Examples of org.apache.hadoop.mapred.StatusHttpServer.start()


      log.error("log.error1");
      assertTrue(!Level.ERROR.equals(log.getEffectiveLevel()));

      StatusHttpServer server = new StatusHttpServer("..",
          "localhost", 22222, true);
      server.start();
      int port = server.getPort();

      //servlet
      URL url = new URL("http://localhost:" + port
          + "/logLevel?log=" + logName + "&level=" + Level.ERROR);
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.