Re: Recursive Traversal of the Input Path Directory, Not working
Posted by
Stefan Richter on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Recursive-Traversal-of-the-Input-Path-Directory-Not-working-tp13926p13930.html
Hi,
I am not sure I am getting the problem right: the code works if you use a file name, but it does not work for directories? What exactly is not working? Do you get any exceptions?
Best,
Stefan

Hi,
import org.apache.flink.api.java.utils.ParameterTool
import org.apache.flink.api.java.{DataSet, ExecutionEnvironment}
import org.apache.flink.configuration.Configuration
val config = new Configuration
config.setBoolean("recursive.file.enumeration",true)
val testInput = env.readTextFile(featuresSource).withParameters(config)
testInput.print()
Please guide how to fix this.
Regards,
Adarsh