You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2020/03/03 00:23:53 UTC

[impala] 02/02: IMPALA-9444: Fix URL for postgresql jar download

This is an automated email from the ASF dual-hosted git repository.

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 8357f61886fe53fe9800df281099ae487b32f3a5
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Mon Mar 2 10:54:46 2020 -0800

    IMPALA-9444: Fix URL for postgresql jar download
    
    The current URL uses http://central.maven.org, which has been
    decommissioned as part of the transition to HTTPS. See:
    https://central.sonatype.org/articles/2019/Jul/15/central-http-deprecation-update/
    https://central.sonatype.org/articles/2020/Jan/15/501-https-required-error/
    This switches the URL to use https://repo.maven.apache.org/.
    
    Testing:
     - Removed postgresql jar, ran bin/create-test-configuration.sh,
       verified that it downloaded the jar.
    
    Change-Id: I7ee9a1ce77bc3f8c6b3f728633cafe4eb37e669d
    Reviewed-on: http://gerrit.cloudera.org:8080/15337
    Reviewed-by: Joe McDonnell <jo...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 bin/create-test-configuration.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/create-test-configuration.sh b/bin/create-test-configuration.sh
index 6b012f7..1574e59 100755
--- a/bin/create-test-configuration.sh
+++ b/bin/create-test-configuration.sh
@@ -243,7 +243,7 @@ if [[ -f "${POSTGRES_JDBC_DRIVER}" ]]; then
   cp -f "${POSTGRES_JDBC_DRIVER}" "${RANGER_SERVER_LIB_DIR}"
 else
   # IMPALA-8261: Running this script should not fail when FE has not been built.
-  MAVEN_URL="http://central.maven.org/maven2/org/postgresql/postgresql"
+  MAVEN_URL="https://repo.maven.apache.org/maven2/org/postgresql/postgresql"
   JDBC_JAR="postgresql-${IMPALA_POSTGRES_JDBC_DRIVER_VERSION}.jar"
   wget -P "${RANGER_SERVER_LIB_DIR}" \
     "${MAVEN_URL}/${IMPALA_POSTGRES_JDBC_DRIVER_VERSION}/${JDBC_JAR}"