drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-1683) malformed config file parse exception silently swallowed - drill fails to start
Date Tue, 11 Nov 2014 03:23:34 GMT
Chris Westin created DRILL-1683:

             Summary: malformed config file parse exception silently swallowed - drill fails
to start
                 Key: DRILL-1683
                 URL: https://issues.apache.org/jira/browse/DRILL-1683
             Project: Apache Drill
          Issue Type: Bug
          Components: Client - CLI
         Environment: Running drill in embedded mode via sqlline on OSX under eclipse.
            Reporter: Chris Westin

For unknown reasons, the file /tmp/drill/sys.storage_plugins/hbase.sys.drill contains
  "type" : "hbase",
  "config" : {
    "hbase.zookeeper.quorum" : "localhost",
    "hbase.zookeeper.property.clientPort" : "2181"
  "size.calculator.enabled" : false,
  "enabled" : false

This causes a JsonMappingException with
Could not resolve type id 'hbase' into a subtype of [simple type, class org.apache.drill.common.logical.StoragePluginConfig]

String) line: 155	
AsPropertyTypeDeserializer._deserializeTypedForId(JsonParser, DeserializationContext, TokenBuffer)
line: 98	
AsPropertyTypeDeserializer.deserializeTypedFromObject(JsonParser, DeserializationContext)
line: 82	
AbstractDeserializer.deserializeWithType(JsonParser, DeserializationContext, TypeDeserializer)
line: 107	
TypeWrappedDeserializer.deserialize(JsonParser, DeserializationContext) line: 36	
ObjectReader._bindAndClose(JsonParser, Object) line: 1206	
ObjectReader.readValue(byte[]) line: 836	
JacksonSerializer<X>.deserialize(byte[]) line: 44	
LocalPStore<V>.get(String, boolean) line: 99	
LocalPStore<V>.get(String) line: 89	
LocalPStore$Iter$DeferredEntry.getValue() line: 197	
StoragePluginRegistry.createPlugins() line: 166	
StoragePluginRegistry.init() line: 130	
Drillbit.run() line: 148	
DrillJdbc41Factory$DrillJdbc41Connection(DrillConnectionImpl).<init>(Driver, AvaticaFactory,
String, Properties) line: 79	
DrillJdbc41Factory$DrillJdbc41Connection.<init>(Driver, DrillFactory, String, Properties)
line: 88	
DrillJdbc41Factory.newDrillConnection(Driver, DrillFactory, String, Properties) line: 57	
DrillJdbc41Factory.newDrillConnection(Driver, DrillFactory, String, Properties) line: 43	
DrillJdbc41Factory(DrillFactory).newConnection(UnregisteredDriver, AvaticaFactory, String,
Properties) line: 51	
Driver(UnregisteredDriver).connect(String, Properties) line: 126	
SqlLine$DatabaseConnection.connect() line: 4732	

If I remove that file, I am then able to start the embedded drillbit. I note that after I
do so, the file has been recreated with different contents. If the problem is because the
configuration for this storage plugin has changed, then this seems like it will cause many
mysterious startup failures after upgrading.

This message was sent by Atlassian JIRA

View raw message