You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/15 23:11:40 UTC

[jira] [Commented] (DRILL-4277) Jdbc Storage Plugin doesn't correctly add metadata for physical serialization

    [ https://issues.apache.org/jira/browse/DRILL-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15102558#comment-15102558 ] 

ASF GitHub Bot commented on DRILL-4277:
---------------------------------------

GitHub user jacques-n opened a pull request:

    https://github.com/apache/drill/pull/326

    DRILL-4277: Fix issue with JdbcPrel serialization

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jacques-n/drill DRILL-4277

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/326.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #326
    
----
commit 4b193d71a9f3e06aadf59c66832bcbcb4b060c92
Author: Jacques Nadeau <ja...@apache.org>
Date:   2016-01-11T04:08:03Z

    DRILL-4246: Fix Allocator concurrency bug and improve error detection
    
    - Rename the internal DrillBuf field to udle to better express its purpose.
    - Rename AllocatorManager to AllocationManager to better express its purpose.
    - Address situation where dangling ledger could be transferred into while it was being released released by protecting association and release inside the AllocationManager.
    - Add allocator assertions to ensure allocator operations are done while the allocator is open.
    - Simplify AllocationManager locking model.
    - Exclude HDFS reference to netty-all
    - Improve debugging messages for allocators (and fix debug message bugs)

commit b5766f833371acf630f36805418d6103150d5552
Author: Jacques Nadeau <ja...@apache.org>
Date:   2016-01-15T19:45:29Z

    DRILL-4277: Fix for JdbcPrel serialization issue.

----


> Jdbc Storage Plugin doesn't correctly add metadata for physical serialization
> -----------------------------------------------------------------------------
>
>                 Key: DRILL-4277
>                 URL: https://issues.apache.org/jira/browse/DRILL-4277
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Jacques Nadeau
>            Assignee: Jacques Nadeau
>             Fix For: 1.5.0
>
>
> Example Trace:
> {code}
> Error: SYSTEM ERROR: IllegalStateException: Already had POJO for id
> (java.lang.Integer)
> [com.fasterxml.jackson.annotation.ObjectIdGenerator$IdKey@3372bbe8]*
> *Fragment 2:0*
> *[Error Id: 57494209-04e8-4580-860d-461cf50b41f8 on
> ip-x-x-x-x.ec2.internal:31010]*
> *  (com.fasterxml.jackson.databind.JsonMappingException) Already had POJO
> for id (java.lang.Integer)
> [com.fasterxml.jackson.annotation.ObjectIdGenerator$IdKey@3372bbe8]
> (through reference chain:
> org.apache.drill.exec.physical.config.BroadcastSender["destinations"])*
> *    com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath():210*
> *    com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath():177*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow():1420*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased():351*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault():1056*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject():264*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeWithObjectId():1028*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther():154*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize():126*
> *
> com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId():113*
> *
> com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject():84*
> *
> com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType():132*
> *
> com.fasterxml.jackson.databind.deser.impl.TypeWrappedDeserializer.deserialize():41*
> *    com.fasterxml.jackson.databind.ObjectReader._bindAndClose():1269*
> *    com.fasterxml.jackson.databind.ObjectReader.readValue():896*
> *
> org.apache.drill.exec.planner.PhysicalPlanReader.readFragmentOperator():94*
> *    org.apache.drill.exec.work.fragment.FragmentExecutor.run():227*
> *    org.apache.drill.common.SelfCleaningRunnable.run():38*
> *    java.util.concurrent.ThreadPoolExecutor.runWorker():1145*
> *    java.util.concurrent.ThreadPoolExecutor$Worker.run():615*
> *    java.lang.Thread.run():745*
> *  Caused By (java.lang.IllegalStateException) Already had POJO for id
> (java.lang.Integer)
> [com.fasterxml.jackson.annotation.ObjectIdGenerator$IdKey@3372bbe8]*
> *    com.fasterxml.jackson.annotation.SimpleObjectIdResolver.bindItem():20*
> *
> com.fasterxml.jackson.databind.deser.impl.ReadableObjectId.bindItem():66*
> *
> com.fasterxml.jackson.databind.deser.impl.PropertyValueBuffer.handleIdValue():117*
> *
> com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build():169*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased():349*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault():1056*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject():264*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeWithObjectId():1028*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther():154*
> *
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize():126*
> *
> com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId():113*
> *
> com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject():84*
> *
> com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType():132*
> *
> com.fasterxml.jackson.databind.deser.impl.TypeWrappedDeserializer.deserialize():41*
> *    com.fasterxml.jackson.databind.ObjectReader._bindAndClose():1269*
> *    com.fasterxml.jackson.databind.ObjectReader.readValue():896*
> *
> org.apache.drill.exec.planner.PhysicalPlanReader.readFragmentOperator():94*
> *    org.apache.drill.exec.work.fragment.FragmentExecutor.run():227*
> *    org.apache.drill.common.SelfCleaningRunnable.run():38*
> *    java.util.concurrent.ThreadPoolExecutor.runWorker():1145*
> *    java.util.concurrent.ThreadPoolExecutor$Worker.run():615*
> *    java.lang.Thread.run():745 (state=,code=0)*
> {code}



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