hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1339) NPE in HCM.procesRow called from master.jsp
Date Wed, 22 Apr 2009 23:16:47 GMT

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

stack commented on HBASE-1339:
------------------------------

This bit of code is getting an empty HRI:

{code}
        public boolean processRow(RowResult rowResult) throws IOException {
          HRegionInfo info = Writables.getHRegionInfo(
              rowResult.get(COL_REGIONINFO));

          // Only examine the rows where the startKey is zero length
          if (info.getStartKey().length == 0) {
            uniqueTables.add(info.getTableDesc());
          }
          return true;
        }
{code}

Thats odd.

> NPE in HCM.procesRow called from master.jsp
> -------------------------------------------
>
>                 Key: HBASE-1339
>                 URL: https://issues.apache.org/jira/browse/HBASE-1339
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>
> {code}
> 2009-04-22 02:10:34,710 WARN /: /master.jsp:
> java.lang.NullPointerException
>     at org.apache.hadoop.hbase.client.HConnectionManager$TableServers$1.processRow(HConnectionManager.java:344)
>     at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:64)
>     at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:29)
>     at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.listTables(HConnectionManager.java:351)
>     at org.apache.hadoop.hbase.client.HBaseAdmin.listTables(HBaseAdmin.java:121)
>     at org.apache.hadoop.hbase.generated.master.master_jsp._jspService(master_jsp.java:121)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
>     at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)
>     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>     at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
>     at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
>     at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
>     at org.mortbay.http.HttpServer.service(HttpServer.java:954)
>     at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
>     at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
>     at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
>     at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>     at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>     at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message