Skip to content
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] FlintREPL should handle nullable JobStartTime when startup. #152

Closed
penghuo opened this issue Nov 13, 2023 · 1 comment
Closed

[BUG] FlintREPL should handle nullable JobStartTime when startup. #152

penghuo opened this issue Nov 13, 2023 · 1 comment
Labels
0.1.1 bug Something isn't working untriaged

Comments

@penghuo
Copy link
Collaborator

penghuo commented Nov 13, 2023

jobStartTime is nullable value. Plugin does not write jobStartTime field when create session. Spark job should write jobStartTime.

23/11/13 09:00:07 WARN FlintREPL: Fail to update the last update time of the flint instance R3N4WndiTUtlWW15czM=
java.util.NoSuchElementException: key not found: jobStartTime
	at scala.collection.MapLike.default(MapLike.scala:236) ~[scala-library-2.12.15.jar:?]
	at scala.collection.MapLike.default$(MapLike.scala:235) ~[scala-library-2.12.15.jar:?]
	at scala.collection.AbstractMap.default(Map.scala:65) ~[scala-library-2.12.15.jar:?]
	at scala.collection.MapLike.apply(MapLike.scala:144) ~[scala-library-2.12.15.jar:?]
	at scala.collection.MapLike.apply$(MapLike.scala:143) ~[scala-library-2.12.15.jar:?]
	at scala.collection.AbstractMap.apply(Map.scala:65) ~[scala-library-2.12.15.jar:?]
	at org.opensearch.flint.app.FlintInstance$.deserializeFromMap(FlintInstance.scala:78) ~[opensearch-spark-standalone_2.12-0.1.0.jar:0.1.0-SNAPSHOT]
	at org.apache.spark.sql.FlintREPL$$anon$1.run(FlintREPL.scala:844) ~[opensearch-spark-sql-application_2.12-0.1.0.jar:0.1.0-SNAPSHOT]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
@penghuo penghuo added bug Something isn't working untriaged labels Nov 13, 2023
@penghuo penghuo changed the title [BUG] [BUG] FlintREPL should handle nullable JobStartTime when startup. Nov 13, 2023
@penghuo penghuo added the 0.1.1 label Nov 13, 2023
@kaituo
Copy link
Collaborator

kaituo commented Nov 14, 2023

fixed in #153

@kaituo kaituo closed this as completed Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.1.1 bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

2 participants