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

When there are multiple PutHDFS with snappy compression, will throw java.lang.UnsatisfiedLinkError

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.9.0, 1.9.2
    • None
    • Extensions
    • None
    • nifi-1.9.2
      centos 7.3

    Description

      The first flow put hdfs use snappy compression codec work correct. now copy the flow and start it, the second PutHDFS will throw  java.lang.UnsatisfiedLinkError.

      The hadoop native lib path config in bootstrap.conf: java.arg.17=-Djava.library.path=/usr/lib/hadoop/native

      I guess,Because AbstractHadoopProcessor.java has @RequiresInstanceClassLoading(cloneAncestorResources = true),so org.apache.hadoop.util.NativeCodeLoader will be load by diffrent instanceClassloader

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            lucifer@cn lixh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment