You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "Yicong-Huang (via GitHub)" <gi...@apache.org> on 2026/05/03 01:03:32 UTC
[I] VirtualIdentityUtils.getWorkerIndex throws MatchError on non-worker actor names [texera]
Yicong-Huang opened a new issue, #4727:
URL: https://github.com/apache/texera/issues/4727
### What happened?
`common/workflow-core/src/main/scala/org/apache/texera/amber/util/VirtualIdentityUtils.scala::getWorkerIndex` only matches `workerNamePattern` with no fallback case. Passing any non-worker `ActorVirtualIdentity` (e.g. `CONTROLLER`, `SELF`) raises `scala.MatchError` at runtime. Peer methods (`getPhysicalOpId`, `toShorterString`) handle the unmatched case gracefully — `getWorkerIndex` should likely do the same.
### How to reproduce?
```scala
VirtualIdentityUtils.getWorkerIndex(ActorVirtualIdentity("CONTROLLER"))
// scala.MatchError: CONTROLLER (of class java.lang.String)
```
### Version
1.1.0-incubating (Pre-release/Master)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] VirtualIdentityUtils.getWorkerIndex throws MatchError on non-worker actor names [texera]
Posted by "Xiao-zhen-Liu (via GitHub)" <gi...@apache.org>.
Xiao-zhen-Liu closed issue #4727: VirtualIdentityUtils.getWorkerIndex throws MatchError on non-worker actor names
URL: https://github.com/apache/texera/issues/4727
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] VirtualIdentityUtils.getWorkerIndex throws MatchError on non-worker actor names [texera]
Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on issue #4727:
URL: https://github.com/apache/texera/issues/4727#issuecomment-4413973321
/take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org