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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -