-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Handle event logs with invalid platform and spark runtime combination #1420
Comments
This is more complicated. The tools would actually be wrong if the output reports that a photon eventlog "SPARK". So, I don't agree with that behavior because the field is supposed to be a raw output that should not change by the user's input. In Scala, the platform argument was used to decide on which speedFactor file to load. The other side of the story is the Python wrapper. We needed the platform argument basically because the python was using the CSP sdk. |
That is an interesting point. Alternative Behaviour:
|
A couple points...
|
|
Describe the bug
In #1413, we added functionality to store the runtime type (SPARK, SPARK_RAPID, PHOTON) for each application by parsing event logs.
However, users might provide an event log with a runtime type that is unsupported by the specified platform. For example, a user could provide a
photon
event log with the--platform onprem
, which may not support it.Current Result
For the above scenario, we would generate the runtime as
PHOTON
.Expected Outcome
We should skip processing the event log as
onprem
platform does not supportPHOTON
runtime.The text was updated successfully, but these errors were encountered: