org.apache.hadoop.mapreduce.v2.app.webapp.App Java Examples

The following examples show how to use org.apache.hadoop.mapreduce.v2.app.webapp.App. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AppInfo.java    From hadoop with Apache License 2.0 5 votes vote down vote up
public AppInfo(App app, AppContext context) {
  this.appId = context.getApplicationID().toString();
  this.name = context.getApplicationName().toString();
  this.user = context.getUser().toString();
  this.startedOn = context.getStartTime();
  this.elapsedTime = Times.elapsed(this.startedOn, 0);
}
 
Example #2
Source File: AppInfo.java    From big-c with Apache License 2.0 5 votes vote down vote up
public AppInfo(App app, AppContext context) {
  this.appId = context.getApplicationID().toString();
  this.name = context.getApplicationName().toString();
  this.user = context.getUser().toString();
  this.startedOn = context.getStartTime();
  this.elapsedTime = Times.elapsed(this.startedOn, 0);
}
 
Example #3
Source File: TestBlocks.java    From big-c with Apache License 2.0 4 votes vote down vote up
public HsTasksBlockForTest(App app) {
  super(app);
}
 
Example #4
Source File: HsController.java    From XLearning with Apache License 2.0 4 votes vote down vote up
@Inject
HsController(App app, Configuration conf, RequestContext ctx) {
  super(ctx);
  this.app = app;
  this.conf = conf;
}
 
Example #5
Source File: TestBlocks.java    From big-c with Apache License 2.0 4 votes vote down vote up
public AttemptsBlockForTest(App ctx) {
  super(ctx);
}
 
Example #6
Source File: TestBlocks.java    From big-c with Apache License 2.0 4 votes vote down vote up
HsControllerForTest(App app, Configuration configuration, RequestContext ctx) {
  super(app, configuration, ctx);
}
 
Example #7
Source File: HsController.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Inject HsController(App app, Configuration conf, RequestContext ctx) {
  super(app, conf, ctx, "History");
}
 
Example #8
Source File: HsAttemptsPage.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Inject
FewAttemptsBlock(App ctx) {
  super(ctx);
}
 
Example #9
Source File: HsTasksBlock.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Inject HsTasksBlock(App app) {
  this.app = app;
}
 
Example #10
Source File: HsTaskPage.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Inject
AttemptsBlock(App ctx) {
  app = ctx;
}
 
Example #11
Source File: TestBlocks.java    From hadoop with Apache License 2.0 4 votes vote down vote up
public HsTasksBlockForTest(App app) {
  super(app);
}
 
Example #12
Source File: TestBlocks.java    From hadoop with Apache License 2.0 4 votes vote down vote up
public AttemptsBlockForTest(App ctx) {
  super(ctx);
}
 
Example #13
Source File: TestBlocks.java    From hadoop with Apache License 2.0 4 votes vote down vote up
HsControllerForTest(App app, Configuration configuration, RequestContext ctx) {
  super(app, configuration, ctx);
}
 
Example #14
Source File: HsController.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Inject HsController(App app, Configuration conf, RequestContext ctx) {
  super(app, conf, ctx, "History");
}
 
Example #15
Source File: HsAttemptsPage.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Inject
FewAttemptsBlock(App ctx) {
  super(ctx);
}
 
Example #16
Source File: HsTasksBlock.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Inject HsTasksBlock(App app) {
  this.app = app;
}
 
Example #17
Source File: HsTaskPage.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Inject
AttemptsBlock(App ctx) {
  app = ctx;
}
 
Example #18
Source File: HsNavBlock.java    From big-c with Apache License 2.0 votes vote down vote up
@Inject HsNavBlock(App app) { this.app = app; } 
Example #19
Source File: HsNavBlock.java    From hadoop with Apache License 2.0 votes vote down vote up
@Inject HsNavBlock(App app) { this.app = app; }