Closed ajaychitre closed 3 years ago
Hi are you stil hitting this issue? We were unable to repro this.
@vinothchandar Sorry to be a pain, I just hit this too on a clean clone/build too. I can't see that jar in either of the two configured repositories.
@bvaradar as well. Did you hit this issue by any chance when you did the docker stuff? Should we just add the repository.
Not seeing this issue anymore. Please reopen if you still see the problem
Hello everyone,
I am hitting the same error while trying to build Apache Hudi as described in the github REAMDE.md
:
[ERROR] Failed to execute goal on project hudi-hadoop-mr: Could not resolve dependencies for project org.apache.hudi:hudi-hadoop-mr:jar:0.9.0-SNAPSHOT: Failure to find org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of Maven Central has elapsed or updates are forced -> [Help 1]
I tried what @ajaychitre did but without any success. Many thanks for your feedback
Hi, is this issue resolved. Even after cloning the https://github.com/vinothchandar/hudi/tree/remove-spring-deps adn attemp to mvn build, getting the same error. Please help.
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hudi-hadoop-mr: Could not resolve dependencies for project org.apache.hudi
:hudi-hadoop-mr:jar:0.9.0-SNAPSHOT: Failed to collect dependencies at org.apache.hive:hive-exec:jar:core:2.3.1 -> or
g.apache.calcite:calcite-core:jar:1.10.0 -> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde: Failed to rea
d artifact descriptor for org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde: Could not transfer artifact org
.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde from/to maven-default-http-blocker (http://0.0.0.0/): Blocked
mirror for repositories: [datanucleus (http://www.datanucleus.org/downloads/maven2, default, releases), glassfish-r
epository (http://maven.glassfish.org/content/groups/glassfish, default, disabled), glassfish-repo-archive (http://m
aven.glassfish.org/content/groups/glassfish, default, disabled), apache.snapshots (http://repository.apache.org/snap
shots, default, snapshots), central (http://repo.maven.apache.org/maven2, default, releases), conjars (http://conjar
s.org/repo, default, releases+snapshots)] -> [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 :hudi-hadoop-mr
Also facing with this issue...is there any solution? (it was working well about 2 weeks ago...)
reopening this. @n3nash could you please try and repro this? If the jar is already cached in local .m2, it won't repro. So we need to manually delete that or force update/fetch.
Yes, as @vinothchandar commented, it started to happen after I've removed .m2/
directory.
(I had back-up of this folder, and it worked well again after I reverted this)
@vinothchandar Any solution if I deleted the m2 directory and no backup for it?
@giridharmunagala Oh, sorry for confusion. Does not work though I've revert the backup m2
storage...
Looks like this was being fetched out of the spring repo. and we removed the spring repository recently(#2481 to fix #2479), since it was retired.
So now the issue is maven central does not have this jar. https://mvnrepository.com/artifact/org.pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde
Trying a few things. Will update here.
Many thanks for your prompt feedback @vinothchandar. I stay tuned. Cheers.
So this artifact is accessible from none of the repositories anymore. Good grief. :) Trying to exclude it from the build, none of the code actually uses it. its a third level transitive dependency
lets see if #3034 passes integration tests. For now, it should resolve your build issue itself.
I ran into this just now. I got a new laptop and tried hudi for first time in clean slate and ran into the exact issue.
That patch seems to work. I ll land, once the next round of tests pass.
@nsivabalan yes. as I memtioned, that artifact is not served by maven central amymore (for whatever reason). so new installs will see this.
For Chinese developers,
Added following repository in the root pom.xml to fix it - works at 2024-04-30:
<repository>
<id>huawei-maven</id>
<url>https://repo.huaweicloud.com/repository/maven/huaweicloudsdk/</url>
</repository>
Got latest code from master branch. Was getting error message given below:
Failure to find org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde in https://repository.cloudera.com/artifactory/repo/
Added following repository in the root pom.xml to fix it: