Skip to content

[Bug]: Error occur when startup for json parse error. #203

@aib628

Description

@aib628

Contact Details

No response

Is there an existing issue for this?

  • I have searched all the existing issues

Priority

high

Current Behavior

When compass startup, JSONException happens and i see the error message attached below:

企业微信截图_bcd63b45-8371-45c5-87c1-aca71004c59f 企业微信截图_f8366fd3-613e-43e3-b14a-512cf3933847

see source code at: task-metadata/src/main/java/com/oppo/cloud/meta/service/impl/ClusterConfigServiceImpl.java

Expected Behavior

as we know, http://{yarn ip}/conf will response content format as xml, but there parse with json, so error occur

Steps To Reproduce

No response

Compass Log

No response

Anything else? (Additional Context)

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions