java - Spark-Submit through command line does not enforce UTF-8 encoding -
when run spark job ide using spark's java apis, output in desired encoding format (utf-8). if start 'spark-submit' method command line, output misses out on encoding.
is there way can enforce encoding 'spark-submit' when used through command line interface.
i using windows 10 os , eclipse ide.
your appreciated.
thank you.
run spark job : spark-submit --class com.something.class --name "somename" --conf "spark.driver.extrajavaoptions=-dfile.encoding=utf-8"
Comments
Post a Comment