Thanks Andre for reporting this! I'll try to have a look today but my MapR knowledge is limited... However, since it seems to be a problem in test classes only, it should be possible to find a workaround quite easily.
Pierre 2016-06-18 17:43 GMT+02:00 Andre <[email protected]>: > And if I my poor JAVA hasn't failed me again this seems to be the commit > that introduced the upstream change > > > https://github.com/apache/hadoop/commit/6e13fc62e1f284f22fd0089f06ce281198bc7c2a > > https://issues.apache.org/jira/browse/HDFS-7513 > > On Sun, Jun 19, 2016 at 1:36 AM, Andre <[email protected]> wrote: > > > Pierre, > > > > My build is currently hitting a wall when trying to > > compile nifi-hdfs-processors. > > > > Seems the reason for this is the commit 2ce7857. > > > > 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 > > > > > > >
