[ 
https://issues.apache.org/jira/browse/YARN-11577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17775149#comment-17775149
 ] 

ASF GitHub Bot commented on YARN-11577:
---------------------------------------

slfan1989 commented on PR #6190:
URL: https://github.com/apache/hadoop/pull/6190#issuecomment-1762700699

   > Router
   
   ```
   <federationClusterInfo>
   <id>0</id>
   <startedOn>0</startedOn>
   <subCluster>
   <id>1697268190543</id>
   <startedOn>1697268190543</startedOn>
   <state>STARTED</state>
   <haState>ACTIVE</haState>
   
<rmStateStoreName>org.apache.hadoop.yarn.server.resourcemanager.recovery.NullRMStateStore</rmStateStoreName>
   <resourceManagerVersion>3.4.0-SNAPSHOT</resourceManagerVersion>
   <resourceManagerBuildVersion>3.4.0-SNAPSHOT from ${version-info.scm.commit} 
by slfan1989 source checksum 
${version-info.source.md5}</resourceManagerBuildVersion>
   
<resourceManagerVersionBuiltOn>${version-info.build.time}</resourceManagerVersionBuiltOn>
   <hadoopVersion>3.4.0-SNAPSHOT</hadoopVersion>
   <hadoopBuildVersion>3.4.0-SNAPSHOT from ${version-info.scm.commit} by 
slfan1989 source checksum ${version-info.source.md5}</hadoopBuildVersion>
   <hadoopVersionBuiltOn>${version-info.build.time}</hadoopVersionBuiltOn>
   <haZooKeeperConnectionState>Could not find leader elector. Verify both HA 
and automatic failover are enabled.</haZooKeeperConnectionState>
   <subClusterId>SC-1</subClusterId>
   </subCluster>
   <subCluster>
   <id>1697268194907</id>
   <startedOn>1697268194907</startedOn>
   <state>STARTED</state>
   <haState>ACTIVE</haState>
   
<rmStateStoreName>org.apache.hadoop.yarn.server.resourcemanager.recovery.NullRMStateStore</rmStateStoreName>
   <resourceManagerVersion>3.4.0-SNAPSHOT</resourceManagerVersion>
   <resourceManagerBuildVersion>3.4.0-SNAPSHOT from ${version-info.scm.commit} 
by slfan1989 source checksum 
${version-info.source.md5}</resourceManagerBuildVersion>
   
<resourceManagerVersionBuiltOn>${version-info.build.time}</resourceManagerVersionBuiltOn>
   <hadoopVersion>3.4.0-SNAPSHOT</hadoopVersion>
   <hadoopBuildVersion>3.4.0-SNAPSHOT from ${version-info.scm.commit} by 
slfan1989 source checksum ${version-info.source.md5}</hadoopBuildVersion>
   <hadoopVersionBuiltOn>${version-info.build.time}</hadoopVersionBuiltOn>
   <haZooKeeperConnectionState>Could not find leader elector. Verify both HA 
and automatic failover are enabled.</haZooKeeperConnectionState>
   <subClusterId>SC-2</subClusterId>
   </subCluster>
   </federationClusterInfo>
   ```
   
   > RM-1
   
   ```
   <clusterInfo>
   <id>1697268190543</id>
   <startedOn>1697268190543</startedOn>
   <state>STARTED</state>
   <haState>ACTIVE</haState>
   
<rmStateStoreName>org.apache.hadoop.yarn.server.resourcemanager.recovery.NullRMStateStore</rmStateStoreName>
   <resourceManagerVersion>3.4.0-SNAPSHOT</resourceManagerVersion>
   <resourceManagerBuildVersion>3.4.0-SNAPSHOT from ${version-info.scm.commit} 
by slfan1989 source checksum 
${version-info.source.md5}</resourceManagerBuildVersion>
   
<resourceManagerVersionBuiltOn>${version-info.build.time}</resourceManagerVersionBuiltOn>
   <hadoopVersion>3.4.0-SNAPSHOT</hadoopVersion>
   <hadoopBuildVersion>3.4.0-SNAPSHOT from ${version-info.scm.commit} by 
slfan1989 source checksum ${version-info.source.md5}</hadoopBuildVersion>
   <hadoopVersionBuiltOn>${version-info.build.time}</hadoopVersionBuiltOn>
   <haZooKeeperConnectionState>Could not find leader elector. Verify both HA 
and automatic failover are enabled.</haZooKeeperConnectionState>
   </clusterInfo>
   ```




> Improve FederationInterceptorREST Method Result
> -----------------------------------------------
>
>                 Key: YARN-11577
>                 URL: https://issues.apache.org/jira/browse/YARN-11577
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: federation
>    Affects Versions: 3.4.0
>            Reporter: Shilun Fan
>            Assignee: Shilun Fan
>            Priority: Major
>              Labels: pull-request-available
>
> In the FederationInterceptorREST, some methods currently return null or throw 
> exceptions. We will ensure that the returned results are similar to those 
> returned by RM, handling cases of null values or exceptions gracefully.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to