[
https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Collins updated HDFS-3690:
------------------------------
Description:
The hadoop-tools tests, eg TestCopyListing, fails with
{noformat}
Caused by: java.lang.ClassCastException:
org.apache.commons.logging.impl.SimpleLog cannot be cast to
org.apache.commons.logging.impl.Log4JLogger
at
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.<clinit>(BlockPlacementPolicyDefault.java:55)
{noformat}
caused by this cast
{code}
private static final String enableDebugLogging =
"For more information, please enable DEBUG log level on "
+ ((Log4JLogger)LOG).getLogger().getName();
{code}
was:
The common tests, eg TestCopyListing, fails with
{noformat}
Caused by: java.lang.ClassCastException:
org.apache.commons.logging.impl.SimpleLog cannot be cast to
org.apache.commons.logging.impl.Log4JLogger
at
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.<clinit>(BlockPlacementPolicyDefault.java:55)
{noformat}
caused by this cast
{code}
private static final String enableDebugLogging =
"For more information, please enable DEBUG log level on "
+ ((Log4JLogger)LOG).getLogger().getName();
{code}
> BlockPlacementPolicyDefault incorrectly casts LOG
> -------------------------------------------------
>
> Key: HDFS-3690
> URL: https://issues.apache.org/jira/browse/HDFS-3690
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0-alpha
> Reporter: Eli Collins
> Assignee: Eli Collins
> Priority: Blocker
> Attachments: hdfs-3690.txt
>
>
> The hadoop-tools tests, eg TestCopyListing, fails with
> {noformat}
> Caused by: java.lang.ClassCastException:
> org.apache.commons.logging.impl.SimpleLog cannot be cast to
> org.apache.commons.logging.impl.Log4JLogger
> at
> org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.<clinit>(BlockPlacementPolicyDefault.java:55)
> {noformat}
> caused by this cast
> {code}
> private static final String enableDebugLogging =
> "For more information, please enable DEBUG log level on "
> + ((Log4JLogger)LOG).getLogger().getName();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira