Github user yanboliang commented on the issue:

    https://github.com/apache/spark/pull/15131
  
    @felixcheung I totally understand your concern about the naming, but I 
found we can not use  ```spark.getFileDir``` and ```spark.getFiles```. Since 
the ```SparkFiles``` is a term which used to describe the files added by 
```addFile``` and can be shared between driver/executors specially. Spark has 
other kinds of files or directories that can be get by users, so I don't think 
we can simplify the naming. You can refer the definition of 
[```SparkFiles```](https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/SparkFiles.scala).
 Thanks!


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to