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 2017/10/06 14:49:00 UTC
[jira] [Commented] (DRILL-5849) Add freemarker lib to
dependencyManagement to ensure proper version is used when resolving
dependency version conflicts
[ https://issues.apache.org/jira/browse/DRILL-5849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16194685#comment-16194685 ]
ASF GitHub Bot commented on DRILL-5849:
---------------------------------------
GitHub user arina-ielchiieva opened a pull request:
https://github.com/apache/drill/pull/977
DRILL-5849: Add freemarker lib to dependencyManagement to ensure prop…
…er version is used when resolving dependency version conflicts
Details in [DRILL-5849](https://issues.apache.org/jira/browse/DRILL-5849).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/arina-ielchiieva/drill DRILL-5849
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/977.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 #977
----
commit bf95ce4fd070cf228713bcd3fa23c90e5dfcb07d
Author: Arina Ielchiieva <ar...@gmail.com>
Date: 2017-10-06T13:58:28Z
DRILL-5849: Add freemarker lib to dependencyManagement to ensure proper version is used when resolving dependency version conflicts
----
> Add freemarker lib to dependencyManagement to ensure proper version is used when resolving dependency version conflicts
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: DRILL-5849
> URL: https://issues.apache.org/jira/browse/DRILL-5849
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.12.0
> Reporter: Arina Ielchiieva
> Assignee: Arina Ielchiieva
> Fix For: 1.12.0
>
>
> After DRILL-5766 we started using newer freemarker library in Drill. There several libs in Drill that also use freemarker library and sometime older version is pciked up. In this case we receive the following error:
> {noformat}
> 0: jdbc:drill:zk=local> Exception in thread "main" java.lang.NoSuchFieldError: VERSION_2_3_26
> at org.apache.drill.exec.server.rest.DrillRestServer.getFreemarkerConfiguration(DrillRestServer.java:140)
> at org.apache.drill.exec.server.rest.DrillRestServer.<init>(DrillRestServer.java:83)
> at org.apache.drill.exec.server.rest.WebServer.start(WebServer.java:174)
> at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:141)
> at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:123)
> at org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:72)
> at org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
> at org.apache.calcite.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:143)
> at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
> at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
> at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
> at sqlline.Commands.close(Commands.java:925)
> at sqlline.Commands.closeall(Commands.java:899)
> at sqlline.SqlLine.begin(SqlLine.java:649)
> at sqlline.SqlLine.start(SqlLine.java:375)
> at sqlline.SqlLine.main(SqlLine.java:268)
> {noformat}
> To fix this issue we should not rely on Maven nearest win strategy and define allowed freemarker version under {{dependencyManagement}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)