You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Veera Naranammalpuram (JIRA)" <ji...@apache.org> on 2018/06/18 20:07:00 UTC

[jira] [Created] (DRILL-6514) Document pcap format plug-in options

Veera Naranammalpuram created DRILL-6514:
--------------------------------------------

             Summary: Document pcap format plug-in options 
                 Key: DRILL-6514
                 URL: https://issues.apache.org/jira/browse/DRILL-6514
             Project: Apache Drill
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 1.12.0, 1.11.0
            Reporter: Veera Naranammalpuram


The pcap format plug in does not accept the "extensions" parameter. When I try to update the SP, I get the following error:
{noformat}
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "extensions" (class org.apache.drill.exec.store.pcap.PcapFormatConfig), not marked as ignorable (0 known properties: ])

at [Source: java.io.StringReader@6f8fd642; line: 51, column: 26] (through reference chain: org.apache.drill.exec.store.dfs.FileSystemConfig["formats"]->java.util.LinkedHashMap["pcap"]->org.apache.drill.exec.store.pcap.PcapFormatConfig["extensions"])

at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:62) ~[jackson-databind-2.7.9.1.jar:2.7.9.1]

 {noformat}
But the pcap format plug in example in Drill 1.11 release notes ( [https://drill.apache.org/blog/2017/07/31/drill-1.11-released/]) indicates that it does accept the extensions parameter. 

This is to Update the release notes to remove extensions parameter in the example.

 



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

Re: [jira] [Created] (DRILL-6514) Document pcap format plug-in options

Posted by Aman Sinha <am...@gmail.com>.
On the master branch I am not seeing the 'extensions' class variable in the
reference chain shown in the Jackson error message  either. There is an
extensions parameter in the constructor of the EasyFormatPlugin [1] which
is the base class of PcapFormatPlugin but I don't think Jackson is
complaining about that.
Was this introduced in an earlier version of Drill and later removed ?  Can
someone familiar with this format plugin help Ted ?

[1]
https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/easy/EasyFormatPlugin.java#L78

On Mon, Jun 18, 2018 at 9:34 PM, Ted Dunning <te...@gmail.com> wrote:

> What does it take to fix this in the code?
>
> How does the extensions parameter get into the plugin?
>
> On Mon, Jun 18, 2018 at 10:07 PM Veera Naranammalpuram (JIRA) <
> jira@apache.org> wrote:
>
> > ...
> >
> > The pcap format plug in does not accept the "extensions" parameter.
> >
>

Re: [jira] [Created] (DRILL-6514) Document pcap format plug-in options

Posted by Ted Dunning <te...@gmail.com>.
What does it take to fix this in the code?

How does the extensions parameter get into the plugin?

On Mon, Jun 18, 2018 at 10:07 PM Veera Naranammalpuram (JIRA) <
jira@apache.org> wrote:

> ...
>
> The pcap format plug in does not accept the "extensions" parameter.
>