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

[Improvement] When EngineRef.exitValue returns a non-0 status. Hopefully, can print an error message #6573

Closed
2 of 4 tasks
Toms5578 opened this issue Jul 31, 2024 · 8 comments

Comments

@Toms5578
Copy link

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

What would you like to be improved?

When EngineRef.exitValue returns a non-0 status. Hopefully, can print an error message

How should we improve?

No response

Are you willing to submit PR?

  • Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
  • No. I cannot submit a PR at this time.
@Toms5578 Toms5578 changed the title [Improvement] [Improvement] When EngineRef.exitValue returns a non-0 status. Hopefully, can print an error message Jul 31, 2024
@Toms5578
Copy link
Author

eg: BufferedReader reader = new BufferedReader(new InputStreamReader(process.getErrorStream()));
String line;
while ((line = reader.readLine()) != null) {
System.out.println(line);
}

@pan3793
Copy link
Member

pan3793 commented Jul 31, 2024

what's the current behavior you observed? I think you should see error messages when something goes wrong on engine launching.

@Toms5578
Copy link
Author

您观察到的当前行为是什么?我认为当引擎启动时出现问题时您应该会看到错误消息。

The client reports an error as :Failed to detect the root cause, please check /data/kyuubi/logs/work/****/kyuubi-spark-sql-engine.log.62 at server side if necessary. The last 10 line(s) of log are:
But the size of this file is 0

@Toms5578
Copy link
Author

the retry succeeds, fault locating is affected

@Toms5578
Copy link
Author

I suppose :this error occurred when executing the spark script. bin/spark-class

@pan3793
Copy link
Member

pan3793 commented Jul 31, 2024

what's your version? does it include #6422 (fixed in 1.9.1/1.8.3)?

Copy link

Hello @Toms5578,
Thanks for finding the time to report the issue!
We really appreciate the community's efforts to improve Apache Kyuubi.

@Toms5578
Copy link
Author

你的版本是什么?它包含#6422吗(已在 1.9.1/1.8.3 中修复)?

1.6.0 Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants