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

Kevin Tibi resolved KAFKA-10372.
--------------------------------
    Resolution: Abandoned

error from ansible role which override script.

> [JAVA 11] Unrecognized VM option PrintGCDateStamps
> --------------------------------------------------
>
>                 Key: KAFKA-10372
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10372
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.6.0
>            Reporter: Kevin Tibi
>            Priority: Blocker
>              Labels: bug
>             Fix For: 2.6.1
>
>
> Hello,
> I can't start kafka with JAVA 11. 
>  
> {code:java}
> kafka-server-start.sh[2721]: Unrecognized VM option 'PrintGCDateStamps'
> kafka-server-start.sh[2721]: Error: Could not create the Java Virtual Machine.
> kafka-server-start.sh[2721]: Error: A fatal exception has occurred. Program 
> will exit.{code}
> This flag (in kafka-run-class.sh L302) is deprecated in JAVA 11.
> Solution :
> {code:java}
> -Xlog:::time,uptime,level,tags" # Equivalent to PrintGCTimeStamps, Uptime and 
> PrintGCDateStamps{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to