Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4612#discussion_r24728085
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/dstream/FileInputDStream.scala
 ---
    @@ -74,10 +74,12 @@ class FileInputDStream[K, V, F <: NewInputFormat[K,V]](
         directory: String,
         filter: Path => Boolean = FileInputDStream.defaultFilter,
         newFilesOnly: Boolean = true,
    -    conf: Option[Configuration] = None)
    +    @transient conf: Option[Configuration] = None)
    --- End diff --
    
    I believe it has to be `private` or Scala will make a getter/setter and 
thus make it a member too. You can double-check by using `javap` or even the 
byte code plugin in IJ.


---
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