Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-29820

Use GitHub Action Cache for `./.m2/repository`

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 2.4.5, 3.0.0
    • Component/s: Project Infra
    • Labels:
      None

      Description

      To reduce the Maven download flakiness, we had better enable caching on local maven repository.

      [ERROR] Failed to execute goal on project spark-streaming-kafka-0-10_2.12: Could not resolve dependencies for project org.apache.spark:spark-streaming-kafka-0-10_2.12:jar:spark-367716: Could not transfer artifact com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.10.0 from/to central (https://repo.maven.apache.org/maven2): Failed to transfer file https://repo.maven.apache.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.10.0/jackson-datatype-jdk8-2.10.0.jar with status code 503 -> [Help 1]
      13
      [ERROR] 
      14
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      15
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      16
      [ERROR] 
      17
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      18
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
      19
      [ERROR] 
      20
      [ERROR] After correcting the problems, you can resume the build with the command
      21
      [ERROR]   mvn <args> -rf :spark-streaming-kafka-0-10_2.12
      

        Attachments

          Activity

            People

            • Assignee:
              dongjoon Dongjoon Hyun
              Reporter:
              dongjoon Dongjoon Hyun
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: