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

ASF GitHub Bot commented on NIFI-4593:
--------------------------------------

GitHub user mcgilman opened a pull request:

    https://github.com/apache/nifi/pull/2263

    NIFI-4593: Ensuring jackson dependencies are bundled

    NIFI-4593:
    - Ensuring the necessary jackson dependencies are bundled.

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

    $ git pull https://github.com/mcgilman/nifi NIFI-4593

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

    https://github.com/apache/nifi/pull/2263.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 #2263
    
----
commit 60fe4b0d91a252a38d40749f80dceef9ceed3918
Author: Matt Gilman <matt.c.gil...@gmail.com>
Date:   2017-11-09T20:21:00Z

    NIFI-4593:
    - Ensuring the necessary jackson dependencies are bundled.

----


> NoClassDefFoundError when using HortonworksSchemaRegistry
> ---------------------------------------------------------
>
>                 Key: NIFI-4593
>                 URL: https://issues.apache.org/jira/browse/NIFI-4593
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.4.0
>            Reporter: Matt Gilman
>            Assignee: Matt Gilman
>
> This appears to be a regression from the introduction of the newer Jersey 
> (NIFI-4444) or Jackson (NIFI-4297) dependency and their transitive 
> dependencies.
> {code}
> java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/TreeNode
>         at 
> org.apache.nifi.schemaregistry.hortonworks.HortonworksSchemaRegistry.getClient(HortonworksSchemaRegistry.java:144)
>         at 
> org.apache.nifi.schemaregistry.hortonworks.HortonworksSchemaRegistry.retrieveSchema(HortonworksSchemaRegistry.java:228)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:497)
>         at 
> org.apache.nifi.controller.service.StandardControllerServiceInvocationHandler.invoke(StandardControllerServiceInvocationHandler.java:89)
>         at com.sun.proxy.$Proxy113.retrieveSchema(Unknown Source)
>         at 
> org.apache.nifi.schema.access.SchemaNamePropertyStrategy.getSchema(SchemaNamePropertyStrategy.java:53)
>         at 
> org.apache.nifi.serialization.SchemaRegistryService.getSchema(SchemaRegistryService.java:117)
>         at 
> org.apache.nifi.csv.CSVReader.createRecordReader(CSVReader.java:108)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to