You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "JieFang.He (JIRA)" <ji...@apache.org> on 2019/03/19 08:27:00 UTC
[jira] [Updated] (KAFKA-8127) It may need to import scala.io
[ https://issues.apache.org/jira/browse/KAFKA-8127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
JieFang.He updated KAFKA-8127:
------------------------------
Issue Type: Improvement (was: Bug)
> 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)