[jira] [Commented] (HBASE-18296) NPE in ProcedureExecutor.removeChore
[ https://issues.apache.org/jira/browse/HBASE-18296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16115661#comment-16115661 ] Ping Liu commented on HBASE-18296: -- [~mdrob] Do you remember which test it is where you found this error? There are many places where HRegionServer starts up. It'll be great if the specific test can be identified. > NPE in ProcedureExecutor.removeChore > > > Key: HBASE-18296 > URL: https://issues.apache.org/jira/browse/HBASE-18296 > Project: HBase > Issue Type: Bug > Components: proc-v2 >Affects Versions: 2.0.0-alpha-1 >Reporter: Mike Drob > > Saw this in logs while debugging other failing tests: > {noformat} > 2017-06-29 13:54:15,995 ERROR [M:0;172.18.16.40:55484] > server.NIOServerCnxnFactory$1(44): Thread > Thread[M:0;172.18.16.40:55484,5,FailOnTimeoutGroup] died > java.lang.NullPointerException > at > org.apache.hadoop.hbase.procedure2.ProcedureExecutor.removeChore(ProcedureExecutor.java:656) > at > org.apache.hadoop.hbase.master.assignment.AssignmentManager.stop(AssignmentManager.java:233) > at > org.apache.hadoop.hbase.master.HMaster.stopServiceThreads(HMaster.java:1154) > at > org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:1189) > at java.lang.Thread.run(Thread.java:748) > {noformat} > I think it was related to an initialization failure, but we should code more > defensively anyway -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-10998) NPE jmx.JMXJsonServlet: getting attribute
[ https://issues.apache.org/jira/browse/HBASE-10998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065152#comment-16065152 ] Ping Liu commented on HBASE-10998: -- @Stack and Rural, Could you describe how you saw this exception? I try to reproduce it but don't know how to start. Any steps to take? Any test case? Thanks! > NPE jmx.JMXJsonServlet: getting attribute > - > > Key: HBASE-10998 > URL: https://issues.apache.org/jira/browse/HBASE-10998 > Project: HBase > Issue Type: Bug > Components: metrics >Reporter: stack >Priority: Minor > Labels: beginner > > Saw this running tcollector against trunk. > {code} > 2014-04-15 22:22:10,426 ERROR [775807613@qtp-923083575-14] > jmx.JMXJsonServlet: getting attribute > Namespace_default_table_myTestSplit_region_72100881c92b0c568ed37721842245a6_metric_get_max > of Hadoop:service=HBase,name=RegionServer,sub=Regions threw an exception > javax.management.RuntimeMBeanException: java.lang.NullPointerException > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:651) > at > com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678) > at > org.apache.hadoop.jmx.JMXJsonServlet.writeAttribute(JMXJsonServlet.java:341) > at > org.apache.hadoop.jmx.JMXJsonServlet.listBeans(JMXJsonServlet.java:319) > at org.apache.hadoop.jmx.JMXJsonServlet.doGet(JMXJsonServlet.java:212) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221) > at > org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter.doFilter(StaticUserWebFilter.java:109) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) > at > org.apache.hadoop.http.HttpServer$QuotingInputFilter.doFilter(HttpServer.java:1087) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) > at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) > at > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) > at > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > Caused by: java.lang.NullPointerException > at > org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.updateAttrCache(MetricsSourceAdapter.java:241) > at > org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.updateJmxCache(MetricsSourceAdapter.java:176) > at > org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.getAttribute(MetricsSourceAdapter.java:101) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647) > ... 29 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)