/** * Get the plan request result. */ public PlanRequestResult planRequest(String hostname, int port, Request request) throws IOException, RecordServiceException { try { client_.connect(hostname, port); return client_.planRequest(request); } finally { client_.close(); } }
planner = PlanUtil.getPlanner( jobConf, builder, plannerHostPorts, kerberosPrincipal, credentials); result = planner.planRequest(request); if (planner.isKerberosAuthenticated()) {