Skip to content

Commit

Permalink
PUB-111 and PUB-271: Print yarn logs command as part of stdout.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkraljevic committed Jun 2, 2014
1 parent 1b91b08 commit bac1df9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hadoop/src/main/java/water/hadoop/h2odriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,8 @@ private int run2(String[] args) throws Exception {
job.submit();
System.out.println("Job name '" + jobtrackerName + "' submitted");
System.out.println("JobTracker job ID is '" + job.getJobID() + "'");
String applicationID = job.getJobID().toString().replace("job_", "application_");
System.out.println("For YARN users, logs command is 'yarn logs -applicationId " + applicationID + "'");

// Register ctrl-c handler to try to clean up job when possible.
ctrlc = new CtrlCHandler();
Expand Down

0 comments on commit bac1df9

Please sign in to comment.