[jira] [Updated] (YARN-9444) YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize yarn.io/gpu as a valid resource
[ https://issues.apache.org/jira/browse/YARN-9444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Payne updated YARN-9444: - Attachment: YARN-9444.branch-2.10.003.patch > YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize > yarn.io/gpu as a valid resource > -- > > Key: YARN-9444 > URL: https://issues.apache.org/jira/browse/YARN-9444 > Project: Hadoop YARN > Issue Type: Bug > Components: api >Reporter: Gergely Pollak >Assignee: Gergely Pollak >Priority: Minor > Fix For: 3.3.0 > > Attachments: YARN-9444.001.patch, YARN-9444.002.patch, > YARN-9444.003.patch, YARN-9444.branch-2.10.003.patch > > > The original issue was the jobclient test did not send the requested resource > type, when specified in the command line eg: > {code:java} > hadoop jar hadoop-mapreduce-client-jobclient-tests.jar sleep > -Dmapreduce.reduce.resource.yarn.io/gpu=1 -m 10 -r 1 -mt 9 > {code} > After some investigation, it turned out it only affects resource types with > name containing '.' characters. And the root cause is regexp from the > getRequestedResourcesFromConfig method. > {code:java} > "^" + Pattern.quote(prefix) + "[^.]+$" > {code} > This regexp explicitly forbids any dots in the resource type name, which is > inconsistent with the default resource type for gpu and fpga, which are > yarn.io/gpu and yarn.io/fpga respectively. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-9444) YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize yarn.io/gpu as a valid resource
[ https://issues.apache.org/jira/browse/YARN-9444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Payne updated YARN-9444: - Attachment: commit.repo > YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize > yarn.io/gpu as a valid resource > -- > > Key: YARN-9444 > URL: https://issues.apache.org/jira/browse/YARN-9444 > Project: Hadoop YARN > Issue Type: Bug > Components: api >Reporter: Gergely Pollak >Assignee: Gergely Pollak >Priority: Minor > Fix For: 3.3.0 > > Attachments: YARN-9444.001.patch, YARN-9444.002.patch, > YARN-9444.003.patch > > > The original issue was the jobclient test did not send the requested resource > type, when specified in the command line eg: > {code:java} > hadoop jar hadoop-mapreduce-client-jobclient-tests.jar sleep > -Dmapreduce.reduce.resource.yarn.io/gpu=1 -m 10 -r 1 -mt 9 > {code} > After some investigation, it turned out it only affects resource types with > name containing '.' characters. And the root cause is regexp from the > getRequestedResourcesFromConfig method. > {code:java} > "^" + Pattern.quote(prefix) + "[^.]+$" > {code} > This regexp explicitly forbids any dots in the resource type name, which is > inconsistent with the default resource type for gpu and fpga, which are > yarn.io/gpu and yarn.io/fpga respectively. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-9444) YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize yarn.io/gpu as a valid resource
[ https://issues.apache.org/jira/browse/YARN-9444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Payne updated YARN-9444: - Attachment: (was: commit.repo) > YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize > yarn.io/gpu as a valid resource > -- > > Key: YARN-9444 > URL: https://issues.apache.org/jira/browse/YARN-9444 > Project: Hadoop YARN > Issue Type: Bug > Components: api >Reporter: Gergely Pollak >Assignee: Gergely Pollak >Priority: Minor > Fix For: 3.3.0 > > Attachments: YARN-9444.001.patch, YARN-9444.002.patch, > YARN-9444.003.patch > > > The original issue was the jobclient test did not send the requested resource > type, when specified in the command line eg: > {code:java} > hadoop jar hadoop-mapreduce-client-jobclient-tests.jar sleep > -Dmapreduce.reduce.resource.yarn.io/gpu=1 -m 10 -r 1 -mt 9 > {code} > After some investigation, it turned out it only affects resource types with > name containing '.' characters. And the root cause is regexp from the > getRequestedResourcesFromConfig method. > {code:java} > "^" + Pattern.quote(prefix) + "[^.]+$" > {code} > This regexp explicitly forbids any dots in the resource type name, which is > inconsistent with the default resource type for gpu and fpga, which are > yarn.io/gpu and yarn.io/fpga respectively. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-9444) YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize yarn.io/gpu as a valid resource
[ https://issues.apache.org/jira/browse/YARN-9444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Szilard Nemeth updated YARN-9444: - Fix Version/s: 3.3.0 > YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize > yarn.io/gpu as a valid resource > -- > > Key: YARN-9444 > URL: https://issues.apache.org/jira/browse/YARN-9444 > Project: Hadoop YARN > Issue Type: Bug > Components: api >Reporter: Gergely Pollak >Assignee: Gergely Pollak >Priority: Minor > Fix For: 3.3.0 > > Attachments: YARN-9444.001.patch, YARN-9444.002.patch, > YARN-9444.003.patch > > > The original issue was the jobclient test did not send the requested resource > type, when specified in the command line eg: > {code:java} > hadoop jar hadoop-mapreduce-client-jobclient-tests.jar sleep > -Dmapreduce.reduce.resource.yarn.io/gpu=1 -m 10 -r 1 -mt 9 > {code} > After some investigation, it turned out it only affects resource types with > name containing '.' characters. And the root cause is regexp from the > getRequestedResourcesFromConfig method. > {code:java} > "^" + Pattern.quote(prefix) + "[^.]+$" > {code} > This regexp explicitly forbids any dots in the resource type name, which is > inconsistent with the default resource type for gpu and fpga, which are > yarn.io/gpu and yarn.io/fpga respectively. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-9444) YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize yarn.io/gpu as a valid resource
[ https://issues.apache.org/jira/browse/YARN-9444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gergely Pollak updated YARN-9444: - Attachment: YARN-9444.003.patch > YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize > yarn.io/gpu as a valid resource > -- > > Key: YARN-9444 > URL: https://issues.apache.org/jira/browse/YARN-9444 > Project: Hadoop YARN > Issue Type: Bug > Components: api >Reporter: Gergely Pollak >Assignee: Gergely Pollak >Priority: Minor > Attachments: YARN-9444.001.patch, YARN-9444.002.patch, > YARN-9444.003.patch > > > The original issue was the jobclient test did not send the requested resource > type, when specified in the command line eg: > {code:java} > hadoop jar hadoop-mapreduce-client-jobclient-tests.jar sleep > -Dmapreduce.reduce.resource.yarn.io/gpu=1 -m 10 -r 1 -mt 9 > {code} > After some investigation, it turned out it only affects resource types with > name containing '.' characters. And the root cause is regexp from the > getRequestedResourcesFromConfig method. > {code:java} > "^" + Pattern.quote(prefix) + "[^.]+$" > {code} > This regexp explicitly forbids any dots in the resource type name, which is > inconsistent with the default resource type for gpu and fpga, which are > yarn.io/gpu and yarn.io/fpga respectively. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-9444) YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize yarn.io/gpu as a valid resource
[ https://issues.apache.org/jira/browse/YARN-9444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gergely Pollak updated YARN-9444: - Attachment: YARN-9444.002.patch > YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize > yarn.io/gpu as a valid resource > -- > > Key: YARN-9444 > URL: https://issues.apache.org/jira/browse/YARN-9444 > Project: Hadoop YARN > Issue Type: Bug > Components: api >Reporter: Gergely Pollak >Assignee: Gergely Pollak >Priority: Minor > Attachments: YARN-9444.001.patch, YARN-9444.002.patch > > > The original issue was the jobclient test did not send the requested resource > type, when specified in the command line eg: > {code:java} > hadoop jar hadoop-mapreduce-client-jobclient-tests.jar sleep > -Dmapreduce.reduce.resource.yarn.io/gpu=1 -m 10 -r 1 -mt 9 > {code} > After some investigation, it turned out it only affects resource types with > name containing '.' characters. And the root cause is regexp from the > getRequestedResourcesFromConfig method. > {code:java} > "^" + Pattern.quote(prefix) + "[^.]+$" > {code} > This regexp explicitly forbids any dots in the resource type name, which is > inconsistent with the default resource type for gpu and fpga, which are > yarn.io/gpu and yarn.io/fpga respectively. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-9444) YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize yarn.io/gpu as a valid resource
[ https://issues.apache.org/jira/browse/YARN-9444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Szilard Nemeth updated YARN-9444: - Summary: YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize yarn.io/gpu as a valid resource (was: YARN Api Resource Utils's getRequestedResourcesFromConfig doesn't recognise yarn.io/gpu as a valid resource type) > YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize > yarn.io/gpu as a valid resource > -- > > Key: YARN-9444 > URL: https://issues.apache.org/jira/browse/YARN-9444 > Project: Hadoop YARN > Issue Type: Bug > Components: api >Reporter: Gergely Pollak >Assignee: Gergely Pollak >Priority: Minor > Attachments: YARN-9444.001.patch > > > The original issue was the jobclient test did not send the requested resource > type, when specified in the command line eg: > {code:java} > hadoop jar hadoop-mapreduce-client-jobclient-tests.jar sleep > -Dmapreduce.reduce.resource.yarn.io/gpu=1 -m 10 -r 1 -mt 9 > {code} > After some investigation, it turned out it only affects resource types with > name containing '.' characters. And the root cause is regexp from the > getRequestedResourcesFromConfig method. > {code:java} > "^" + Pattern.quote(prefix) + "[^.]+$" > {code} > This regexp explicitly forbids any dots in the resource type name, which is > inconsistent with the default resource type for gpu and fpga, which are > yarn.io/gpu and yarn.io/fpga respectively. -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org