You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/12/18 00:58:00 UTC
[jira] Updated: (HBASE-3372) HRS shouldn't print a full stack for
ServerNotRunningException
[ https://issues.apache.org/jira/browse/HBASE-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Daniel Cryans updated HBASE-3372:
--------------------------------------
Attachment: HBASE-3372.patch
This patch adds some introspection in the RemoteException and special cases ServerNotRunningException with a nicer message and doesn't print a stack trace.
> HRS shouldn't print a full stack for ServerNotRunningException
> --------------------------------------------------------------
>
> Key: HBASE-3372
> URL: https://issues.apache.org/jira/browse/HBASE-3372
> Project: HBase
> Issue Type: Improvement
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Fix For: 0.90.0
>
> Attachments: HBASE-3372.patch
>
>
> I think that this exception really isn't one, and could easily confuse some users or delay debugging:
> {noformat}
> 2010-12-17 15:43:07,766 WARN [RegionServer:1;h149.sfo.stumble.net,57194,1292629386672]
> regionserver.HRegionServer(1422): Unable to connect to master. Retrying. Error was:
> org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hbase.ipc.ServerNotRunningException: Server is not running yet
> at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1035)
> at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:753)
> at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:257)
> at $Proxy11.getProtocolVersion(Unknown Source)
> at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:419)
> at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:393)
> at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:444)
> at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:349)
> at org.apache.hadoop.hbase.regionserver.HRegionServer.getMaster(HRegionServer.java:1414)
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.