This would only be a workaround, rather than a fix, but I guess you could try setting checksumPolicy for the MapR repository to "warn" in the root pom file?

      <id>mapr-releases</id>
      <url>https://repository.mapr.com/maven/</url>
      <releases>
        <enabled>true</enabled>
        <checksumPolicy>fail</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>


On 2024/05/24 17:01, Charles Givre wrote:
No go unfortunately.  I deleted the mapr cache in my ~/.m2 directory.  Same error.  I’m using maven version 3.9.6.

Any other suggestions?
Best,
— C


On May 23, 2024, at 11:53 PM, James Turton <dz...@apache.org> wrote:

Interesting. I didn't want to drop a feature from the stable branch so the MapR stuff is still in 1.21, while gone from master. To try to reproduce the problem I ran rm -rf ~/.local/share/m2/repository/com/mapr locally but could still build Drill, and the CI also didn't have any trouble[2].

I can see that the 107d... digest is returned in an HTTP ETag header for the mapr-release artifact by repository.mapr.com, but also that the digest 6cfb... is stored as mapr-release-6.1.0-mapr.pom.sha1 in the MapR repo[1]. I can only guess that your local build is comparing two incompatible digests for some reason so

  * did you build in an IDE that might have some Maven configuration
    of its own and
  * have you tried an equivalent of rm -rf
    ~/.local/share/m2/repository/com/mapr; mvn install -DskipTests?


1. https://repository.mapr.com/nexus/content/groups/mapr-public/com/mapr/mapr-release/6.1.0-mapr/
2. https://github.com/apache/drill/actions/runs/9132581568


On 2024/05/23 15:38, Charles Givre wrote:
Hi James,
Upon further research, it would seem that we already did this in DRILL-8454.  Was this included in RC1?
Best,
— C

2825.png
DRILL-8454: Disable unsupported MapR profile and plugin by jnturton · Pull Request #2825 · apache/drill <https://github.com/apache/drill/pull/2825>
github.com <https://github.com/apache/drill/pull/2825>

<https://github.com/apache/drill/pull/2825>



On May 23, 2024, at 9:23 AM, Charles Givre <cgi...@gmail.com> wrote:

Hi James,
I attempted to build RC1 from source and ran into an error:

[ERROR] Failed to execute goal on project drill-format-mapr: Could not resolve dependencies for project org.apache.drill.contrib:drill-format-mapr:jar:1.21.2: Failed to collect dependencies at com.mapr.hadoop:maprfs:jar:6.1.0-mapr: Failed to read artifact descriptor for com.mapr.hadoop:maprfs:jar:6.1.0-mapr: The following artifacts could not be resolved: com.mapr:mapr-release:pom:6.1.0-mapr (absent): Could not transfer artifact com.mapr:mapr-release:pom:6.1.0-mapr from/to mapr-releases (https://repository.mapr.com/maven/): Checksum validation failed, expected '107daa44a0b4a2c6dc1c28aa3546f288487def66' (REMOTE_INCLUDED) but is actually '6cfb3d48635ec74fcdf36c35c4bb945fd32cf3a8' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :drill-format-mapr

I don’t really know the cause of this, but I’m guessing that it can’t find some MapR dependency.  I think there’s a point where we might want to remove the MapR code from the contrib folder.  What do you think?

Best,
— C



On May 19, 2024, at 5:42 AM, James Turton <dz...@apache.org> wrote:

Tested

* web UI
* htpasswd authn
* JDBC over SSL
* JSON query
* Parquet query
* sys.version query
* PostgreSQL query.

Vote: +1.

On 2024/05/17 20:22, James Turton wrote:
Hi all

I'd like to propose the second release candidate (RC1) of Apache Drill, version 1.21.2.

The release candidate covers a total of 44 resolved Jira issues [1]. Thanks to everyone who contributed to this release.

The tarball artefacts are hosted at [2] and the Maven artefacts are hosted at [3].

This release candidate is based on 6b6a90fb6a03576d8d2b6a1858f72fb01b86d877 located at [4].

CI runs for the release candidate are viewable at [5].

[ ] +1
[ ] +0
[ ] -1

[1] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12313820&version=12353550
[2] https://dist.apache.org/repos/dist/dev/drill/1.21.2-rc1/
[3] https://repository.apache.org/content/repositories/orgapachedrill-1109/
[4] https://github.com/jnturton/drill/commits/drill-1.21.2
[5] https://github.com/apache/drill/actions/runs/9132581568




Reply via email to