Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3372

HRS shouldn't print a full stack for ServerNotRunningException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.90.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I think that this exception really isn't one, and could easily confuse some users or delay debugging:

      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)
      

        Attachments

        1. HBASE-3372.patch
          1 kB
          Jean-Daniel Cryans

          Activity

            People

            • Assignee:
              jdcryans Jean-Daniel Cryans
              Reporter:
              jdcryans Jean-Daniel Cryans
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: