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

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

Github user alopresto commented on the issue:

    https://github.com/apache/nifi/pull/1692
  
    @trixpan I have been reviewing this along with @mattyb149 and @bbende and 
we believe there may be a dependency issue here. I had only reviewed the code 
design via GitHub but upon trying to build the application, Jetty startup fails 
with:
    
    ```
    2017-05-02 15:01:28,815 WARN [main] org.apache.nifi.web.server.JettyServer 
Failed to start web server... shutting down.
    java.lang.ArrayStoreException: 
sun.reflect.annotation.TypeNotPresentExceptionProxy
            at 
sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
            at 
sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
            at 
sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
            at 
sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
            at 
sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
            at 
sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
            at java.lang.Class.createAnnotationData(Class.java:3521)
            at java.lang.Class.annotationData(Class.java:3510)
            at java.lang.Class.getAnnotation(Class.java:3415)
            at 
java.lang.reflect.AnnotatedElement.isAnnotationPresent(AnnotatedElement.java:258)
            at java.lang.Class.isAnnotationPresent(Class.java:3425)
            at 
org.apache.nifi.nar.ExtensionManager.checkControllerServiceReferenceEligibility(ExtensionManager.java:189)
            at 
org.apache.nifi.nar.ExtensionManager.loadExtensions(ExtensionManager.java:160)
            at 
org.apache.nifi.nar.ExtensionManager.discoverExtensions(ExtensionManager.java:113)
            at 
org.apache.nifi.web.server.JettyServer.start(JettyServer.java:689)
            at org.apache.nifi.NiFi.<init>(NiFi.java:160)
            at org.apache.nifi.NiFi.main(NiFi.java:267)
    ```
    
    After further discussion, we believe this is related to the added 
dependency on `nifi-standard-processors` in the processor NAR `pom.xml`, which 
should not be there. 
    
    I think this needs another iteration to ensure all the wrinkles are ironed 
out. I don't believe this was requested by the community for this release, so 
as long as you can continue to get value from it locally, I'll work with you to 
get it into 1.3.0 but I suggest moving it from this release. Is that ok with 
you?


> Create FuzzyHash comparison processor
> -------------------------------------
>
>                 Key: NIFI-3726
>                 URL: https://issues.apache.org/jira/browse/NIFI-3726
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Andre F de Miranda
>            Assignee: Andre F de Miranda
>             Fix For: 1.2.0
>
>
> Now that NiFi cyber-security package supports "Fuzzy Hashing" it may be a 
> good idea to support a processor that makes use of it for comparison and 
> routing of matches



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to