ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] shroman commented on a change in pull request #6599: IGNITE-9409 Use current version, modern URL for Ignite download.
Date Mon, 10 Jun 2019 04:30:40 GMT
shroman commented on a change in pull request #6599: IGNITE-9409 Use current version, modern
URL for Ignite download.
URL: https://github.com/apache/ignite/pull/6599#discussion_r291862423
 
 

 ##########
 File path: modules/yarn/src/main/java/org/apache/ignite/yarn/IgniteProvider.java
 ##########
 @@ -21,33 +21,29 @@
 import java.io.FileNotFoundException;
 import java.io.FileOutputStream;
 import java.io.IOException;
+import java.io.InputStream;
 import java.net.HttpURLConnection;
 import java.net.URL;
 import java.nio.channels.Channels;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.List;
+import java.util.Properties;
+import java.util.logging.Logger;
 import org.apache.hadoop.fs.FileStatus;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
 import org.apache.ignite.yarn.utils.IgniteYarnUtils;
 
 /**
- * Downloads and stores Ignite.
+ * Downloads and stores Ignite release.
  */
 public class IgniteProvider {
     /** */
-    public static final String DOWNLOAD_LINK = "http://tiny.cc/updater/download_community.php";
+    public static final Logger log = Logger.getLogger(IgniteProvider.class.getSimpleName());
 
     /** */
-    private ClusterProperties props;
-
-    /** */
-    private String latestVersion = null;
+    public static final String DOWNLOAD_LINK = "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=/ignite/";
 
 Review comment:
   seems slash before `ignite` is not needed
   "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=ignite/"

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message