Closed j-bennet closed 6 years ago
The keyword lang=
exists for this issue. Python requires the shell language to be set, but in some systems, apparently yours, the language is already set with an incompatible value. I mean the language of the shell within which processes are executed by yarn. You should find from the configuration or sysadmin what the right language to set is.
(this is a strange situation, because all shells should have a language set, so this mechanism should not be necessary, and all shells should allow their language to be set to the universal UTF8, but unfortunately this is not the case)
Setting cluster = DaskYARNCluster(env='/home/hadoop/reqs/dvss.zip', lang='en_US.UTF-8')
helped. Thank you.
Always glad to see successful uses of knit
. You may want to join us on https://gitter.im/dask/dask to describe your experience.
I'm trying to run a Dask application on YARN and get a
setlocale
error on container start:Just for reference, what I'm running is a tiny test application that reads some parquet and prints out a few rows. Full code: