Flink log4j2 问题

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Flink log4j2 问题

guaishushu1103@163.com
SQL提交会出现这种问题???
Caused by: java.lang.IllegalArgumentException: Initial capacity must be at least one but was 0
    at org.apache.logging.log4j.util.SortedArrayStringMap.<init>(SortedArrayStringMap.java:102)
    at org.apache.logging.log4j.core.impl.ContextDataFactory.createContextData(ContextDataFactory.java:109)
    at org.apache.logging.log4j.core.impl.ContextDataFactory.<clinit>(ContextDataFactory.java:57)
    ... 29 more



[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Flink log4j2 问题

godfrey he
检查一下log4j2相关的版本,参考[1]

[1]
https://stackoverflow.com/questions/50970960/facing-issue-with-log4j2-java-lang-exceptionininitializererror

[hidden email] <[hidden email]> 于2020年8月24日周一 上午11:18写道:

> SQL提交会出现这种问题???
> Caused by: java.lang.IllegalArgumentException: Initial capacity must be at
> least one but was 0
>     at
> org.apache.logging.log4j.util.SortedArrayStringMap.<init>(SortedArrayStringMap.java:102)
>     at
> org.apache.logging.log4j.core.impl.ContextDataFactory.createContextData(ContextDataFactory.java:109)
>     at
> org.apache.logging.log4j.core.impl.ContextDataFactory.<clinit>(ContextDataFactory.java:57)
>     ... 29 more
>
>
>
> [hidden email]
>