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 "Qi Zhu (Jira)" <ji...@apache.org> on 2021/04/08 07:19:00 UTC

[jira] [Updated] (YARN-10728) CS should support ensureRootPrefix to consistent with FS.

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

Qi Zhu updated YARN-10728:
--------------------------
    Description: 
{code:java}
private static String ensureRootPrefix(String name) {
  if (!name.startsWith(ROOT_QUEUE + ".") && !name.equals(ROOT_QUEUE)) {
    name = ROOT_QUEUE + "." + name;
  }
  return name;
}
{code}
When our cluster change fs to cs, our users use the queue path without root. , fs support this but cs not supported.

CS should support above to consistent with FS.

  was:
{code:java}
private static String ensureRootPrefix(String name) {
  if (!name.startsWith(ROOT_QUEUE + ".") && !name.equals(ROOT_QUEUE)) {
    name = ROOT_QUEUE + "." + name;
  }
  return name;
}
{code}
When our cluster change fs to cs, our user use the queue path without root. , fs support this but cs not supported.

CS should support above to consistent with FS.


> CS should support ensureRootPrefix to consistent with FS.
> ---------------------------------------------------------
>
>                 Key: YARN-10728
>                 URL: https://issues.apache.org/jira/browse/YARN-10728
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Qi Zhu
>            Assignee: Qi Zhu
>            Priority: Major
>
> {code:java}
> private static String ensureRootPrefix(String name) {
>   if (!name.startsWith(ROOT_QUEUE + ".") && !name.equals(ROOT_QUEUE)) {
>     name = ROOT_QUEUE + "." + name;
>   }
>   return name;
> }
> {code}
> When our cluster change fs to cs, our users use the queue path without root. , fs support this but cs not supported.
> CS should support above to consistent with FS.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org