sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject sqoop git commit: SQOOP-3364: Upgrade Gradle version to 4.9
Date Wed, 22 Aug 2018 14:31:18 GMT
Repository: sqoop
Updated Branches:
  refs/heads/trunk 005e5d6af -> f5eda1e20


SQOOP-3364: Upgrade Gradle version to 4.9

(Szabolcs Vasas)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/f5eda1e2
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/f5eda1e2
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/f5eda1e2

Branch: refs/heads/trunk
Commit: f5eda1e208fba9058c250dd1b142a97eb118ced9
Parents: 005e5d6
Author: Szabolcs Vasas <vasas@apache.org>
Authored: Wed Aug 22 16:29:31 2018 +0200
Committer: Szabolcs Vasas <vasas@apache.org>
Committed: Wed Aug 22 16:29:31 2018 +0200

----------------------------------------------------------------------
 build.gradle                                    |  10 +++++-----
 gradle/wrapper/gradle-wrapper.jar               | Bin 54333 -> 54413 bytes
 gradle/wrapper/gradle-wrapper.properties        |   2 +-
 settings.gradle                                 |   1 +
 .../org/apache/sqoop/hbase/HBaseTestCase.java   |   9 ++++++---
 5 files changed, 13 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/f5eda1e2/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 709172c..9a2b55c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -223,7 +223,7 @@ jacocoTestReport {
     reports {
         xml.enabled true
         csv.enabled false
-        html.destination "$buildDir/jacocoHtml/test"
+        html.destination file("$buildDir/jacocoHtml/test")
     }
 }
 
@@ -234,7 +234,7 @@ task jacocoThirdPartyReport(type: JacocoReport){
     reports {
         xml.enabled true
         csv.enabled false
-        html.destination "$buildDir/jacocoHtml/3rd"
+        html.destination file("$buildDir/jacocoHtml/3rd")
     }
 }
 
@@ -245,7 +245,7 @@ task jacocoCompositeReport(type: JacocoReport){
     reports {
         xml.enabled true
         csv.enabled false
-        html.destination "$buildDir/jacocoHtml/"
+        html.destination file("$buildDir/jacocoHtml/")
     }
 }
 
@@ -401,6 +401,6 @@ publishing {
     }
 }
 
-task wrapper(type: Wrapper) {
-    gradleVersion = '3.5.1'
+wrapper {
+    gradleVersion = '4.9'
 }

http://git-wip-us.apache.org/repos/asf/sqoop/blob/f5eda1e2/gradle/wrapper/gradle-wrapper.jar
----------------------------------------------------------------------
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
index 99340b4..0d4a951 100644
Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ

http://git-wip-us.apache.org/repos/asf/sqoop/blob/f5eda1e2/gradle/wrapper/gradle-wrapper.properties
----------------------------------------------------------------------
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 90a06ce..a95009c 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-bin.zip

http://git-wip-us.apache.org/repos/asf/sqoop/blob/f5eda1e2/settings.gradle
----------------------------------------------------------------------
diff --git a/settings.gradle b/settings.gradle
index 7d64af5..4656b1a 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -16,3 +16,4 @@
  * limitations under the License.
  */
 rootProject.name ='Sqoop'
+enableFeaturePreview('STABLE_PUBLISHING')

http://git-wip-us.apache.org/repos/asf/sqoop/blob/f5eda1e2/src/test/org/apache/sqoop/hbase/HBaseTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/org/apache/sqoop/hbase/HBaseTestCase.java b/src/test/org/apache/sqoop/hbase/HBaseTestCase.java
index 87fce34..94b71b6 100644
--- a/src/test/org/apache/sqoop/hbase/HBaseTestCase.java
+++ b/src/test/org/apache/sqoop/hbase/HBaseTestCase.java
@@ -19,6 +19,7 @@
 package org.apache.sqoop.hbase;
 
 import static org.apache.hadoop.hbase.HConstants.MASTER_INFO_PORT;
+import static org.apache.hadoop.hbase.HConstants.REGIONSERVER_INFO_PORT;
 import static org.apache.hadoop.hbase.HConstants.ZOOKEEPER_CLIENT_PORT;
 import static org.apache.hadoop.hbase.coprocessor.CoprocessorHost.REGION_COPROCESSOR_CONF_KEY;
 import static org.apache.hadoop.hbase.security.HBaseKerberosUtils.KRB_PRINCIPAL;
@@ -77,7 +78,7 @@ public abstract class HBaseTestCase extends ImportJobTestCase {
 
   public static final Log LOG = LogFactory.getLog(
       HBaseTestCase.class.getName());
-  private static final String MASTER_INFO_PORT_DISABLE_WEB_UI = "-1";
+  private static final String INFO_PORT_DISABLE_WEB_UI = "-1";
   private static final String DEFAULT_DFS_HTTPS_ADDRESS = "localhost:0";
 
   private final KerberosConfigurationProvider kerberosConfigurationProvider;
@@ -177,8 +178,10 @@ public abstract class HBaseTestCase extends ImportJobTestCase {
   public void setUp() {
     try {
       hbaseTestUtil = new HBaseTestingUtility();
-      // We set the port for the hbase master web UI to -1 because we do not want the info
server to run.
-      hbaseTestUtil.getConfiguration().set(MASTER_INFO_PORT, MASTER_INFO_PORT_DISABLE_WEB_UI);
+      // We set the port for the hbase master and regionserver web UI to -1 because we do
not want the info server to run.
+      hbaseTestUtil.getConfiguration().set(MASTER_INFO_PORT, INFO_PORT_DISABLE_WEB_UI);
+      hbaseTestUtil.getConfiguration().set(REGIONSERVER_INFO_PORT, INFO_PORT_DISABLE_WEB_UI);
+
       setupKerberos();
 
       hbaseTestUtil.startMiniCluster();


Mime
View raw message