alibaba / alibaba/DataX

vminfo is error

Open
#666 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

common\src\main\java\com\alibaba\datax\common\statistics\VMInfo.java
80、81行
osInfo = runtimeMXBean.getVmVendor() + " " + runtimeMXBean.getSpecVersion() + " " + runtimeMXBean.getVmVersion();
jvmInfo = osMXBean.getName() + " " + osMXBean.getArch() + " " + osMXBean.getVersion();

osInfo被赋值了vm信息
而jvmInfo被赋值了os信息
测试不到位啊

Contributor guide

No contributing guide indexed for this repository

Research direction

Open common/src/main/java/com/alibaba/datax/common/statistics/VMInfo.java and inspect lines 80-81, where osInfo and jvmInfo are assigned from the management beans. Confirm which bean supplies each value, correct the mismatched assignments, and verify that the two fields report the intended operating-system and JVM information.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.