You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2022/07/12 16:07:00 UTC
[jira] [Commented] (YARN-10660) YARN Web UI have problem when show node partitions resource
[ https://issues.apache.org/jira/browse/YARN-10660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17565896#comment-17565896 ]
Masatake Iwasaki commented on YARN-10660:
-----------------------------------------
update the targets to 3.2.5 for preparing 3.2.4 release.
> YARN Web UI have problem when show node partitions resource
> -----------------------------------------------------------
>
> Key: YARN-10660
> URL: https://issues.apache.org/jira/browse/YARN-10660
> Project: Hadoop YARN
> Issue Type: Bug
> Components: webapp
> Affects Versions: 3.1.0, 3.1.1, 3.2.1, 3.2.2
> Reporter: tuyu
> Priority: Minor
> Attachments: 2021-03-01 19-56-02 的屏幕截图.png, YARN-10660.patch
>
>
> when enable yarn label function, Yarn UI will show queue resource base on partitions,but there have some problem when click expand button. The url will increase very long, like this
> {code:java}
> 127.0.0.1:20701/cluster/scheduler?openQueues=Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20#Partition:%20<DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96><DEFAULT_PARTITION>%20<memory:491520,%20vCores:96>
> {code}
> The root cause is
> {code:java}
> origin url is:
> Partition: <DEFAULT_PARTITION> <memory:491520, vCores:96>
> htmlencode is:
> Partition: <DEFAULT_PARTITION> <memory:491520, vCores:96>
> SchedulerPageUtil have some javascript code
> storeExpandedQueue
> tmpCurrentParam = tmpCurrentParam.split('&');",
> the Partition: <DEFAULT_PARTITION> <memory:491520, vCores:96> will split and len > 1, the problem logic is here, if click expand button close, the function will clear params, but it the split array is not match orgin url
> {code}
> when click expand button close, lt;DEFAULT_PARTITION> <memory:491520, vCores:96> will append, if click expand multi times, the length will increase too long
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org