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

[Bug]: Unable to build Cassandra to Bigtable migration template on Mac and Linux #2057

Open
maheshgoyal15 opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something isn't working needs triage p2

Comments

@maheshgoyal15
Copy link

Related Template(s)

Cassandra_To_Cloud_Bigtable

Template Version

latest

What happened?

I am unable to build the latest template for Cassandra to Bigtable Migration.
It failed on both Mac M1 and Debian Linux with Java 11.

I am following steps on this readme https://github.com/GoogleCloudPlatform/DataflowTemplates/blob/91b5be3b344de3fe62f53776df259498f8b5d21e/v1/README_Cassandra_To_Cloud_Bigtable.md

//on debian
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
//on m1 mac
export JAVA_HOME=`/usr/libexec/java_home -v 11.0.23`

export PROJECT=project_name
export BUCKET_NAME=gs://bckname/cassandra-temp/

mvn clean package -PtemplatesStage  \
-DskipTests \
-DprojectId="$PROJECT" \
-DbucketName="$BUCKET_NAME" \
-DstagePrefix="templates" \
-DtemplateName="Cassandra_To_Cloud_Bigtable" \
-f v1

[ERROR] Failed to execute goal on project classic-templates: Could not collect dependencies for project com.google.cloud.teleport:classic-templates:jar:1.0-SNAPSHOT
[ERROR] Failed to read artifact descriptor for com.google.cloud.teleport:it-splunk:jar:1.0-SNAPSHOT
[ERROR] 	Caused by: The following artifacts could not be resolved: com.google.cloud.teleport:it-splunk:pom:1.0-SNAPSHOT (absent): Could not transfer artifact com.google.cloud.teleport:it-splunk:pom:1.0-SNAPSHOT from/to splunk-artifactory (https://splunk.jfrog.io/splunk/ext-releases-local): status code: 409, reason phrase:  (409)
[ERROR] 
[ERROR] -> [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
maheshgoyal-macbookpro3:DataflowTemplates maheshgoyal$ mvn clean package -PtemplatesStage  -DskipTests -DprojectId="$PROJECT" -DbucketName="$BUCKET_NAME" -DstagePrefix="templates" -DtemplateName="Cassandra_To_Cloud_Bigtable" -f v1
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx

Relevant log output

No response

@maheshgoyal15 maheshgoyal15 added bug Something isn't working needs triage p2 labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage p2
Projects
None yet
Development

No branches or pull requests

1 participant