Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-3940

issue when restarting zeppelin server getting json syntax exception

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8.0
    • None
    • Homepage
    • None

    Description

      MultiException stack 1 of 1
      com.google.gson.JsonSyntaxException: duplicate key: snappydata-zeppelin
      at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:191)
      at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:146)
      at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
      at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
      at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
      at com.google.gson.Gson.fromJson(Gson.java:791)
      at com.google.gson.Gson.fromJson(Gson.java:757)
      at org.apache.zeppelin.helium.HeliumOnlineRegistry.getAll(HeliumOnlineRegistry.java:95)
      at org.apache.zeppelin.helium.Helium.getAllPackageInfo(Helium.java:170)
      at org.apache.zeppelin.helium.Helium.getAllPackageInfo(Helium.java:155)
      at org.apache.zeppelin.helium.Helium.<init>(Helium.java:70)
      at org.apache.zeppelin.server.ZeppelinServer.<init>(ZeppelinServer.java:169)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1375)
      at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1083)
      at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:978)
      at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1082)
      at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1074)
      at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.createAndInitialize(AbstractHk2InjectionManager.java:213)
      at org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.createAndInitialize(ImmediateHk2InjectionManager.java:54)
      at org.glassfish.jersey.server.ApplicationConfigurator.createApplication(ApplicationConfigurator.java:138)
      at org.glassfish.jersey.server.ApplicationConfigurator.init(ApplicationConfigurator.java:96)
      at org.glassfish.jersey.server.ApplicationHandler.lambda$initialize$0(ApplicationHandler.java:313)
      at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
      at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:313)
      at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:282)
      at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:335)
      at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:178)
      at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:370)
      at javax.servlet.GenericServlet.init(GenericServlet.java:244)
      at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
      at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
      at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      at org.eclipse.jetty.server.Server.start(Server.java:387)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      at org.eclipse.jetty.server.Server.doStart(Server.java:354)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:215)
      Jan 09, 2019 9:30:23 AM org.glassfish.jersey.internal.Errors logErrors
      WARNING: The following warnings have been detected: WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.zeppelin.rest.InterpreterRestApi.listInterpreter(java.lang.String), should not consume any entity.
      WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.zeppelin.rest.CredentialRestApi.getCredentials(java.lang.String) throws java.io.IOException,java.lang.IllegalArgumentException, should not consume any entity.
      WARNING: The (sub)resource method createNote in org.apache.zeppelin.rest.NotebookRestApi contains empty path annotation.
      WARNING: The (sub)resource method getNoteList in org.apache.zeppelin.rest.NotebookRestApi contains empty path annotation.

      WARN [2019-01-09 09:30:23,269] ({main} WebAppContext.java[doStart]:514) - Failed startup of context o.e.j.w.WebAppContext@679b62af{/,file:/C:/Users/mnagappan/Downloads/zeppelin-0.8.0-bin-all/zeppelin-0.8.0-bin-all/webapps/webapp/,STARTING}

      {C:\Users\mnagappan\Downloads\zeppelin-0.8.0-bin-all\zeppelin-0.8.0-bin-all\zeppelin-web-0.8.0.war}

      javax.servlet.ServletException: rest@355bd4==org.glassfish.jersey.servlet.ServletContainer,-1,false
      at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:637)
      at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
      at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      at org.eclipse.jetty.server.Server.start(Server.java:387)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      at org.eclipse.jetty.server.Server.doStart(Server.java:354)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:215)
      Caused by: A MultiException has 1 exceptions. They are:
      1. com.google.gson.JsonSyntaxException: duplicate key: snappydata-zeppelin

      at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1085)
      at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:978)
      at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1082)
      at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1074)
      at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.createAndInitialize(AbstractHk2InjectionManager.java:213)
      at org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.createAndInitialize(ImmediateHk2InjectionManager.java:54)
      at org.glassfish.jersey.server.ApplicationConfigurator.createApplication(ApplicationConfigurator.java:138)
      at org.glassfish.jersey.server.ApplicationConfigurator.init(ApplicationConfigurator.java:96)
      at org.glassfish.jersey.server.ApplicationHandler.lambda$initialize$0(ApplicationHandler.java:313)
      at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
      at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:313)
      at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:282)
      at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:335)
      at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:178)
      at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:370)
      at javax.servlet.GenericServlet.init(GenericServlet.java:244)
      at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
      ... 20 more
      Caused by: com.google.gson.JsonSyntaxException: duplicate key: snappydata-zeppelin
      at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:191)
      at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:146)
      at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
      at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
      at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
      at com.google.gson.Gson.fromJson(Gson.java:791)
      at com.google.gson.Gson.fromJson(Gson.java:757)
      at org.apache.zeppelin.helium.HeliumOnlineRegistry.getAll(HeliumOnlineRegistry.java:95)
      at org.apache.zeppelin.helium.Helium.getAllPackageInfo(Helium.java:170)
      at org.apache.zeppelin.helium.Helium.getAllPackageInfo(Helium.java:155)
      at org.apache.zeppelin.helium.Helium.<init>(Helium.java:70)
      at org.apache.zeppelin.server.ZeppelinServer.<init>(ZeppelinServer.java:169)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1375)
      at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1083)
      ... 36 more

      Attachments

        1. error.PNG
          11 kB
          Madhubala

        Activity

          People

            Unassigned Unassigned
            Madhubala Madhubala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: