To make it obvious that this is a closure, how about you move the "Some" part down, e.g.

    val setInputPathsFunc = (jobConf: JobConf) => FileInputFormat.setInputPaths(jobConf, path)
    new HadoopRDD(
      ...
     Some(setInputPathsFunc)
     ...