You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "moonService (via GitHub)" <gi...@apache.org> on 2023/06/27 06:59:22 UTC

[GitHub] [incubator-streampark] moonService opened a new issue, #2814: 版本1.2.3 运行flinksql时日志级别设置没有生效,一直打印akka的debug日志

moonService opened a new issue, #2814:
URL: https://github.com/apache/incubator-streampark/issues/2814

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### Java Version
   
   jdk1.8.0_211-amd64
   
   ### Scala Version
   
   2.11.x
   
   ### StreamPark Version
   
   1.2.3
   
   ### Flink Version
   
   1.13.2
   
   ### deploy mode
   
   yarn-application
   
   ### What happened
   
   启动日志如下:
   `11:06:31.365 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -  Starting YarnApplicationClusterEntryPoint (Version: 1.13.2, Scala: 2.11, Rev:5f007ff, Date:2021-07-23T04:35:55+02:00)
   11:06:31.365 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -  OS current user: yarn
   11:06:31.598 [main] DEBUG org.apache.hadoop.security.authentication.util.KerberosName - Kerberos krb5 configuration not found, setting default realm to empty
   11:06:31.656 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -  Current Hadoop/Kerberos user: root
   11:06:31.656 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -  JVM: Java HotSpot(TM) 64-Bit Server VM - Oracle Corporation - 1.8/25.211-b12
   11:06:31.656 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -  Maximum heap size: 429 MiBytes
   11:06:31.656 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -  JAVA_HOME: /usr/java/jdk1.8.0_211-amd64
   11:06:31.659 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -  Hadoop version: 2.7.5
   11:06:31.659 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -  JVM Options:
   11:06:31.659 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -     -Xmx469762048
   11:06:31.659 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -     -Xms469762048
   11:06:31.659 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -     -XX:MaxMetaspaceSize=268435456
   11:06:31.659 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -     -Dfile.encoding=UTF-8
   11:06:31.659 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -     -Dlog.file=/data/yarn/container-logs/application_1686972607801_0069/container_e10_1686972607801_0069_01_000002/jobmanager.log
   11:06:31.659 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -     -Dlog4j.configuration=file:log4j.properties
   11:06:31.659 [main] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint -     -Dlog4j.configurationFile=file:log4j.properties`
   怀疑是没有找到正确的log4j.properties路径,这个路径应该在flink home里面,flink home已经配置了,不知道为什么这里加载不到这个路径
   
   ### Error Exception
   
   ```log
   一直打印akka的debug日志
   ```
   
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!(您是否要贡献这个PR?)
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 版本1.2.3 运行flinksql时日志级别设置没有生效,一直打印akka的debug日志 [incubator-streampark]

Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys closed issue #2814: 版本1.2.3 运行flinksql时日志级别设置没有生效,一直打印akka的debug日志
URL: https://github.com/apache/incubator-streampark/issues/2814


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-streampark] rcf666 commented on issue #2814: 版本1.2.3 运行flinksql时日志级别设置没有生效,一直打印akka的debug日志

Posted by "rcf666 (via GitHub)" <gi...@apache.org>.
rcf666 commented on issue #2814:
URL: https://github.com/apache/incubator-streampark/issues/2814#issuecomment-1624789843

   排掉这些依赖应该就可以了
   streampark-flink/streampark-flink-sqlclient/pom.xml
   <dependency>
               <groupId>org.apache.streampark</groupId>
               <artifactId>streampark-flink-core_${scala.binary.version}</artifactId>
               <version>${project.version}</version>
               <exclusions>
                   <exclusion>
                       <groupId>ch.qos.logback</groupId>
                       <artifactId>logback-core</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>ch.qos.logback</groupId>
                       <artifactId>logback-access</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>ch.qos.logback</groupId>
                       <artifactId>logback-classic</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>org.slf4j</groupId>
                       <artifactId>log4j-over-slf4j</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>org.slf4j</groupId>
                       <artifactId>slf4j-api</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 版本1.2.3 运行flinksql时日志级别设置没有生效,一直打印akka的debug日志 [incubator-streampark]

Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys commented on issue #2814:
URL: https://github.com/apache/incubator-streampark/issues/2814#issuecomment-1845091885

   fixed in new version


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org