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

Aljoscha Krettek commented on FLINK-1303:
-----------------------------------------

In the development snapshot and the upcoming 0.8.1 release you can also do

{code}
val input = env.readHadoopFile(new TextInputFormat, classOf[LongWritable], 
classOf[Text], inputPath)
{code}

> HadoopInputFormat does not work with Scala API
> ----------------------------------------------
>
>                 Key: FLINK-1303
>                 URL: https://issues.apache.org/jira/browse/FLINK-1303
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Scala API
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>             Fix For: 0.9, 0.8.1
>
>
> It fails because the HadoopInputFormat uses the Flink Tuple2 type. For this, 
> type extraction fails at runtime.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to