You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/07/20 00:13:34 UTC
[jira] [Created] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Eli Collins created HDFS-3690:
---------------------------------
Summary: 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
Priority: Blocker
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}
--
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
[jira] [Commented] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418756#comment-13418756 ]
Eli Collins commented on HDFS-3690:
-----------------------------------
Verified this unbreaks the TestCopyFiles test.
> 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 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}
--
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
[jira] [Commented] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418760#comment-13418760 ]
Aaron T. Myers commented on HDFS-3690:
--------------------------------------
+1
> 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 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}
--
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
[jira] [Commented] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418826#comment-13418826 ]
Hudson commented on HDFS-3690:
------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #2526 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2526/])
HDFS-3690. BlockPlacementPolicyDefault incorrectly casts LOG. Contributed by Eli Collins (Revision 1363576)
Result = FAILURE
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1363576
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java
> 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
> Fix For: 2.1.0-alpha
>
> 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
[jira] [Updated] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HDFS-3690:
------------------------------
Attachment: hdfs-3690.txt
Patch attached. I think it's sufficient for the debug message to just indicate the default policy class since the others don't have loggers.
> 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 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}
--
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
[jira] [Commented] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419107#comment-13419107 ]
Hudson commented on HDFS-3690:
------------------------------
Integrated in Hadoop-Hdfs-trunk #1110 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1110/])
HDFS-3690. BlockPlacementPolicyDefault incorrectly casts LOG. Contributed by Eli Collins (Revision 1363576)
Result = FAILURE
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1363576
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java
> 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
> Fix For: 2.1.0-alpha
>
> 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
[jira] [Commented] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418780#comment-13418780 ]
Hudson commented on HDFS-3690:
------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #2570 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2570/])
HDFS-3690. BlockPlacementPolicyDefault incorrectly casts LOG. Contributed by Eli Collins (Revision 1363576)
Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1363576
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java
> 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
> Fix For: 2.1.0-alpha
>
> 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
[jira] [Updated] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HDFS-3690:
----------------------------------
Priority: Major (was: Blocker)
> 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
> Fix For: 2.1.0-alpha
>
> 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
[jira] [Commented] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419157#comment-13419157 ]
Hudson commented on HDFS-3690:
------------------------------
Integrated in Hadoop-Mapreduce-trunk #1142 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1142/])
HDFS-3690. BlockPlacementPolicyDefault incorrectly casts LOG. Contributed by Eli Collins (Revision 1363576)
Result = FAILURE
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1363576
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java
> 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
> Fix For: 2.1.0-alpha
>
> 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
[jira] [Assigned] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins reassigned HDFS-3690:
---------------------------------
Assignee: Eli Collins
> 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
>
> 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}
--
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
[jira] [Updated] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HDFS-3690:
------------------------------
Status: Patch Available (was: Open)
> 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 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}
--
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
[jira] [Updated] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418776#comment-13418776 ]
Hudson commented on HDFS-3690:
------------------------------
Integrated in Hadoop-Common-trunk-Commit #2505 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2505/])
HDFS-3690. BlockPlacementPolicyDefault incorrectly casts LOG. Contributed by Eli Collins (Revision 1363576)
Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1363576
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java
> 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
> Fix For: 2.1.0-alpha
>
> 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
[jira] [Updated] (HDFS-3690) BlockPlacementPolicyDefault
incorrectly casts LOG
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HDFS-3690:
------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0-alpha
Target Version/s: (was: 2.1.0-alpha)
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Thanks for the review ATM. Committing this since it gets the tests (not run by test-patch) back to green.
> 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
> Fix For: 2.1.0-alpha
>
> 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
[jira] [Closed] (HDFS-3690) BlockPlacementPolicyDefault incorrectly
casts LOG
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy closed HDFS-3690.
-------------------------------
> 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
> Fix For: 2.0.2-alpha
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira