[
https://issues.apache.org/jira/browse/STORM-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17515788#comment-17515788
]
Sudarshan Suresh commented on STORM-3816:
-----------------------------------------
>From Java 11 onwards, Few of Garbage Collection Logging Flags are deprecated
>and we are supposed to use JVM universal loggings.
For more details , Please refer to this link.
[https://docs.oracle.com/javase/9/tools/java.htm#JSWOR-GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5]
.
Following keywords are
||Legacy Garbage Collection (GC) Flag||Xlog Configuration||Comment||
|NumberOfGCLogFiles|Not Applicable|Log rotation is handled by the framework.|
|PrintGCCause|Not Applicable|GC cause is now always logged.|
|PrintGCID|Not Applicable|Date stamps are logged by the framework.|
|PrintGCTimeStamps|Not Applicable|Time stamps are logged by the framework.|
|UseGCLogFileRotation|Not Applicable|What was logged for
{{{}PrintTenuringDistribution{}}}.|
| | | |
> Unrecognized VM option 'PrintGCDateStamps'
> ------------------------------------------
>
> Key: STORM-3816
> URL: https://issues.apache.org/jira/browse/STORM-3816
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 2.3.0
> Reporter: Max Schmidt
> Priority: Blocker
>
> When starting storm using the official docker images
> [https://hub.docker.com/_/storm] following the listed example, then deploying
> a topology - the worker does not come up (logs inside of the supervisor):
> {code:java}
> 2022-01-10 14:24:14.803 STDERR Thread-0 [INFO] Unrecognized VM option
> 'PrintGCDateStamps'
> 2022-01-10 14:24:14.803 STDERR Thread-1 [INFO] [0.001s][warning][gc] -Xloggc
> is deprecated. Will use -Xlog:gc:artifacts/gc.log instead.
> 2022-01-10 14:24:14.811 STDERR Thread-0 [INFO] Error: Could not create the
> Java Virtual Machine.
> 2022-01-10 14:24:14.811 STDERR Thread-0 [INFO] Error: A fatal exception has
> occurred. Program will exit. {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)