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

Vijayakumar Govindasamy updated AMBARI-26546:
---------------------------------------------
    Summary: Quartz scheduler is broken in SSL enabled Ambari  (was: Quartz 
scheduler is broken )

> Quartz scheduler is broken in SSL enabled Ambari
> ------------------------------------------------
>
>                 Key: AMBARI-26546
>                 URL: https://issues.apache.org/jira/browse/AMBARI-26546
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Vijayakumar Govindasamy
>            Assignee: Vijayakumar Govindasamy
>            Priority: Major
>             Fix For: 3.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Problem:
>  # Quartz scheduler is not working as expected in Ambari
>  # When any slave service restart is triggered following error is thrown,
> {code:java}
>  Exception caught on execution of job 
> LinearExecutionJobs.BatchRequestJob-52-1. Exiting linear chain...
> org.apache.ambari.server.AmbariException: Exception occurred while performing 
> request
>         at 
> org.apache.ambari.server.scheduler.ExecutionScheduleManager.executeBatchRequest(ExecutionScheduleManager.java:673)
>         at 
> org.apache.ambari.server.state.scheduler.BatchRequestJob.doWork(BatchRequestJob.java:82)
>         at 
> org.apache.ambari.server.scheduler.AbstractLinearExecutionJob.execute(AbstractLinearExecutionJob.java:91)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
> Caused by: java.lang.ClassCastException: class 
> org.glassfish.jersey.client.internal.HttpUrlConnector$1 cannot be cast to 
> class java.lang.String 
> (org.glassfish.jersey.client.internal.HttpUrlConnector$1 is in unnamed module 
> of loader 'app'; java.lang.String is in module java.base of loader 
> 'bootstrap')
>         at 
> org.apache.ambari.server.scheduler.ExecutionScheduleManager.convertToBatchRequestResponse(ExecutionScheduleManager.java:730)
>         at 
> org.apache.ambari.server.scheduler.ExecutionScheduleManager.performApiRequest(ExecutionScheduleManager.java:932)
>         at 
> org.apache.ambari.server.scheduler.ExecutionScheduleManager.executeBatchRequest(ExecutionScheduleManager.java:661)
>         ... 4 common frames omitted
> 2025-09-10 15:59:38,362  INFO [ExecutionScheduler_Worker-1] 
> o.q.c.JobRunShell:207 - Job LinearExecutionJobs.BatchRequestJob-52-1 threw a 
> JobExecutionException:
> org.quartz.JobExecutionException: org.apache.ambari.server.AmbariException: 
> Exception occurred while performing request
>         at 
> org.apache.ambari.server.scheduler.AbstractLinearExecutionJob.execute(AbstractLinearExecutionJob.java:97)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
> Caused by: org.apache.ambari.server.AmbariException: Exception occurred while 
> performing request {code}
> When SSL is enabled for Ambari UI, We also need to disable hostname verifier 
> in BatchScheduler code to track/submit the request to Ambari.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org

Reply via email to