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

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

Github user JPercivall commented on the issue:

    https://github.com/apache/nifi/pull/2113
  
    Hey @MikeThomsen, just reviewed the changes. They look good and I think 
we're almost there. One thing that is missing is the comment regarding pulling 
the results into memory.
    
    Also, I tried to build NiFi and test the processor an instance but hit the 
following error when I attempted to start up NiFi (./bin/nifi.sh start). I 
tried rebasing it to the latest master but to no avail. 
    
    > 2018-03-24 02:06:53,171 ERROR [main] org.apache.nifi.NiFi Failure to 
launch NiFi due to java.util.ServiceConfigurationError: 
org.apache.nifi.processor.Processor: Provider 
org.apache.nifi.processors.elasticsearch.JsonQueryElasticsearch could not be 
instantiated
    java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: 
Provider org.apache.nifi.processors.elasticsearch.JsonQueryElasticsearch could 
not be instantiated
        at java.util.ServiceLoader.fail(ServiceLoader.java:232)
        at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
        at 
java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
        at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
        at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
        at 
org.apache.nifi.nar.ExtensionManager.loadExtensions(ExtensionManager.java:148)
        at 
org.apache.nifi.nar.ExtensionManager.discoverExtensions(ExtensionManager.java:123)
        at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:771)
        at org.apache.nifi.NiFi.<init>(NiFi.java:157)
        at org.apache.nifi.NiFi.<init>(NiFi.java:71)
        at org.apache.nifi.NiFi.main(NiFi.java:292)
    Caused by: java.lang.NoClassDefFoundError: 
com/fasterxml/jackson/databind/ObjectMapper
        at 
org.apache.nifi.processors.elasticsearch.JsonQueryElasticsearch.<init>(JsonQueryElasticsearch.java:206)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at 
java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
        ... 8 common frames omitted
    Caused by: java.lang.ClassNotFoundException: 
com.fasterxml.jackson.databind.ObjectMapper
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 15 common frames omitted


> Create a new ElasticSearch processor that supports the JSON DSL
> ---------------------------------------------------------------
>
>                 Key: NIFI-4325
>                 URL: https://issues.apache.org/jira/browse/NIFI-4325
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Mike Thomsen
>            Priority: Minor
>
> The existing ElasticSearch processors use the Lucene-style syntax for 
> querying, not the JSON DSL. A new processor is needed that can take a full 
> JSON query and execute it. It should also support aggregation queries in this 
> syntax. A user needs to be able to take a query as-is from Kibana and drop it 
> into NiFi and have it just run.



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

Reply via email to