> On Oct. 5, 2015, 9:15 p.m., Purshotam Shah wrote: > > core/src/main/java/org/apache/oozie/action/hadoop/OozieJobInfo.java, line > > 106 > > <https://reviews.apache.org/r/38088/diff/8/?file=1088413#file1088413line106> > > > > Why are you adding CONSOLE_URL? I don't see any use of adding static > > CONSOLE_URL for each job. > > Akshay Rai wrote: > Firstly, schedulers like azkaban inject the completet url of the job into > the conf. > > For a job scheduled on oozie it is not possible to get the link to the > job unless we know the console url. > > In the oozie-default.xml file there is a property > 'oozie.JobCommand.job.console.url' which holds the base console url for a > worklfow job but this isn't injected into the job conf.
Your console URL will look like "http://host:port/proxy/application_1444287091929_370807/". >From job conf you can get "mapreduce.jobtracker.address" and and construct >console url. We will be setting ooozie job info to job conf. Don't u think that it will be duplicate entry. I am just try to avoid duplicate entries ( if we can compute it somwhow). - Purshotam ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/38088/#review101532 ----------------------------------------------------------- On Oct. 19, 2015, 6:50 a.m., Akshay Rai wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/38088/ > ----------------------------------------------------------- > > (Updated Oct. 19, 2015, 6:50 a.m.) > > > Review request for oozie, Purshotam Shah and Robert Kanter. > > > Bugs: OOZIE-2346 > https://issues.apache.org/jira/browse/OOZIE-2346 > > > Repository: oozie-git > > > Description > ------- > > Add super parent id and workflow depth information along with the other oozie > job information into the job conf. > > > Diffs > ----- > > client/src/main/java/org/apache/oozie/client/WorkflowJob.java e2ad6f2 > core/src/main/java/org/apache/oozie/WorkflowJobBean.java ef1f452 > core/src/main/java/org/apache/oozie/action/hadoop/OozieJobInfo.java 4b13daa > > core/src/main/java/org/apache/oozie/action/oozie/SubWorkflowActionExecutor.java > 854d621 > > core/src/main/java/org/apache/oozie/command/coord/CoordActionStartXCommand.java > 98f356e > core/src/test/java/org/apache/oozie/action/hadoop/TestOozieJobInfo.java > ceaef8b > > Diff: https://reviews.apache.org/r/38088/diff/ > > > Testing > ------- > > Tested locally by running a subworkflow with and without a coordinator. > > > Thanks, > > Akshay Rai > >
