Skip to content

Commit

Permalink
Fix for mapred.job.priority, using oozie.launcher suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
shaikidris committed Oct 1, 2012
1 parent d9834c6 commit 60b6df1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<value>${wf:conf('mapred.job.queue.name')}</value>
</property>
<property>
<name>mapred.job.priority</name>
<name>oozie.launcher.mapred.job.priority</name>
<value>${wf:conf('mapred.job.priority')}</value>
</property>
</configuration>
Expand All @@ -58,7 +58,7 @@
<value>${wf:conf('mapred.job.queue.name')}</value>
</property>
<property>
<name>mapred.job.priority</name>
<name>oozie.launcher.mapred.job.priority</name>
<value>${wf:conf('mapred.job.priority')}</value>
</property>
</configuration>
Expand Down Expand Up @@ -86,7 +86,7 @@
<value>${wf:conf('mapred.job.queue.name')}</value>
</property>
<property>
<name>mapred.job.priority</name>
<name>oozie.launcher.mapred.job.priority</name>
<value>${wf:conf('mapred.job.priority')}</value>
</property>
</configuration>
Expand Down Expand Up @@ -132,7 +132,7 @@
<value>${wf:conf('mapred.job.queue.name')}</value>
</property>
<property>
<name>mapred.job.priority</name>
<name>oozie.launcher.mapred.job.priority</name>
<value>${wf:conf('mapred.job.priority')}</value>
</property>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<value>${wf:conf('mapred.job.queue.name')}</value>
</property>
<property>
<name>mapred.job.priority</name>
<name>oozie.launcher.mapred.job.priority</name>
<value>${wf:conf('mapred.job.priority')}</value>
</property>
</configuration>
Expand All @@ -53,7 +53,7 @@
<value>${wf:conf('mapred.job.queue.name')}</value>
</property>
<property>
<name>mapred.job.priority</name>
<name>oozie.launcher.mapred.job.priority</name>
<value>${wf:conf('mapred.job.priority')}</value>
</property>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ public void setup() throws Exception {
"-" + Arg.WF_ENGINE_URL.getOptionName(),
"http://localhost:11000/oozie/",
"-" + Arg.LOG_DIR.getOptionName(), "target/log",
"-" + Arg.USER_SUBFLOW_ID.getOptionName(), "userflow@wf-id" };
"-" + Arg.USER_SUBFLOW_ID.getOptionName(), "userflow@wf-id"+"test" };
broker = new BrokerService();
broker.setDataDirectory("target/activemq");
broker.addConnector(BROKER_URL);
broker.setDataDirectory("target/activemq");
broker.setBrokerName("localhost");
broker.start();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<value>${wf:conf('mapred.job.queue.name')}</value>
</property>
<property>
<name>mapred.job.priority</name>
<name>oozie.launcher.mapred.job.priority</name>
<value>${wf:conf('mapred.job.priority')}</value>
</property>
</configuration>
Expand Down Expand Up @@ -68,7 +68,7 @@
<value>${wf:conf('mapred.job.queue.name')}</value>
</property>
<property>
<name>mapred.job.priority</name>
<name>oozie.launcher.mapred.job.priority</name>
<value>${wf:conf('mapred.job.priority')}</value>
</property>
</configuration>
Expand Down Expand Up @@ -114,7 +114,7 @@
<value>${wf:conf('mapred.job.queue.name')}</value>
</property>
<property>
<name>mapred.job.priority</name>
<name>oozie.launcher.mapred.job.priority</name>
<value>${wf:conf('mapred.job.priority')}</value>
</property>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class AbstractTestBase {
protected static final String PROCESS_TEMPLATE = "/process-template.xml";

protected static final String BASE_URL = "http://localhost:15000/";
protected static final String REMOTE_USER="guest";
protected static final String REMOTE_USER=System.getProperty("user.name");

protected EmbeddedServer server;

Expand Down

0 comments on commit 60b6df1

Please sign in to comment.