Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1592518844 for ; Fri, 21 Aug 2015 22:34:09 +0000 (UTC) Received: (qmail 54376 invoked by uid 500); 21 Aug 2015 22:33:56 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 54326 invoked by uid 500); 21 Aug 2015 22:33:56 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 54316 invoked by uid 99); 21 Aug 2015 22:33:56 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2015 22:33:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C30A3C019C for ; Fri, 21 Aug 2015 22:33:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id PWNM_4qnZ3ua for ; Fri, 21 Aug 2015 22:33:54 +0000 (UTC) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id AA08420F6D for ; Fri, 21 Aug 2015 22:33:53 +0000 (UTC) Received: by oiey141 with SMTP id y141so49879991oie.1 for ; Fri, 21 Aug 2015 15:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2E96mT3UUYlKDiFm1uo22lix94jHBqzuXjbqCEj5LzE=; b=viyZF5sF4Z3KIbepH75LglfoSO2tn6EqgvJ91wZ/cv5KQjRH9jNSG9Vcr9OCqLk1XX o73g8e9tF9cIGW/tQmAKRCvzyPiFoq74q4u/b4gFvvFlXWFRsDZ6lYTGF9plO9yaQYAg QRRSGxFlaaAHcze1aJw/zs9LwP2/jtQaHS6dvluZ/J8Ss1tepv6NxAoojhuQungvV1Bo bU5BDF1xS7qkIUCtoBZh6w0sUu8hs0KQgsW8kgAzonkL11ldeXLqbNHi0Y9bJuOTHhB8 D+ZzRoHdqDwLfaosgqxR8QWUx0zk5XvqGYSrHojgZHwA3v+N+l741QhammO25uzLRSG1 FRHg== MIME-Version: 1.0 X-Received: by 10.202.60.67 with SMTP id j64mr9557441oia.115.1440196427614; Fri, 21 Aug 2015 15:33:47 -0700 (PDT) Received: by 10.182.226.166 with HTTP; Fri, 21 Aug 2015 15:33:47 -0700 (PDT) In-Reply-To: <55D7A5F7.3040405@gmail.com> References: <55D7A5F7.3040405@gmail.com> Date: Fri, 21 Aug 2015 18:33:47 -0400 Message-ID: Subject: Re: Accumulo Monitor NullPointerException From: Eric Newton To: "user@accumulo.apache.org" Content-Type: multipart/alternative; boundary=001a113cd4ae798f28051dd9dc1e --001a113cd4ae798f28051dd9dc1e Content-Type: text/plain; charset=UTF-8 I don't think this is a dup of 3837. I've created https://issues.apache.org/jira/browse/ACCUMULO-3969 . -Eric On Fri, Aug 21, 2015 at 6:28 PM, Josh Elser wrote: > Hi Scott, > > Are you sure you're running Accumulo 1.6.3? That line number seems to > imply that you're running into > > https://issues.apache.org/jira/browse/ACCUMULO-3837 > > .. but that should be fixed in 1.6.3. Can you double-check please? > > - Josh > > > Scott wrote: > >> Hello, >> >> We have Accumulo 1.6.3 set up on the HortonWorks install with a basic >> cluster of one master and one tablet server. Initially everything seemed >> good but now I'm getting a NullPointerException when I go to the monitor >> web page. The logs also keep adding a message to that effect as well. I >> searched and couldn't find any posts with the same problem. I went back >> through all of the config files and made sure they conform to the >> configuration instructions. I'm hoping someone can point me to the right >> place to look for troubleshooting. >> >> http://:50095 responds with a page that has the following: >> >>
>> java.lang.NullPointerException
>> at org.apache.accumulo.monitor.Monitor.fetchData(Monitor.java:252)
>> at
>>
>> org.apache.accumulo.monitor.servlets.BasicServlet.doGet(BasicServlet.java:59)
>> at
>>
>> org.apache.accumulo.monitor.servlets.DefaultServlet.doGet(DefaultServlet.java:101)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
>> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
>> at
>> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
>> at
>>
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
>> at
>>
>> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
>> at
>>
>> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
>> at
>>
>> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
>> at
>> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
>> at
>>
>> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>> at
>>
>> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
>> at
>>
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>> at
>>
>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>> at org.eclipse.jetty.server.Server.handle(Server.java:370)
>> at
>>
>> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
>> at
>>
>> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
>> at
>>
>> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
>> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
>> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>> at
>>
>> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
>> at
>>
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
>> at
>>
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
>> at
>>
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>> at
>>
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>> at java.lang.Thread.run(Thread.java:745)
>> 
>> >> >> The logs are recording the following error: >> >> 2015-08-21 16:37:21,152 [monitor.Monitor] WARN : >> java.lang.NullPointerException >> at >> org.apache.accumulo.monitor.Monitor.fetchData(Monitor.java:252) >> at org.apache.accumulo.monitor.Monitor$2.run(Monitor.java:508) >> at >> org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34) >> at java.lang.Thread.run(Thread.java:745) >> >> Thanks, >> >> Scott >> > --001a113cd4ae798f28051dd9dc1e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I don't think this is a dup of 3837.=C2=A0 I'= ve created = https://issues.apache.org/jira/browse/ACCUMULO-3969 .

-Eri= c


On= Fri, Aug 21, 2015 at 6:28 PM, Josh Elser <josh.elser@gmail.com>= wrote:
Hi Scott,

Are you sure you're running Accumulo 1.6.3? That line number seems to i= mply that you're running into

https://issues.apache.org/jira/browse/ACCUMULO-38= 37

.. but that should be fixed in 1.6.3. Can you double-check please?

- Josh


Scott wrote:
Hello,

=C2=A0 =C2=A0We have Accumulo 1.6.3 set up on the HortonWorks install with = a basic
cluster of one master and one tablet server. Initially everything seemed good but now I'm getting a NullPointerException when I go to the monito= r
web page. The logs also keep adding a message to that effect as well. I
searched and couldn't find any posts with the same problem. I went back=
through all of the config files and made sure they conform to the
configuration instructions. I'm hoping someone can point me to the righ= t
place to look for troubleshooting.

http://<machine-name>:50095 responds with a page that has the followi= ng:

<pre>
java.lang.NullPointerException
at org.apache.accumulo.monitor.Monitor.fetchData(Monitor.java:252)
at
org.apache.accumulo.monitor.servlets.BasicServlet.doGet(BasicServlet.java:5= 9)
at
org.apache.accumulo.monitor.servlets.DefaultServlet.doGet(DefaultServlet.ja= va:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)<= br> at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:13= 7)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)=
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.jav= a:231)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.jav= a:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429= )
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java= :193)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java= :1020)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:13= 5)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:= 116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpC= onnection.java:494)
at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttp= Connection.java:971)
at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComple= te(AbstractHttpConnection.java:1033)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.jav= a:82)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint= .java:696)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.= java:53)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java= :608)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:= 543)
at java.lang.Thread.run(Thread.java:745)
</pre>


The logs are recording the following error:

2015-08-21 16:37:21,152 [monitor.Monitor] WARN :
java.lang.NullPointerException
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.accumulo.monitor.Monitor.fe= tchData(Monitor.java:252)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.accumulo.monitor.Monitor$2.= run(Monitor.java:508)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at
org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)<= br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.Thread.run(Thread.java:745)<= br>
Thanks,

=C2=A0 Scott

--001a113cd4ae798f28051dd9dc1e--