Spark version is empty in CDH6.3.2
at first, i want to reuse my model in HDFS, but it reported something wrong:

it seems to be because the spark version is not set up correctly, I read the source code and found that spark calls sc.version when it stores the model. However, embarrassingly, the spark2.4.0 that comes with CDH6.3.2 that I use produces the following result: SPARK_VERSION is empty.

I need to use CDH spark to save and read the model, what should I do in this case, thanks very much!

