This is an automated email from the ASF dual-hosted git repository.
mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo-yarn.git
The following commit(s) were added to refs/heads/master by this push:
new 058d175 Update fluo-parent to version 3 (#10)
058d175 is described below
commit 058d17598e9d091c81ebd1eca9af2537f71eb0df
Author: Christopher Tubbs <[email protected]>
AuthorDate: Tue Dec 5 16:40:59 2017 -0500
Update fluo-parent to version 3 (#10)
* Update parent POM to fluo-parent version 3
* Apply formatter changes (usually would go in a separate commit, but
the changeset was small enough that it didn't matter here)
---
.../java/org/apache/fluo/yarn/core/FluoYarnLauncher.java | 15 +++++++--------
pom.xml | 2 +-
2 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/core/src/main/java/org/apache/fluo/yarn/core/FluoYarnLauncher.java
b/core/src/main/java/org/apache/fluo/yarn/core/FluoYarnLauncher.java
index 838bd13..e1b8887 100644
--- a/core/src/main/java/org/apache/fluo/yarn/core/FluoYarnLauncher.java
+++ b/core/src/main/java/org/apache/fluo/yarn/core/FluoYarnLauncher.java
@@ -62,8 +62,8 @@ public class FluoYarnLauncher {
.setInstances(env.getWorkerInstances()).build();
return TwillSpecification.Builder.with().setName("fluo-app-" +
env.getApplicationName())
- .withRunnable().add(ORACLE_ID, new BundledJarRunnable(),
oracleResources)
- .withLocalFiles().add(env.getBundledJarName(), new
File(env.getBundledJarPath()), false)
+ .withRunnable().add(ORACLE_ID, new BundledJarRunnable(),
oracleResources).withLocalFiles()
+ .add(env.getBundledJarName(), new File(env.getBundledJarPath()),
false)
.add(CONN_PROPS, new File(env.getConnPropsPath()), false)
.add(LOG4J_PROPS, new File(env.getLogPropsPath()), false).apply()
.add(WORKER_ID, new BundledJarRunnable(),
workerResources).withLocalFiles()
@@ -119,12 +119,11 @@ public class FluoYarnLauncher {
new YarnTwillRunnerService(env.getYarnConfiguration(),
env.getZookeepers());
twillRunner.start();
- TwillPreparer preparer =
- twillRunner.prepare(new FluoYarnApp(env))
- .addJVMOptions("-Dlog4j.configuration=file:$PWD/" + LOG4J_PROPS)
- .addJVMOptions(("-Dfluo.conn.props=" + CONN_PROPS))
- .withArguments(ORACLE_ID, oracleArgs.toArray())
- .withArguments(WORKER_ID, workerArgs.toArray());
+ TwillPreparer preparer = twillRunner.prepare(new FluoYarnApp(env))
+ .addJVMOptions("-Dlog4j.configuration=file:$PWD/" + LOG4J_PROPS)
+ .addJVMOptions(("-Dfluo.conn.props=" + CONN_PROPS))
+ .withArguments(ORACLE_ID, oracleArgs.toArray())
+ .withArguments(WORKER_ID, workerArgs.toArray());
TwillController controller = preparer.start();
diff --git a/pom.xml b/pom.xml
index 8d1df30..00cda0d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.apache.fluo</groupId>
<artifactId>fluo-parent</artifactId>
- <version>1-incubating</version>
+ <version>3</version>
</parent>
<artifactId>fluo-yarn-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].