Github user vanzin commented on a diff in the pull request:
    --- Diff: python/pyspark/ ---
    @@ -163,10 +163,8 @@ def _do_init(self, master, appName, sparkHome, 
pyFiles, environment, batchSize,
                 if k.startswith("spark.executorEnv."):
                     varName = k[len("spark.executorEnv."):]
                     self.environment[varName] = v
    -        if sys.version >= '3.3' and 'PYTHONHASHSEED' not in os.environ:
    -            # disable randomness of hash of string in worker, if this is 
    -            # launched by spark-submit
    -            self.environment["PYTHONHASHSEED"] = "0"
    +        self.environment["PYTHONHASHSEED"] = 
os.environ.get("PYTHONHASHSEED", "0")
    --- End diff --
    Is there any use in allowing the user to override the value?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to