Package org.apache.hadoop.mapred.CoronaJTState

Examples of org.apache.hadoop.mapred.CoronaJTState.Fetcher


      parentClient = RPC.waitForProxy(
          InterCoronaJobTrackerProtocol.class,
          InterCoronaJobTrackerProtocol.versionID, parentAddr, conf,
          RemoteJTProxy.getRemotJTTimeout(conf));
      // Fetch saved state and prepare for application
      stateFetcher = new Fetcher(parentClient, jtAttemptId);
      // Remote JT should ask local for permission to commit
      commitPermissionClient = new CommitPermissionClient(attemptId,
          parentAddr, conf);
    } else {
      stateFetcher = new Fetcher();
      commitPermissionClient = new CommitPermissionClient();
    }
    // Start with dummy submitter until saved state is restored
    localJTSubmitter = new Submitter();
   
View Full Code Here


    this.maxEventsPerRpc = conf.getInt(TASK_COMPLETION_EVENTS_PER_RPC, 100);
    this.conf = conf;
    this.trackerStats = new TrackerStats(conf);
    this.parentAddr = null;
    this.fs = FileSystem.get(conf);
    this.stateFetcher = new Fetcher();
    this.localJTSubmitter = new Submitter();
    this.jtAttemptId = null;
    this.commitPermissionClient = new CommitPermissionClient();
   
    initializePJTClient();
View Full Code Here

TOP

Related Classes of org.apache.hadoop.mapred.CoronaJTState.Fetcher

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.