Repository: incubator-twill
Updated Branches:
  refs/heads/master 1b6b42cae -> 94995e2af


Unnecessary new line for assignment.

Add close message to close obsolete PR.

This closes #60
This closes #80 on Github

Signed-off-by: Terence Yim <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-twill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-twill/commit/94995e2a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-twill/tree/94995e2a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-twill/diff/94995e2a

Branch: refs/heads/master
Commit: 94995e2af0a7a734c3dcbd31a78f330d048eda96
Parents: 1b6b42c
Author: Henry Saputra <[email protected]>
Authored: Fri May 6 11:13:17 2016 -0700
Committer: Terence Yim <[email protected]>
Committed: Tue May 17 10:51:26 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/twill/example/yarn/HelloWorld.java   | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/94995e2a/twill-examples/yarn/src/main/java/org/apache/twill/example/yarn/HelloWorld.java
----------------------------------------------------------------------
diff --git 
a/twill-examples/yarn/src/main/java/org/apache/twill/example/yarn/HelloWorld.java
 
b/twill-examples/yarn/src/main/java/org/apache/twill/example/yarn/HelloWorld.java
index ff1b83c..1a573da 100644
--- 
a/twill-examples/yarn/src/main/java/org/apache/twill/example/yarn/HelloWorld.java
+++ 
b/twill-examples/yarn/src/main/java/org/apache/twill/example/yarn/HelloWorld.java
@@ -65,9 +65,7 @@ public class HelloWorld {
 
     String zkStr = args[0];
     YarnConfiguration yarnConfiguration = new YarnConfiguration();
-    final TwillRunnerService twillRunner =
-      new YarnTwillRunnerService(
-        yarnConfiguration, zkStr);
+    final TwillRunnerService twillRunner = new 
YarnTwillRunnerService(yarnConfiguration, zkStr);
     twillRunner.start();
 
     String yarnClasspath =
@@ -75,8 +73,7 @@ public class HelloWorld {
                             
Joiner.on(",").join(YarnConfiguration.DEFAULT_YARN_APPLICATION_CLASSPATH));
     List<String> applicationClassPaths = Lists.newArrayList();
     Iterables.addAll(applicationClassPaths, 
Splitter.on(",").split(yarnClasspath));
-    final TwillController controller =
-      twillRunner.prepare(new HelloWorldRunnable())
+    final TwillController controller = twillRunner.prepare(new 
HelloWorldRunnable())
         .addLogHandler(new PrinterLogHandler(new PrintWriter(System.out, 
true)))
         .withApplicationClassPaths(applicationClassPaths)
         .withBundlerClassAcceptor(new HadoopClassExcluder())

Reply via email to