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

feat: enhance diag tool log parser and fix python setup #3303

Merged
merged 41 commits into from
Jun 12, 2023

Conversation

zhangziheng01233
Copy link
Contributor

close #3259

zhangziheng01233 and others added 30 commits May 8, 2023 17:08
@github-actions github-actions bot added documentation Improvements or additions to documentation sdk openmldb java/python sdk labels Jun 2, 2023
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jun 2, 2023
@codecov
Copy link

codecov bot commented Jun 2, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +38.91 🎉

Comparison is base (10721cd) 36.80% compared to head (80ec727) 75.71%.

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #3303       +/-   ##
=============================================
+ Coverage     36.80%   75.71%   +38.91%     
  Complexity      393      393               
=============================================
  Files           175      691      +516     
  Lines         10143   125304   +115161     
  Branches       1186     1186               
=============================================
+ Hits           3733    94879    +91146     
- Misses         6173    30188    +24015     
  Partials        237      237               
Impacted Files Coverage Δ
python/openmldb_sdk/tests/conftest.py 100.00% <ø> (ø)
...nmldb_sdk/tests/sqlalchemy_standardtest_example.py 0.00% <ø> (ø)
python/openmldb_tool/tests/log_parser_test.py 100.00% <100.00%> (ø)

... and 514 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jun 5, 2023
@@ -94,7 +94,7 @@ killed | 被终止的任务
更多state信息详见[Spark State]( https://spark.apache.org/docs/3.2.1/api/java/org/apache/spark/launcher/SparkAppHandle.State.html),[Yarn State](https://hadoop.apache.org/docs/current/api/org/apache/hadoop/yarn/api/records/YarnApplicationState.html)


使用`inspect job --id <job_id>`查询指定任务的log日志,其结果会筛选出主要错误信息。如果需要详细的日志信息,可以添加`--detail`获取详细信息。
使用`inspect job --id <job_id>`查询指定任务的log日志,其结果会使用配置文件筛选出主要错误信息。如需更新配置文件,可以添加`--conf-update`,并且可以使用`--conf-url`配置镜像源。如果需要完整的日志信息,可以添加`--detail`获取详细信息。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

give an example, --conf-url ...openmldb.ai....

@aceforeverd aceforeverd merged commit aad7626 into 4paradigm:main Jun 12, 2023
@zhangziheng01233 zhangziheng01233 deleted the iss#3259 branch June 19, 2023 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation sdk openmldb java/python sdk
Projects
None yet
Development

Successfully merging this pull request may close these issues.

diag: inspect job adds parse rules and solutions
3 participants