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

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

Github user trixpan commented on the issue:

    https://github.com/apache/nifi/pull/547
  
    thanks @pvillard31 
    
    this is indeed unfortunate but I assume it is the only way of getting 
around the breaking changes introduced as part of 2.7...


> HDFS Inotify processor: unit tests failing with hadoop 2.7.x
> ------------------------------------------------------------
>
>                 Key: NIFI-2060
>                 URL: https://issues.apache.org/jira/browse/NIFI-2060
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 0.7.0
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>
> Both
> $ mvn clean install -Dhadoop.version=2.7.0
> and
> $ mvn clean install -DskipTests -Pmapr -Dhadoop.version=2.7.0-mapr-1506
> result in:
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /home/amiranda/development/nifi/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/test/java/org/apache/nifi/processors/hadoop/inotify/TestGetHDFSEvents.java:[198,38]
> error: incompatible types: String cannot be converted to Builder
> [ERROR]
> /home/amiranda/development/nifi/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/test/java/org/apache/nifi/processors/hadoop/inotify/TestGetHDFSEvents.java:[199,38]
> error: incompatible types: String cannot be converted to Builder
> [ERROR]
> /home/amiranda/development/nifi/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/test/java/org/apache/nifi/processors/hadoop/inotify/TestGetHDFSEvents.java:[200,38]
> error: incompatible types: String cannot be converted to Builder
> [ERROR]
> /home/amiranda/development/nifi/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/test/java/org/apache/nifi/processors/hadoop/inotify/util/EventTestUtils.java:[51,37]
> error: incompatible types: String cannot be converted to Builder
> [ERROR]
> /home/amiranda/development/nifi/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/test/java/org/apache/nifi/processors/hadoop/inotify/util/EventTestUtils.java:[55,15]
> error: constructor RenameEvent in class RenameEvent cannot be applied to
> given types;
> [ERROR]   required: Builder
>   found: String,String,long
>   reason: actual and formal argument lists differ in length
> /home/amiranda/development/nifi/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/test/java/org/apache/nifi/processors/hadoop/inotify/util/EventTestUtils.java:[75,15]
> error: constructor UnlinkEvent in class UnlinkEvent cannot be applied to
> given types;
> [INFO] 6 errors



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to