[ 
https://issues.apache.org/jira/browse/HADOOP-18198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17526315#comment-17526315
 ] 

Ayush Saxena commented on HADOOP-18198:
---------------------------------------

mostly a network issue. [[email protected]] Are you able to download all the 
dependencies using mvn dependency:go-offline -Dmaven.repo.local=<somepath> 
without docker

If so try downloading them to a directory and we can have a patch like this to 
allow you to specify the maven repo path:
{noformat}
diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release
index 0ba55e7e957..35c06714ae1 100755
--- a/dev-support/bin/create-release
+++ b/dev-support/bin/create-release
@@ -293,6 +293,8 @@ function usage
   echo "--security              Emergency security release"
   echo "--sign                  Use .gnupg dir to sign the artifacts and jars"
   echo "--version=[version]     Use an alternative version string"
+  echo "--mvnrepopath=[path]    Mount path to maven repo path in docker"
+
 }
 
 function option_parse
@@ -347,6 +349,9 @@ function option_parse
       --version=*)
         HADOOP_VERSION=${i#*=}
       ;;
+      --mvnrepopath=*)
+        MVNREPOPATH=${i#*=}
+      ;;
     esac
   done
 
@@ -469,6 +474,9 @@ function dockermode
 
   if [[ "${DOCKERCACHE}" = true ]]; then
     modp+=("--mvncache=/maven")
+    if [ -n "${MVNREPOPATH}" ]; then
+      extrad+=("-v" "${MVNREPOPATH}:/maven")
+    fi
   else
     lines=$(hadoop_abs "${MVNCACHE}")
     extrad+=("-v" "${lines}:${lines}")

{noformat}
Then you may try once dev-support/bin/create-release --asfrelease --docker 
--dockercache --mvnrepopath=<samePath>

 

**Not sure if doing so can break some release guidelines though....

> Release Hadoop 3.3.3: hadoop-3.3.2 with some fixes
> --------------------------------------------------
>
>                 Key: HADOOP-18198
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18198
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: build
>    Affects Versions: 3.3.2
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Hadoop 3.3.3 is a minor followup release to Hadoop 3.3.2 with all the 
> incremental changes which went in to the 3.2.4 release
> * minor CVE fixes in Hadoop source
> * CVE fixes in dependencies we know of (protobuf unmarshalling leading to 
> DoS, jackson stack overflow,...)
> * replacement of log4j 1.2.17 to reload4j
> * node.js update
> This is not a release off branch-3.3, it is a fork of 3.3.2 with the changes.
> The next release of branch-3.3 will be numbered hadoop-3.3.4; updating maven 
> versions and JIRA fix versions is part of this release process.
> The changes here are already in branch 3.2.4; this completes the set
> CVEs fixed
> * CVE-2022-26612: Apache Hadoop: Arbitrary file write in 
> FileUtil#unpackEntries on Windows (HADOOP-18155)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to