ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [12/50] [abbrv] incubator-ignite git commit: #YARN Code cleanup.
Date Thu, 16 Jul 2015 08:49:10 GMT
#YARN Code cleanup.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/167f1afa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/167f1afa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/167f1afa

Branch: refs/heads/ignite-901
Commit: 167f1afa273f3863b358c3fda6601eeefaed9183
Parents: 808089e
Author: nikolay tikhonov <ntikhonov@gridgain.com>
Authored: Thu Jun 11 16:15:11 2015 +0300
Committer: nikolay tikhonov <ntikhonov@gridgain.com>
Committed: Thu Jun 11 16:15:11 2015 +0300

----------------------------------------------------------------------
 .../yarn/src/main/java/org/apache/ignite/yarn/IgniteProvider.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/167f1afa/modules/yarn/src/main/java/org/apache/ignite/yarn/IgniteProvider.java
----------------------------------------------------------------------
diff --git a/modules/yarn/src/main/java/org/apache/ignite/yarn/IgniteProvider.java b/modules/yarn/src/main/java/org/apache/ignite/yarn/IgniteProvider.java
index 1ac2974..253752d 100644
--- a/modules/yarn/src/main/java/org/apache/ignite/yarn/IgniteProvider.java
+++ b/modules/yarn/src/main/java/org/apache/ignite/yarn/IgniteProvider.java
@@ -90,10 +90,9 @@ public class IgniteProvider {
         if (latestVersion != null && newVersion.equals(latestVersion)) {
             if (hdfs)
                 return new Path(formatPath(props.igniteReleasesDir(), latestVersion));
-            else {
+            else
                 return IgniteYarnUtils.copyLocalToHdfs(fs, formatPath(props.igniteLocalWorkDir(),
latestVersion),
                     formatPath(props.igniteReleasesDir(), latestVersion));
-            }
         }
         else {
             latestVersion = newVersion;


Mime
View raw message