Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error bigtable/spark/build.sbt #8925

Open
girip-db opened this issue Dec 5, 2023 · 2 comments
Open

Build error bigtable/spark/build.sbt #8925

girip-db opened this issue Dec 5, 2023 · 2 comments
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. samples Issues that are directly related to samples. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@girip-db
Copy link

girip-db commented Dec 5, 2023

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

The issue you're having must be related to a file in this repository. We are unable to provide assistance for issues unrelated to samples in this repository.

Please include as much information as possible:

In which file did you encounter the issue?

bigtable/spark/build.sbt

Did you change the file? If so, how?

No

Describe the issue

sbt clean assembly fails to build the uber jar

[error] lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
[error] https://repo1.maven.org/maven2/org/apache/avro/avro-mapred/1.11.0/avro-mapred-1.11.0-hadoop2.jar: not found: https://repo1.maven.org/maven2/org/apache/avro/avro-mapred/1.11.0/avro-mapred-1.11.0-hadoop2.jar

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

@girip-db girip-db added priority: p2 Moderately-important priority. Fix may not be included in next release. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Dec 5, 2023
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Dec 5, 2023
@bourgeoisor
Copy link
Member

@jhambleton @vii long shot, but you're the last humans who've touched this sample.

Any idea what's happening here? I can reproduce on my end.

I tried looking through the dependency tree (sbt dependencyTree) to see where that 404 dependency was coming from, but I don't even see any instances of "avro-mapred". Not sure where to go from here.

@minherz
Copy link
Contributor

minherz commented Jan 17, 2024

It looks like build.sbt is heavily outdated. The current version of Dataproc is 2.2 making the setup of the script too old. Someone from @cloud-native-db-dpes, please have a look at this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. samples Issues that are directly related to samples. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

4 participants
@bourgeoisor @minherz @girip-db and others