[ 
https://issues.apache.org/jira/browse/CASSANDRA-19721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-19721:
-----------------------------------------
    Fix Version/s: 5.x
                       (was: 5.1)

> add jdk version and ant build date to nodetool: version
> -------------------------------------------------------
>
>                 Key: CASSANDRA-19721
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19721
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tool/nodetool
>            Reporter: Ling Mao
>            Assignee: Ling Mao
>            Priority: Normal
>             Fix For: 5.x
>
>
> 1. I have JDK 11, 17, and 21 installed locally, and it's sometimes 
> inconvenient to determine which one I'm currently using. Although I can use 
> the following approach:
>  
> {code:java}
> ➜ bin cat ../logs/system.log |grep "JDK"
> INFO [main] 2024-06-18 19:11:19,801 CassandraDaemon.java:612 - JVM 
> vendor/version: OpenJDK 64-Bit Server VM/11.0.23
>  
> ➜ bin jcmd pid VM.version
> 54566:
> OpenJDK 64-Bit Server VM version 11.0.23+9-LTS
> JDK 11.0.23
> {code}
>  
> 2. I often build the source code locally, and I need the "ant build time" to 
> confirm that this local cluster is using the tarball I built a few minutes 
> ago.
>  
> {code:java}
> The preview:
> ➜ bin ./nodetool version -v
> ReleaseVersion: 5.1-SNAPSHOT
> BuildDate: 2024-06-20 23:33:22 CST
> GitSHA: 8def5d1faafca7c18cf640e19c67e5c205eb9b44
> JVM vendor/version: OpenJDK 64-Bit Server VM/11.0.23
> {code}
>  
> 3. The git hash failed to add to ant MANIFEST.MF. and I fix it
>  
> {code:java}
> How to check it:
>  
> jar xvf apache-cassandra-5.1-SNAPSHOT.jar | grep META-INF/MANIFEST.MF\n
> cat META-INF/MANIFEST.MF
>  
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.10.14
> Created-By: 11.0.23+9-LTS (Amazon.com Inc.)
> Multi-Release: true
> Implementation-Title: Cassandra
> Implementation-Version: 5.1-SNAPSHOT
> Implementation-Vendor: Apache
> Implementation-Git-SHA: 8def5d1faafca7c18cf640e19c67e5c205eb9b44
> Implementation-Build-Date: 2024-06-20 23:33:22 CST
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to