Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7440

Building NiFi creates unwanted directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Tools and Build
    • None

    Description

      When the Hive 3 bundle is built in NiFi, a directory named `${project.basedir}` gets created wherever the Maven command is run from (so the top level during a full build).

      This is caused by the version of Hive 3 used by NiFi, which in turn has a dependency on HBase version 2.0.0-alpha4. This version suffers from HBASE-21005 which causes the issue. Hive 3 likely hasn't upgraded their version of HBase because of breaking changes between 2.0.0-alpha4 and 2.0.2 (the first release with a fix for HBASE-21005).

      We could override the version of HBase for the Hive 3 components, but one of the breaking changes is the Base64 implementation, which may generate different encodings/decodings and possibly break existing HBase-backed Hive tables. It is more prudent to track the upgrade path (from the NiFi perspective) in this case, revisiting when the HBase version has been upgraded in Hive 3.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mattyb149 Matt Burgess
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: