hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prabhu Joseph (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9258) DistributedShell PlacementSpec fails to parse
Date Thu, 31 Jan 2019 14:14:00 GMT
Prabhu Joseph created YARN-9258:
-----------------------------------

             Summary: DistributedShell PlacementSpec fails to parse
                 Key: YARN-9258
                 URL: https://issues.apache.org/jira/browse/YARN-9258
             Project: Hadoop YARN
          Issue Type: Bug
          Components: distributed-shell
    Affects Versions: 3.1.0
            Reporter: Prabhu Joseph
            Assignee: Prabhu Joseph


DistributedShell PlacementSpec fails to parse {color:#d04437}zk=1:spark=1,NOTIN,NODE,zk{color}

{code}
java.lang.IllegalArgumentException: Invalid placement spec: zk=1:spark=1,NOTIN,NODE,zk
	at org.apache.hadoop.yarn.applications.distributedshell.PlacementSpec.parse(PlacementSpec.java:108)
	at org.apache.hadoop.yarn.applications.distributedshell.Client.init(Client.java:462)
	at org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDistributedShellWithPlacementConstraint(TestDistributedShell.java:1780)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.hadoop.yarn.util.constraint.PlacementConstraintParseException: Source
allocation tags is required for a multi placement constraint expression.
	at org.apache.hadoop.yarn.util.constraint.PlacementConstraintParser.parsePlacementSpec(PlacementConstraintParser.java:740)
	at org.apache.hadoop.yarn.applications.distributedshell.PlacementSpec.parse(PlacementSpec.java:94)
	... 16 more

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message