hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15288) TestSwiftFileSystemBlockLocation doesn't compile
Date Mon, 05 Mar 2018 16:30:00 GMT

    [ 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message