You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2017/08/01 09:59:00 UTC

[jira] [Comment Edited] (FLINK-7329) Unable to use FileInputStream with StreamExecutionEnvironment.readFile with interval

    [ https://issues.apache.org/jira/browse/FLINK-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108656#comment-16108656 ] 

Aljoscha Krettek edited comment on FLINK-7329 at 8/1/17 9:58 AM:
-----------------------------------------------------------------

This is only a warning message. It is a bit confusing, though, so we want to remove it: FLINK-6864.

Please re-open if your job really does not run, I couldn't completely gather that from the description.


was (Author: aljoscha):
This o

> Unable to use FileInputStream with StreamExecutionEnvironment.readFile with interval
> ------------------------------------------------------------------------------------
>
>                 Key: FLINK-7329
>                 URL: https://issues.apache.org/jira/browse/FLINK-7329
>             Project: Flink
>          Issue Type: Bug
>          Components: DataStream API
>         Environment: redhat 6, flink 1.3.1
>            Reporter: Mohit Anchlia
>
> {code:java}
> 		FileInputFormat<String> fileInputFormat = new TextInputFormat(new Path(args[0]));
> 		fileInputFormat.setNestedFileEnumeration(true);
> 		streamEnv.readFile(fileInputFormat, args[0],
> 				FileProcessingMode.PROCESS_CONTINUOUSLY, 10000L).print();
> {code}
> When trying to run this code I get following error. It's not clear what the problem is here and why it fails with this message.
> [main] INFO org.apache.flink.api.java.typeutils.TypeExtractor - class org.apache.flink.streaming.api.functions.source.TimestampedFileInputSplit does not contain a setter for field modificationTime
> [main] INFO org.apache.flink.api.java.typeutils.TypeExtractor - class org.apache.flink.streaming.api.functions.source.TimestampedFileInputSplit is not a valid POJO type because not all fields are valid POJO fields.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)