Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03412100B9 for ; Tue, 5 May 2015 13:38:06 +0000 (UTC) Received: (qmail 76636 invoked by uid 500); 5 May 2015 13:38:05 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 76608 invoked by uid 500); 5 May 2015 13:38:05 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 76598 invoked by uid 99); 5 May 2015 13:38:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2015 13:38:05 +0000 Date: Tue, 5 May 2015 13:38:05 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1621) NoSuchMethodError thrown when reporting storage configuration error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-1621?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Nadeau updated DRILL-1621: ---------------------------------- Fix Version/s: (was: 1.0.0) 1.2.0 > NoSuchMethodError thrown when reporting storage configuration error > ------------------------------------------------------------------- > > Key: DRILL-1621 > URL: https://issues.apache.org/jira/browse/DRILL-1621 > Project: Apache Drill > Issue Type: Bug > Components: Client - HTTP > Environment: Running embedded drill from sqlline within Eclipse o= n OSX > Reporter: Chris Westin > Priority: Minor > Labels: error, http, storage > Fix For: 1.2.0 > > > I tried to modify the dfs storage plugin on my instance. It was originall= y empty, and I tried to update it to > { > "type" : "file", > "enabled" : true, > "connection" : "file:///", > "workspaces" : { > "json" : { > "location" : "/Users/cwestin/drill/json/", > "writable" : true, > "storageformat" : "json" > } > }, > =E2=80=9Cformats" : { > =E2=80=9Cjson=E2=80=9D : { > "type" : =E2=80=9Cjson" > } > } > } > The UI appears to get wedged. And I got the following in the log file: > 2014-10-30 18:33:19 WARN HttpChannel:361 - /storage/dfs.json > javax.servlet.ServletException: org.glassfish.jersey.server.ContainerExce= ption: java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.ObjectWr= iter.getFactory()Lcom/fasterxml/jackson/core/JsonFactory; > =09at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java= :391) > =09at org.glassfish.jersey.servlet.ServletContainer.service(ServletContai= ner.java:382) > =09at org.glassfish.jersey.servlet.ServletContainer.service(ServletContai= ner.java:345) > =09at org.glassfish.jersey.servlet.ServletContainer.service(ServletContai= ner.java:220) > =09at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:7= 38) > =09at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.ja= va:551) > =09at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHan= dler.java:1111) > =09at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.jav= a:478) > =09at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHand= ler.java:1045) > =09at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler= .java:141) > =09at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapp= er.java:97) > =09at org.eclipse.jetty.server.Server.handle(Server.java:462) > =09at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279) > =09at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.j= ava:232) > =09at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.ja= va:534) > =09at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadP= ool.java:607) > =09at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPo= ol.java:536) > =09at java.lang.Thread.run(Thread.java:745) > Caused by: org.glassfish.jersey.server.ContainerException: java.lang.NoSu= chMethodError: com.fasterxml.jackson.databind.ObjectWriter.getFactory()Lcom= /fasterxml/jackson/core/JsonFactory; > =09at org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(Respon= seWriter.java:254) > =09at org.glassfish.jersey.servlet.internal.ResponseWriter.failure(Respon= seWriter.java:236) > =09at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerR= untime.java:437) > =09at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:= 275) > =09at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) > =09at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) > =09at org.glassfish.jersey.internal.Errors.process(Errors.java:315) > =09at org.glassfish.jersey.internal.Errors.process(Errors.java:297) > =09at org.glassfish.jersey.internal.Errors.process(Errors.java:267) > =09at org.glassfish.jersey.process.internal.RequestScope.runInScope(Reque= stScope.java:297) > =09at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.jav= a:252) > =09at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHa= ndler.java:1023) > =09at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java= :372) > =09... 17 more > Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.Ob= jectWriter.getFactory()Lcom/fasterxml/jackson/core/JsonFactory; > =09at com.fasterxml.jackson.jaxrs.cfg.EndpointConfigBase.initWriter(Endpo= intConfigBase.java:143) > =09at com.fasterxml.jackson.jaxrs.json.JsonEndpointConfig.forWriting(Json= EndpointConfig.java:45) > =09at com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider._configForWrit= ing(JacksonJsonProvider.java:209) > =09at com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider._configForWrit= ing(JacksonJsonProvider.java:46) > =09at com.fasterxml.jackson.jaxrs.base.ProviderBase.writeTo(ProviderBase.= java:392) > =09at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$Ter= minalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:263) > =09at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$Ter= minalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) > =09at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.pro= ceed(WriterInterceptorExecutor.java:162) > =09at org.glassfish.jersey.server.mvc.internal.TemplateMethodInterceptor.= aroundWriteTo(TemplateMethodInterceptor.java:77) > =09at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.pro= ceed(WriterInterceptorExecutor.java:162) > =09at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aro= undWriteTo(JsonWithPaddingInterceptor.java:103) > =09at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.pro= ceed(WriterInterceptorExecutor.java:162) > =09at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterc= eptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:88) > =09at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.pro= ceed(WriterInterceptorExecutor.java:162) > =09at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(Me= ssageBodyFactory.java:1154) > =09at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(S= erverRuntime.java:613) > =09at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse= (ServerRuntime.java:375) > =09at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerR= untime.java:365) > =09at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:= 272) > =09... 26 more > 2014-10-30 18:33:19 WARN HttpChannel:443 - Could not send response error= 500: javax.servlet.ServletException: org.glassfish.jersey.server.Container= Exception: java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.Obje= ctWriter.getFactory()Lcom/fasterxml/jackson/core/JsonFactory; -- This message was sent by Atlassian JIRA (v6.3.4#6332)