[
https://issues.apache.org/jira/browse/CASSSIDECAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yifan Cai updated CASSSIDECAR-120:
----------------------------------
Description:
EDIT (02/03/2023) for posterity:
{quote}This should be fixed in
https://issues.apache.org/jira/browse/CASSSIDECAR-122 but I'd like to add some
testing about what's required during distribution packaging
{quote}
The Gradle application plugin is used in the project meaning we should be able
to do distZip, distTar, and installDist. We can run them, but the artifacts
generated fail to start, throwing errors about jolokia:
{noformat}
build/install/cassandra-sidecar on trunk on
❯ bin/cassandra-sidecar
Error opening zip file or JAR manifest missing :
/Users/jhaddad/dev/cassandra-sidecar/build/install/cassandra-sidecar/agents/jolokia-jvm-1.6.0-agent.jar
Error occurred during initialization of VM
agent library failed to init: instrument{noformat}
The jolokia jar is not present at all on the filesystem either:
{noformat}
❯ find . -name '*jolokia*'{noformat}
It's hard to tell what the intention is here, there's no documentation around
building the project or how to deploy it aside from using {{./gradlew run}}
which is not appropriate for production.
was:
The Gradle application plugin is used in the project meaning we should be able
to do distZip, distTar, and installDist. We can run them, but the artifacts
generated fail to start, throwing errors about jolokia:
{noformat}
build/install/cassandra-sidecar on trunk on
❯ bin/cassandra-sidecar
Error opening zip file or JAR manifest missing :
/Users/jhaddad/dev/cassandra-sidecar/build/install/cassandra-sidecar/agents/jolokia-jvm-1.6.0-agent.jar
Error occurred during initialization of VM
agent library failed to init: instrument{noformat}
The jolokia jar is not present at all on the filesystem either:
{noformat}
❯ find . -name '*jolokia*'{noformat}
It's hard to tell what the intention is here, there's no documentation around
building the project or how to deploy it aside from using {{./gradlew run}}
which is not appropriate for production.
> Improve packaging by properly supporting application plugin
> -----------------------------------------------------------
>
> Key: CASSSIDECAR-120
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-120
> Project: Sidecar for Apache Cassandra
> Issue Type: Bug
> Components: Configuration
> Reporter: Jon Haddad
> Assignee: Francisco Guerrero
> Priority: Normal
> Fix For: 1.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> EDIT (02/03/2023) for posterity:
> {quote}This should be fixed in
> https://issues.apache.org/jira/browse/CASSSIDECAR-122 but I'd like to add
> some testing about what's required during distribution packaging
> {quote}
>
> The Gradle application plugin is used in the project meaning we should be
> able to do distZip, distTar, and installDist. We can run them, but the
> artifacts generated fail to start, throwing errors about jolokia:
> {noformat}
> build/install/cassandra-sidecar on trunk on
> ❯ bin/cassandra-sidecar
> Error opening zip file or JAR manifest missing :
> /Users/jhaddad/dev/cassandra-sidecar/build/install/cassandra-sidecar/agents/jolokia-jvm-1.6.0-agent.jar
> Error occurred during initialization of VM
> agent library failed to init: instrument{noformat}
> The jolokia jar is not present at all on the filesystem either:
> {noformat}
> ❯ find . -name '*jolokia*'{noformat}
> It's hard to tell what the intention is here, there's no documentation around
> building the project or how to deploy it aside from using {{./gradlew run}}
> which is not appropriate for production.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]