You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Slim Ouertani (JIRA)" <ji...@apache.org> on 2019/03/19 12:02:00 UTC

[jira] [Comment Edited] (KAFKA-8127) It may need to import scala.io

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

Slim Ouertani edited comment on KAFKA-8127 at 3/19/19 12:01 PM:
----------------------------------------------------------------

What the the command used to build and the OS ? 

>> io is part of default scala._ implicit imported pkg


was (Author: ouertani):
What the the command used to build and the OS ? 

>> io is part of default scala imported pkg

> It may need to import scala.io
> ------------------------------
>
>                 Key: KAFKA-8127
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8127
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: JieFang.He
>            Priority: Major
>
> I get an error when compile kafka,which disappear when import scala.io
>  
> {code:java}
> D:\gerrit\Kafka\core\src\main\scala\kafka\tools\StateChangeLogMerger.scala:140: object Source is not a member of package io
> val lineIterators = files.map(io.Source.fromFile(_).getLines)
> ^
> 6 warnings found
> one error found
> :core:compileScala FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':core:compileScala'.
> > Compilation failed
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)