[
https://issues.apache.org/jira/browse/DRILL-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175582#comment-16175582
]
Timothy Farkas commented on DRILL-5809:
---------------------------------------
[~dechanggu] This command is working for me locally. Unfortunately, my change
has changed the format of the configuration data being stored in zookeeper. So
I think what is happening is that your new drill cluster is reusing
configuration stored is zookeeper from a previous drill cluster. I'm not seeing
this problem locally because I don't have any previous state stored for my
local drill cluster. There are two possible fixes:
# You clear the data stored in zookeeper for the cluster. The down side to this
is that you'll loose all your system option configurations.
# I try to make the new data format backward compatible with the old data
format. This would involve changes to the way OptionValue is deserialized from
Json.
I'll discuss this on the Dev list to see where we stand on backward
compatibility.
> Queries failed with UnrecognizedPropertyException
> -------------------------------------------------
>
> Key: DRILL-5809
> URL: https://issues.apache.org/jira/browse/DRILL-5809
> Project: Apache Drill
> Issue Type: Bug
> Components: Functions - Drill
> Affects Versions: 1.12.0
> Environment: RHEL 6, 2.6.32-358.el6.x86_64, Apache Drill gitid
> 4c99f0cdd98b1a0e789c5d11b353f88a2f6d54aa
> Reporter: Dechang Gu
> Assignee: Boaz Ben-Zvi
> Priority: Blocker
> Fix For: 1.12.0
>
>
> Run tpch queries, all failed due to the following error:
> {code}
> java.sql.SQLException: SYSTEM ERROR: UnrecognizedPropertyException:
> Unrecognized field "type" (class
> org.apache.drill.exec.server.options.OptionValue), not marked as ignorable (8
> known properties: "string_val", "kind", "accessibleScopes", "num_val",
> "name", "bool_val", "float_val", "scope"])
> at [Source: [B@4ec364a3; line: 6, column: 2] (through reference chain:
> org.apache.drill.exec.server.options.OptionValue["type"])
> [Error Id: 9bad34d9-fe21-47fd-ade1-fbee3d5111e5 on ucs-node7.perf.lab:31010]
> at
> org.apache.drill.jdbc.impl.DrillCursor.nextRowInternally(DrillCursor.java:489)
> at
> org.apache.drill.jdbc.impl.DrillCursor.loadInitialSchema(DrillCursor.java:561)
> at
> org.apache.drill.jdbc.impl.DrillResultSetImpl.execute(DrillResultSetImpl.java:1895)
> at
> org.apache.drill.jdbc.impl.DrillResultSetImpl.execute(DrillResultSetImpl.java:61)
> at
> org.apache.calcite.avatica.AvaticaConnection$1.execute(AvaticaConnection.java:473)
> at
> org.apache.drill.jdbc.impl.DrillMetaImpl.prepareAndExecute(DrillMetaImpl.java:1100)
> at
> org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:477)
> at
> org.apache.drill.jdbc.impl.DrillConnectionImpl.prepareAndExecuteInternal(DrillConnectionImpl.java:181)
> at
> org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:109)
> at
> org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:130)
> at
> org.apache.drill.jdbc.impl.DrillStatementImpl.executeQuery(DrillStatementImpl.java:112)
> at PipSQueak.executeQuery(PipSQueak.java:289)
> at PipSQueak.runTest(PipSQueak.java:104)
> at PipSQueak.main(PipSQueak.java:477)
> Caused by: org.apache.drill.common.exceptions.UserRemoteException: SYSTEM
> ERROR: UnrecognizedPropertyException: Unrecognized field "type" (class
> org.apache.drill.exec.server.options.OptionValue), not marked as ignorable (8
> known properties: "string_val", "kind", "accessibleScopes", "num_val",
> "name", "bool_val", "float_val", "scope"])
> at [Source: [B@4ec364a3; line: 6, column: 2] (through reference chain:
> org.apache.drill.exec.server.options.OptionValue["type"])
> {code}
> Looks like the issue was introduced in commit:
> 6adeb986016a769755fd5e8fc66244ee1e8d18e1
> DRILL-5723: Added System Internal Options That can be Modified at Run…
> The commit prior to this one did not show the issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)