Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/3559#issuecomment-69112310
  
    @brennonyork we can't remove `--properties-file` because we need to 
maintain backwards compatibility. We currently don't attempt to merge the 
properties at all, but instead allow `--properties-file` to take precedence. 
Note that the `--environment-file` case is different in that it's not as simple 
as having the command line option overriding an equivalent environment variable.
    
    I think the better approach is to simply warn the user in `spark-env.sh` 
not to set `SPARK_CONF_DIR` there since this is somewhat minor of an issue in 
my opinion. Given that there is not a clean way to fix this I recommend that we 
close this issue.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to