You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2015/09/18 22:34:04 UTC
[jira] [Reopened] (HBASE-14230) replace reflection in FSHlog with
HdfsDataOutputStream#getCurrentBlockReplication()
[ https://issues.apache.org/jira/browse/HBASE-14230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Dimiduk reopened HBASE-14230:
----------------------------------
Hi folks.
Running ltt vs master in standalone mode, after a couple lines of the test getting started my RS log is flooded with
{noformat}
2015-09-18 13:18:33,719 WARN [sync.2] wal.FSHLog: DFSOutputStream.getNumCurrentReplicas failed because of java.lang.ClassCastException, continuing...
2015-09-18 13:18:33,720 WARN [sync.4] wal.FSHLog: DFSOutputStream.getNumCurrentReplicas failed because of java.lang.ClassCastException, continuing...
2015-09-18 13:18:33,720 WARN [sync.4] wal.FSHLog: DFSOutputStream.getNumCurrentReplicas failed because of java.lang.ClassCastException, continuing...
2015-09-18 13:18:33,720 WARN [sync.1] wal.FSHLog: DFSOutputStream.getNumCurrentReplicas failed because of java.lang.ClassCastException, continuing...
2015-09-18 13:18:33,720 WARN [sync.2] wal.FSHLog: DFSOutputStream.getNumCurrentReplicas failed because of java.lang.ClassCastException, continuing...
2015-09-18 13:18:33,721 WARN [sync.3] wal.FSHLog: DFSOutputStream.getNumCurrentReplicas failed because of java.lang.ClassCastException, continuing...
{noformat}
I killed it before my drive filled :)
This change looks suspicious. I grabbed a jstack too, if that's helpful. I'm running on hadoop 2.6.0/apache via homebrew. Mind taking a look?
> replace reflection in FSHlog with HdfsDataOutputStream#getCurrentBlockReplication()
> -----------------------------------------------------------------------------------
>
> Key: HBASE-14230
> URL: https://issues.apache.org/jira/browse/HBASE-14230
> Project: HBase
> Issue Type: Improvement
> Components: wal
> Reporter: Heng Chen
> Assignee: Heng Chen
> Priority: Minor
> Fix For: 2.0.0, 1.2.0, 1.3.0
>
> Attachments: HBASE-14230.patch
>
>
> As comment TODO said, we use {{HdfsDataOutputStream#getCurrentBlockReplication}} and {{DFSOutputStream.getPipeLine}} to replace reflection in FSHlog
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)