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

Oleg Zinoviev commented on DRILL-6721:
--------------------------------------

Some stacktrace:

2018-08-29 12:20:34,215 [24799aa1-2d41-73f7-dd8d-109d3044d952:frag:4:0] ERROR 
o.a.d.e.w.fragment.FragmentExecutor - SYSTEM ERROR: JsonMappingException: No 
suitable constructor found for type [simple type, class 
org.apache.drill.exec.physical.base.SchemalessScan]: can not instantiate from 
JSON object (missing default constructor or creator, or perhaps need to 
add/enable type information?)
 at [Source: {
  "pop" : "broadcast-sender",
  "@id" : 0,
  "receiver-major-fragment" : 1,
  "child" : {
    "pop" : "project",
    "@id" : 1,
    "exprs" : [ {
      "ref" : "`T63¦¦**`",
      "expr" : "`T63¦¦**`"
    }, {
      "ref" : "`$f1`",
      "expr" : "`T63¦¦action_time`"
    }, {
      "ref" : "`$f2`",
      "expr" : "`T63¦¦tab_number`"
    } ],
    "child" : {
      "pop" : "project",
      "@id" : 2,
      "exprs" : [ {
        "ref" : "`T63¦¦**`",
        "expr" : "`**`"
      } ],
      "child" : {
        "pop" : "schemaless-scan",
        "@id" : 3,
        "userName" : "root",
        "cost" : 0.0
      },
      "outputProj" : false,
      "initialAllocation" : 1000000,
      "maxAllocation" : 10000000000,
      "cost" : 1.0
    },
    "outputProj" : false,
    "initialAllocation" : 1000000,
    "maxAllocation" : 10000000000,
    "cost" : 1.0
  },
  "destinations" : [ {
    "minorFragmentId" : 0,
    "endpoint" : 
"CiBkZW1vLWlkdnAtZGF0YS1pZHZwLWRhdGEtZHJpbGwtMRCi8gEYo/IBIKTyATIGMS4xMy4wOAE="
  }, {
    "minorFragmentId" : 1,
    "endpoint" : 
"CiBkZW1vLWlkdnAtZGF0YS1pZHZwLWRhdGEtZHJpbGwtMRCi8gEYo/IBIKTyATIGMS4xMy4wOAE="
  }, {
    "minorFragmentId" : 2,
    "endpoint" : 
"CiBkZW1vLWlkdnAtZGF0YS1pZHZwLWRhdGEtZHJpbGwtMRCi8gEYo/IBIKTyATIGMS4xMy4wOAE="
  }, {
    "minorFragmentId" : 3,
    "endpoint" : 
"CiBkZW1vLWlkdnAtZGF0YS1pZHZwLWRhdGEtZHJpbGwtMRCi8gEYo/IBIKTyATIGMS4xMy4wOAE="
  }, {
    "minorFragmentId" : 4,
    "endpoint" : 
"CiBkZW1vLWlkdnAtZGF0YS1pZHZwLWRhdGEtZHJpbGwtMRCi8gEYo/IBIKTyATIGMS4xMy4wOAE="
  }, {
    "minorFragmentId" : 5,
    "endpoint" : 
"CiBkZW1vLWlkdnAtZGF0YS1pZHZwLWRhdGEtZHJpbGwtMRCi8gEYo/IBIKTyATIGMS4xMy4wOAE="
  }, {
    "minorFragmentId" : 6,
    "endpoint" : 
"CiBkZW1vLWlkdnAtZGF0YS1pZHZwLWRhdGEtZHJpbGwtMRCi8gEYo/IBIKTyATIGMS4xMy4wOAE="
  } ],
  "initialAllocation" : 1000000,
  "maxAllocation" : 10000000000,
  "cost" : 1.0
}; line: 27, column: 9] (through reference chain: 
org.apache.drill.exec.physical.config.BroadcastSender["child"]->org.apache.drill.exec.physical.config.Project["child"]->org.apache.drill.exec.physical.config.Project["child"])


> SchemalessScan cannot be deserialized by Jackson
> ------------------------------------------------
>
>                 Key: DRILL-6721
>                 URL: https://issues.apache.org/jira/browse/DRILL-6721
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.13.0, 1.14.0
>            Reporter: Oleg Zinoviev
>            Priority: Major
>
> SchemalessScan has a JsonTypeName annotation, but default (or marked with 
> @JsonCreator) constructor is missing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to