dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

spark任务 程序获取命令行参数中文乱码

Open lingxingzhang opened this issue 6 years ago • 4 comments

Describe the bug spark任务 命令行参数 在程序中获取到时乱码

To Reproduce Steps to reproduce the behavior, for example:

  1. 新建spark任务
  2. 填写spark命令行参数
  3. 程序打印main方法的args
  4. 中文是乱码 数字可以正常显示

Expected behavior 中文正常显示

Screenshots image image image

Which version of Dolphin Scheduler: -[1.3.1-release]

lingxingzhang avatar Aug 17 '20 08:08 lingxingzhang

Hi, I will try to reproduce it later.

yangyichao-mango avatar Aug 17 '20 13:08 yangyichao-mango

Hi, You can check the task instance log what the Chinese params showing. image

yangyichao-mango avatar Aug 18 '20 07:08 yangyichao-mango

BTW, English is need. Please change the title and description to English.

yangyichao-mango avatar Aug 18 '20 07:08 yangyichao-mango

@yangyichao-mango Thank you. I checked the log. The Chinese version of the spark-submit log printed by DS is correct. It should be a spark-submit issue.

lingxingzhang avatar Aug 18 '20 07:08 lingxingzhang