apache / hudi

Upserts, Deletes And Incremental Processing on Big Data.
https://hudi.apache.org/
Apache License 2.0
5.35k stars 2.42k forks source link

Failure to find org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde #160

Closed ajaychitre closed 3 years ago

ajaychitre commented 7 years ago

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:

    <repository>
        <id>spring-libs</id>
        <url>http://repo.spring.io/libs-milestone/</url>
    </repository>
vinothchandar commented 6 years ago

Hi are you stil hitting this issue? We were unable to repro this.

charleso commented 5 years ago

@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.

vinothchandar commented 5 years ago

@bvaradar as well. Did you hit this issue by any chance when you did the docker stuff? Should we just add the repository.

bvaradar commented 5 years ago

Not seeing this issue anymore. Please reopen if you still see the problem

fbraza commented 3 years ago

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

arun990 commented 3 years ago

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
kination commented 3 years ago

Also facing with this issue...is there any solution? (it was working well about 2 weeks ago...)

vinothchandar commented 3 years 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.

kination commented 3 years ago

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)

giridharmunagala commented 3 years ago

@vinothchandar Any solution if I deleted the m2 directory and no backup for it?

kination commented 3 years ago

@giridharmunagala Oh, sorry for confusion. Does not work though I've revert the backup m2 storage...

vinothchandar commented 3 years ago

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.

fbraza commented 3 years ago

Many thanks for your prompt feedback @vinothchandar. I stay tuned. Cheers.

vinothchandar commented 3 years ago

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

vinothchandar commented 3 years ago

lets see if #3034 passes integration tests. For now, it should resolve your build issue itself.

nsivabalan commented 3 years ago

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.

vinothchandar commented 3 years ago

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.

liujianuuei commented 5 months ago

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>