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

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

GitHub user pvillard31 opened a pull request:

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

    NIFI-2060 - fixed unit tests to be compatible with 2.7.x

    It’s a shame to limit what is tested here (in terms of event types) but it 
seems to be the only way to have both 2.6 and 2.7 lines working.

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

    $ git pull https://github.com/pvillard31/nifi NIFI-2060

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

    https://github.com/apache/nifi/pull/547.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 #547
    
----
commit 41110598d8b32ce58b94338eee89044575c2095d
Author: Pierre Villard <[email protected]>
Date:   2016-06-20T17:15:09Z

    NIFI-2060 - fixed unit tests to be compatible with 2.7.x

----


> 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