drill-dev 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-2564) TestWriteToDisk is flaky
Date Wed, 25 Mar 2015 20:15:57 GMT
Chris Westin created DRILL-2564:
-----------------------------------

             Summary: TestWriteToDisk is flaky
                 Key: DRILL-2564
                 URL: https://issues.apache.org/jira/browse/DRILL-2564
             Project: Apache Drill
          Issue Type: Bug
          Components: Storage - Other
    Affects Versions: 0.8.0
         Environment: OSX
            Reporter: Chris Westin
            Assignee: Jacques Nadeau


Roughly every third run of mvn install, TestWriteToDisk fails. I run it standalone in an IDE,
and it passes. I run mvn install again, and it passes.

Here's the stack trace I got from the most recent failure.

java.lang.RuntimeException: Unable to deserialize "/tmp/drill/sys.storage_plugins/hive.sys.drill"
	at org.apache.drill.exec.store.sys.local.FilePStore.get(FilePStore.java:140)
	at org.apache.drill.exec.store.sys.local.FilePStore$Iter$DeferredEntry.getValue(FilePStore.java:219)
	at org.apache.drill.exec.store.StoragePluginRegistry.createPlugins(StoragePluginRegistry.java:166)
	at org.apache.drill.exec.store.StoragePluginRegistry.init(StoragePluginRegistry.java:130)
	at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:239)
	at org.apache.drill.exec.cache.TestWriteToDisk.test(TestWriteToDisk.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:606)
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Could not resolve type id
'hive' into a subtype of [simple type, class org.apache.drill.common.logical.StoragePluginConfig]
 at [Source: [B@378bb9dd; line: 2, column: 3]
	at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
	at com.fasterxml.jackson.databind.DeserializationContext.unknownTypeException(DeserializationContext.java:849)
	at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:167)
	at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:99)
	at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:84)
	at com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:132)
	at com.fasterxml.jackson.databind.deser.impl.TypeWrappedDeserializer.deserialize(TypeWrappedDeserializer.java:41)
	at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1269)
	at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:912)
	at org.apache.drill.exec.store.sys.serialize.JacksonSerializer.deserialize(JacksonSerializer.java:44)
	at org.apache.drill.exec.store.sys.local.FilePStore.get(FilePStore.java:138)
	... 9 more

When this happens, I sometimes rm -rf /tmp/drill, and then it works again. But I shouldn't
have to do that, nor should this fail apparently at random.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message