real dumb question, but is there anything else i s...
# troubleshooting
t
real dumb question, but is there anything else i should do after submitting a jira issue? or are they all triaged as part of a regular cadence?
g
It depends on the type of ticket. But this is an open source community, so you can’t really expect anyone to prioritize your ticket automatically
❤️ 1
However you are always welcome to work on improvements and bug fixes and contribute it to Flink :)
t
of course, i would never expect any kind of prioritization! just wasn’t sure if there was a step beyond “create jira issue” thanks for your help, it would be super cool to figure out how to fix this, but i suspect someone could fix it 100x faster than i could 🙂
g
Many devs actively monitor newly opened jira tickets so there is a good chance that someone will notice it :) If you don’t get any feedback in a couple of days , it’s fine to ask about it on the dev list for guidance
Which ticket is it? Just out of curiosity
t
will do. i started with a question on the users list and didn’t get very far, so figured jira was the next best step. https://issues.apache.org/jira/browse/FLINK-33926 is the ticket. i may be misunderstanding something critical, too, so perhaps that ticket is more a cry for help as well haha
g
You can try using a dummy jar
We actually do this trick for allowing empty jarURI for session jobs
You can just create an empty jar and include it in your docker image and use that as the jar uri
As long as your real jar and main class is on the classpath it won’t matter :)
t
oh, take that noop jar and point to it (from classpath or no?). then put my real jar in the actual classpath and that’s all? i will definitely give that a shot! if it’s that simple then perhaps the fix is simple, too. it seems like an extra step that could be solved for future folks, but i will absolutely try that
g
It may be possible to support this directly from the operator , you have to track down those null pointers . But you will have to fix it yourself because this is not a typical use case for application clusters :)
I really recommend giving it a try , you will learn a lot along the way ☺️
t
definitely - if it works, i would be thrilled to contribute a fix. i’m surprised it’s not a common use case - we have some metaspace issues that cropped up immediately after switching to the operator, and the best guess we have right now is related to classloading (especially in a restart loop). it’s still a guess based on metrics, but it won’t hurt to try regardless
thanks for your help!
👍 1
finally got around to trying this (putting “real” job jar in classpath and pointing
jarURI
to noop.jar) - no joy.
Copy code
"msg":"Could not create application program.",

"stack":"o.a.f.c.p.ProgramInvocationException: Neither a 'Main-Class', nor a 'program-class' entry was found in the jar file.
i think because
PipelineOptions.JARS
is directly pointing to the noop jar, where in the standalone mode it’s actually just not set: https://github.com/apache/flink-kubernetes-operator/pull/370/files#diff-0f153ffe56da6190f4c56749c52014adf74dc0d69d21177eaabf958921296625R259 i’ll keep experimenting