java.sql.SQLException: Failure trying to connect to Drill.

incubator-drill-user | Lulu Prat | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to read subtype?

    GitHub | 3 years ago | gaydenko
    com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate abstract type [simple type, class scala.runtime.Nothing$] (need to add/enable type information?) at [Source: {"i":42}; line: 1, column: 2]
  2. 0

    Deserializing nested json's with jackson

    Stack Overflow | 5 years ago | labbyfrost
    com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate value of type [simple type, class JsonPath.Cpld] from JSON String; no single-String constructor/factory method (through reference chain: JsonPath.mainbean["clientPayload"])
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Reading an object of inner class throws MarkLogicIOException

    GitHub | 3 years ago | sravanr
    com.marklogic.client.MarkLogicIOException: com.fasterxml.jackson.databind.JsonMappingException: No suitable constructor found for type [simple type, class com.marklogic.javaclient.TestPOJOsample1$Student]: can not instantiate from JSON object (need to add/enable type information?) at [Source: java.io.InputStreamReader@37e4320e; line: 1, column: 54]
  5. 0

    Problem with type information

    GitHub | 3 years ago | WaDelma
    com.fasterxml.jackson.databind.JsonMappingException: Unexpected token (START_OBJECT), expected START_ARRAY: need JSON Array to contain As.WRAPPER_ARRAY type information for class Test$Entity at [Source: {"entity":["Test$EntityImpl",{"id":"7063a77b-6bc7-4325-b22b-1a19a511f604","controller":["Test$ControllerImpl",{"id":"9dc32aaa-c58d-4d43-9574-22e131cc491f","controlled":"7063a77b-6bc7-4325-b22b-1a19a511f604","controller":"impl"}],"entity":"impl"}]}; line: 1, column: 1]

  1. iferca 3 times, last 2 weeks ago
  2. Alireza Mohamadi 5 times, last 2 weeks ago
  3. Andreas Häber 1 times, last 4 weeks ago
  4. SteVio1989 2 times, last 1 month ago
  5. rp 2 times, last 2 months ago
17 more registered users
78 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.fasterxml.jackson.databind.JsonMappingException

    Could not resolve type id 'hbase' into a subtype of [simple type, class org.apache.drill.common.logical.StorageEngineConfig] at [Source: java.io.StringReader@6ce6f5d6; line: 29, column: 2]

    at com.fasterxml.jackson.databind.JsonMappingException.from()
  2. Jackson
    ObjectMapper.readValue
    1. com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
    2. com.fasterxml.jackson.databind.DeserializationContext.unknownTypeException(DeserializationContext.java:701)
    3. com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:155)
    4. com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:98)
    5. com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:82)
    6. com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:107)
    7. com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringMap(MapDeserializer.java:431)
    8. com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:310)
    9. com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:26)
    10. com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:375)
    11. com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:559)
    12. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObjectUsingNonDefault(BeanDeserializer.java:393)
    13. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:289)
    14. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
    15. com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2796)
    16. com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:1942)
    16 frames
  3. org.apache.drill
    DrillHandler.onConnectionInit
    1. org.apache.drill.jdbc.DrillHandler.onConnectionInit(DrillHandler.java:76)
    1 frame
  4. Calcite Core
    UnregisteredDriver.connect
    1. net.hydromatic.optiq.jdbc.UnregisteredDriver.connect(UnregisteredDriver.java:127)
    1 frame
  5. sqlline
    SqlLine$Commands.connect
    1. sqlline.SqlLine$DatabaseConnection.connect(SqlLine.java:4802)
    2. sqlline.SqlLine$DatabaseConnection.getConnection(SqlLine.java:4853)
    3. sqlline.SqlLine$Commands.connect(SqlLine.java:4094)
    4. sqlline.SqlLine$Commands.connect(SqlLine.java:4003)
    4 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  7. sqlline
    SqlLine.main
    1. sqlline.SqlLine$ReflectiveCommandHandler.execute(SqlLine.java:2964)
    2. sqlline.SqlLine.dispatch(SqlLine.java:878)
    3. sqlline.SqlLine.initArgs(SqlLine.java:652)
    4. sqlline.SqlLine.begin(SqlLine.java:699)
    5. sqlline.SqlLine.mainWithInputRedirection(SqlLine.java:460)
    6. sqlline.SqlLine.main(SqlLine.java:443)
    6 frames