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

   ### 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.
   
   
   ### What happened
   
   + When I start the Flink cluster successfully,I can't open FlinkWebUI by 
useing `view cluster detail` button.
   + I found that `t_ flink_ The cluster.address` field is null.
   + In project code,`FlinkClusterServiceImpl.start()` method, update `t_ 
flink_ The cluster.address`  only in yarn-session Mode。
   ```java
    if (deployResponse != null) {
           if (ExecutionMode.YARN_SESSION.equals(executionModeEnum)) {
             String address =
                 YarnUtils.getRMWebAppURL() + "/proxy/" + 
deployResponse.clusterId() + "/";
             flinkCluster.setAddress(address);
           }
           flinkCluster.setClusterId(deployResponse.clusterId());
           flinkCluster.setClusterState(ClusterState.STARTED.getValue());
           flinkCluster.setException(null);
           updateById(flinkCluster);
           FlinkRESTAPIWatcher.removeFlinkCluster(flinkCluster);
         } else {
           throw new ApiAlertException(
               "deploy cluster failed, unknown reason,please check you params 
or StreamPark error log");
         }
   ```
   
   ### StreamPark Version
   
   2.0.0
   
   ### Java Version
   
   jdk1.8
   
   ### Flink Version
   
   flink 1.14.5
   
   ### Scala Version of Flink
   
   scala 2.11
   
   ### Error Exception
   
   ```log
   none exception
   ```
   
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to