[
https://issues.apache.org/jira/browse/HADOOP-15288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16386301#comment-16386301
]
Steve Loughran commented on HADOOP-15288:
-----------------------------------------
{code}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
(default-testCompile) on project hadoop-openstack: Compilation failure
[ERROR]
/Users/stevel/Projects/hadoop-trunk/hadoop-tools/hadoop-openstack/src/test/java/org/apache/hadoop/fs/swift/TestSwiftFileSystemBlockLocation.java:[52,8]
no suitable method found for info(org.apache.hadoop.fs.BlockLocation)
[ERROR] method org.slf4j.Logger.info(java.lang.String) is not applicable
[ERROR] (argument mismatch; org.apache.hadoop.fs.BlockLocation cannot be
converted to java.lang.String)
[ERROR] method org.slf4j.Logger.info(java.lang.String,java.lang.Object...) is
not applicable
[ERROR] (argument mismatch; org.apache.hadoop.fs.BlockLocation cannot be
converted to java.lang.String)
[ERROR] method
org.slf4j.Logger.info(org.slf4j.Marker,java.lang.String,java.lang.Object...) is
not applicable
[ERROR] (argument mismatch; org.apache.hadoop.fs.BlockLocation cannot be
converted to org.slf4j.Marker)
[ERROR] -> [Help 1]
[ERROR]
{code}
The old API had an overload of LOG.info(Object)...needs to move to info("{}",
object)
> TestSwiftFileSystemBlockLocation doesn't compile
> ------------------------------------------------
>
> Key: HADOOP-15288
> URL: https://issues.apache.org/jira/browse/HADOOP-15288
> Project: Hadoop Common
> Issue Type: Bug
> Components: build, fs/swift
> Affects Versions: 3.2.0
> Reporter: Steve Loughran
> Priority: Critical
>
> TestSwiftFileSystemBlockLocation doesn't comple after the switch to the slf4J
> APIs. one line fix
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]