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

Jason Dere commented on HIVE-18500:
-----------------------------------

+1

> annoying exceptions from LLAP Jmx view in the logs
> --------------------------------------------------
>
>                 Key: HIVE-18500
>                 URL: https://issues.apache.org/jira/browse/HIVE-18500
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Major
>         Attachments: HIVE-18500.patch
>
>
> This can show for multiple things; should be handled better 
> {noformat}
>  - /jmx ()] org.apache.hive.http.JMXJsonServlet: getting attribute 
> UsageThreshold of java.lang:type=MemoryPool,name=G1 Survivor Space threw an 
> exception
> javax.management.RuntimeMBeanException: 
> java.lang.UnsupportedOperationException: Usage threshold is not supported
>       at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
>  ~[?:1.8.0_25]
>       at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)
>  ~[?:1.8.0_25]
>       at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:651)
>  ~[?:1.8.0_25]
>       at 
> com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678) 
> ~[?:1.8.0_25]
>       at 
> org.apache.hive.http.JMXJsonServlet.writeAttribute(JMXJsonServlet.java:322) 
> ~[hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235]
>       at 
> org.apache.hive.http.JMXJsonServlet.listBeans(JMXJsonServlet.java:300) 
> ~[hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235]
>       at org.apache.hive.http.JMXJsonServlet.doGet(JMXJsonServlet.java:194) 
> ~[hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235]
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) 
> ~[servlet-api-2.5.jar:2.5]
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) 
> ~[servlet-api-2.5.jar:2.5]
>       at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565) 
> ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) 
> ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) 
> ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:521) 
> ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) 
> ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) 
> ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:312)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at org.eclipse.jetty.server.Server.handle(Server.java:345) 
> ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:910)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634) 
> ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) 
> ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
>  ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
>       at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
> Caused by: java.lang.UnsupportedOperationException: Usage threshold is not 
> supported
>       at 
> sun.management.MemoryPoolImpl.getUsageThreshold(MemoryPoolImpl.java:106) 
> ~[?:1.8.0_25]
>       at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) ~[?:?]
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_25]
>       at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
>       at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) ~[?:1.8.0_25]
>       at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) ~[?:?]
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_25]
>       at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
>       at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275) ~[?:1.8.0_25]
>       at 
> com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:193)
>  ~[?:1.8.0_25]
>       at 
> com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:175)
>  ~[?:1.8.0_25]
>       at 
> com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117)
>  ~[?:1.8.0_25]
>       at 
> com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:54)
>  ~[?:1.8.0_25]
>       at 
> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) 
> ~[?:1.8.0_25]
>       at 
> com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:83) 
> ~[?:1.8.0_25]
>       at 
> com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:206) 
> ~[?:1.8.0_25]
>       at javax.management.StandardMBean.getAttribute(StandardMBean.java:372) 
> ~[?:1.8.0_25]
>       at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)
>  ~[?:1.8.0_25]
>       ... 31 more{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to