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

nifi-hive-nar fails to load because of the old snappy-java jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.15.0, 1.15.2
    • 1.16.0
    • Extensions
    • None
    • Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 9 16:09:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

    Description

      nifi-hive-nar has old version of snappy-java jar (snappy-java-1.0.5.jar) which fails to load. New version of snappy-java-1.1.8.4.jar works.

       

      2022-01-03 12:11:19,126 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi
      org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null
              at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:239)
              at org.xerial.snappy.Snappy.<clinit>(Snappy.java:48)
              at org.apache.nifi.processors.hive.PutHiveStreaming.<clinit>(PutHiveStreaming.java:158)
              at java.base/java.lang.Class.forName0(Native Method)
              at java.base/java.lang.Class.forName(Class.java:398)
              at org.apache.nifi.nar.StandardExtensionDiscoveringManager.getClass(StandardExtensionDiscoveringManager.java:330)
              at org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:100)
              at org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65)
              at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1139)
              at org.apache.nifi.NiFi.<init>(NiFi.java:170)
              at org.apache.nifi.NiFi.<init>(NiFi.java:82)
              at org.apache.nifi.NiFi.main(NiFi.java:330)

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              saurabhb Saurabh B
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h