You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "arshadmohammad (via GitHub)" <gi...@apache.org> on 2024/09/04 15:23:24 UTC

[I] [Bug] [Seatunnel-web] [Metrics] NPE while fetching metrics from seatunnel-engine [seatunnel]

arshadmohammad opened a new issue, #7583:
URL: https://github.com/apache/seatunnel/issues/7583

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
    NPE while fetching metrics from seatunnel-engine. Seems these metrics are expired in seatunnel engine.
   
   ### SeaTunnel Version
   
   2.3.7
   
   ### SeaTunnel Config
   
   ```conf
   NA
   ```
   
   
   ### Running Command
   
   ```shell
   NA
   ```
   
   
   ### Error Exception
   
   ```log
   2024-09-04 20:43:23.005 seatunnel rocky1 ERROR [qtp1785495362-73] [GlobalExceptionHandler.logError():78] - null
   java.lang.NullPointerException: null
           at org.apache.seatunnel.app.thirdparty.engine.SeaTunnelEngineMetricsExtractor.getJobPipelineStatus(SeaTunnelEngineMetricsExtractor.java:123)
           at org.apache.seatunnel.app.thirdparty.engine.SeaTunnelEngineMetricsExtractor.getMetricsByJobEngineId(SeaTunnelEngineMetricsExtractor.java:96)
           at org.apache.seatunnel.app.service.impl.JobMetricsServiceImpl.getJobMetricsFromEngine(JobMetricsServiceImpl.java:658)
           at org.apache.seatunnel.app.service.impl.JobMetricsServiceImpl.getJobPipelineDetailMetrics(JobMetricsServiceImpl.java:480)
           at org.apache.seatunnel.app.service.impl.JobMetricsServiceImpl.getJobPipelineMetrics(JobMetricsServiceImpl.java:507)
           at org.apache.seatunnel.app.service.impl.JobMetricsServiceImpl.getJobPipelineSummaryMetrics(JobMetricsServiceImpl.java:81)
           at org.apache.seatunnel.app.controller.JobMetricsController.summary(JobMetricsController.java:76)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
           at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
           at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
           at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
           at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
           at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
           at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067)
           at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)
           at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
           at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
           at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
           at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
           at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a 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: commits-unsubscribe@seatunnel.apache.org.apache.org

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


Re: [I] [Bug] [Seatunnel-web] [Metrics] NPE while fetching metrics from seatunnel-engine [seatunnel]

Posted by "arshadmohammad (via GitHub)" <gi...@apache.org>.
arshadmohammad closed issue #7583: [Bug] [Seatunnel-web] [Metrics] NPE while fetching metrics from seatunnel-engine
URL: https://github.com/apache/seatunnel/issues/7583


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [I] [Bug] [Seatunnel-web] [Metrics] NPE while fetching metrics from seatunnel-engine [seatunnel]

Posted by "arshadmohammad (via GitHub)" <gi...@apache.org>.
arshadmohammad commented on issue #7583:
URL: https://github.com/apache/seatunnel/issues/7583#issuecomment-2336566304

   PR is merged https://github.com/apache/seatunnel-web/commit/64bf528dab25afeb39a2754b9d5ea2c40c400e42


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [I] [Bug] [Seatunnel-web] [Metrics] NPE while fetching metrics from seatunnel-engine [seatunnel]

Posted by "arshadmohammad (via GitHub)" <gi...@apache.org>.
arshadmohammad commented on issue #7583:
URL: https://github.com/apache/seatunnel/issues/7583#issuecomment-2333868862

   After fix, same scenario works fine
   ![image](https://github.com/user-attachments/assets/8d380af4-97ab-4814-aa69-81517c79448c)
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

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