hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5595) Fix NoSuchMethodException in 0.92 when running on local filesystem
Date Sun, 18 Mar 2012 04:57:44 GMT

    [ https://issues.apache.org/jira/browse/HBASE-5595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232165#comment-13232165
] 

Uma Maheswara Rao G commented on HBASE-5595:
--------------------------------------------

Attached the patch for trunk.
I feel we can just skip the exception if NoSuchMethoException as Zhihong Yu mentioned in other
JIRA HBASE-5568 and also can provide the log info clearly. Patch contains the same.
                
> Fix NoSuchMethodException in 0.92 when running on local filesystem
> ------------------------------------------------------------------
>
>                 Key: HBASE-5595
>                 URL: https://issues.apache.org/jira/browse/HBASE-5595
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Critical
>             Fix For: 0.92.2
>
>         Attachments: HBASE-5595.patch
>
>
> Fix this ugly exception that shows when running 0.92.1 when on local filesystem:
> {code}
> 2012-03-16 10:54:48,351 INFO org.apache.hadoop.hbase.regionserver.wal.HLog: getNumCurrentReplicas--HDFS-826
not available; hdfs_out=org.apache.hadoop.fs.FSDataOutputStream@301abf87
> java.lang.NoSuchMethodException: org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer.getNumCurrentReplicas()
>         at java.lang.Class.getDeclaredMethod(Class.java:1937)
>         at org.apache.hadoop.hbase.regionserver.wal.HLog.getGetNumCurrentReplicas(HLog.java:425)
>         at org.apache.hadoop.hbase.regionserver.wal.HLog.<init>(HLog.java:408)
>         at org.apache.hadoop.hbase.regionserver.wal.HLog.<init>(HLog.java:331)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.instantiateHLog(HRegionServer.java:1229)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.setupWALAndReplication(HRegionServer.java:1218)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.handleReportForDutyResponse(HRegionServer.java:937)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:648)
>         at java.lang.Thread.run(Thread.java:680)
> {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

        

Mime
View raw message