Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-3057

Build fails due to unsupported snappy-java version on ppc64le

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.0
    • Component/s: Build
    • Labels:
    • Environment:

      $ uname -a
      Linux 2f63413ff231 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:05:18 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

      Description

      Flume has a snappy-java dependency with version 1.1.0. Upon building Flume on ppc64le architecture, errors such as "[FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Linux and os.arch=ppc64le" are seen

      Native libraries for ppc64le were added in snappy-java version 1.1.1. Hence Flume needs to have this higher version of snappy-java.

      1. FLUME-3057.patch
        0.4 kB
        Pravin Dsilva
      2. FLUME-3057-1.patch
        0.5 kB
        Attila Simon

        Issue Links

          Activity

          Hide
          sati Attila Simon added a comment -

          Hi Pravin Dsilva,
          Since this has been committed, could you please close the reviewboard review: https://reviews.apache.org/r/57676/

          Show
          sati Attila Simon added a comment - Hi Pravin Dsilva , Since this has been committed, could you please close the reviewboard review: https://reviews.apache.org/r/57676/
          Hide
          hudson Hudson added a comment -

          UNSTABLE: Integrated in Jenkins build Flume-trunk-hbase-1 #309 (See https://builds.apache.org/job/Flume-trunk-hbase-1/309/)
          FLUME-3057. Update snappy-java version (denes: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=a51ca18b77625055051e310a021c38a002ffe89c)

          • (edit) pom.xml
          Show
          hudson Hudson added a comment - UNSTABLE: Integrated in Jenkins build Flume-trunk-hbase-1 #309 (See https://builds.apache.org/job/Flume-trunk-hbase-1/309/ ) FLUME-3057 . Update snappy-java version (denes: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=a51ca18b77625055051e310a021c38a002ffe89c ) (edit) pom.xml
          Hide
          denes Denes Arvay added a comment -

          Thank you for the patch Pravin Dsilva and for the reviews Ferenc Szabo, Attila Simon, I have pushed it to the main branch.

          Show
          denes Denes Arvay added a comment - Thank you for the patch Pravin Dsilva and for the reviews Ferenc Szabo , Attila Simon , I have pushed it to the main branch.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/flume/pull/157

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/flume/pull/157
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit a51ca18b77625055051e310a021c38a002ffe89c in flume's branch refs/heads/trunk from Pravin Dsilva
          [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=a51ca18 ]

          FLUME-3057. Update snappy-java version

          Flume has a snappy-java dependency with version 1.1.0. Upon building Flume on
          ppc64le architecture, errors such as "[FAILED_TO_LOAD_NATIVE_LIBRARY] no native
          library is found for os.name=Linux and os.arch=ppc64le" are seen
          Native libraries for ppc64le were added in snappy-java version 1.1.1.
          Hence Flume needs to have a higher version of snappy-java.

          This closes #157

          Reviewers: Ferenc Szabo, Attila Simon

          (Pravin D'silva via Denes Arvay)

          Show
          jira-bot ASF subversion and git services added a comment - Commit a51ca18b77625055051e310a021c38a002ffe89c in flume's branch refs/heads/trunk from Pravin Dsilva [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=a51ca18 ] FLUME-3057 . Update snappy-java version Flume has a snappy-java dependency with version 1.1.0. Upon building Flume on ppc64le architecture, errors such as " [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Linux and os.arch=ppc64le" are seen Native libraries for ppc64le were added in snappy-java version 1.1.1. Hence Flume needs to have a higher version of snappy-java. This closes #157 Reviewers: Ferenc Szabo, Attila Simon (Pravin D'silva via Denes Arvay)
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user pravin-dsilva opened a pull request:

          https://github.com/apache/flume/pull/157

          FLUME-3057 Update snappy-java version

          Flume has a snappy-java dependency with version 1.1.0. Upon building Flume on ppc64le architecture, errors such as "[FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Linux and os.arch=ppc64le" are seen
          Native libraries for ppc64le were added in snappy-java version 1.1.1. Hence Flume needs to have a higher version of snappy-java.

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

          $ git pull https://github.com/pravin-dsilva/flume update-snappy-java

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

          https://github.com/apache/flume/pull/157.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 #157


          commit c1745cbb1a796351a72a8b056d42fbf310579406
          Author: Pravin D'silva <pravind@us.ibm.com>
          Date: 2017-08-24T12:55:21Z

          Update snappy-java version

          Flume has a snappy-java dependency with version 1.1.0. Upon building Flume on ppc64le architecture, errors such as "[FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Linux and os.arch=ppc64le" are seen
          Native libraries for ppc64le were added in snappy-java version 1.1.1. Hence Flume needs to have a higher version of snappy-java.


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user pravin-dsilva opened a pull request: https://github.com/apache/flume/pull/157 FLUME-3057 Update snappy-java version Flume has a snappy-java dependency with version 1.1.0. Upon building Flume on ppc64le architecture, errors such as " [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Linux and os.arch=ppc64le" are seen Native libraries for ppc64le were added in snappy-java version 1.1.1. Hence Flume needs to have a higher version of snappy-java. You can merge this pull request into a Git repository by running: $ git pull https://github.com/pravin-dsilva/flume update-snappy-java Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flume/pull/157.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 #157 commit c1745cbb1a796351a72a8b056d42fbf310579406 Author: Pravin D'silva <pravind@us.ibm.com> Date: 2017-08-24T12:55:21Z Update snappy-java version Flume has a snappy-java dependency with version 1.1.0. Upon building Flume on ppc64le architecture, errors such as " [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Linux and os.arch=ppc64le" are seen Native libraries for ppc64le were added in snappy-java version 1.1.1. Hence Flume needs to have a higher version of snappy-java.
          Hide
          sati Attila Simon added a comment - - edited

          I have the same issue and updating snappy solved it. Unfortunately the patch doesn't apply any more. Since this ticket is unassigned at the moment: to move things forward I created a new patch (FLUME-3057-1.patch) which is ready to be committed on latest trunk (as of now). I cannot add it to your reviewboard review but please feel free to do that. Also you can look at the updated patch as a commit here (I'm happy to create a pull request if that helps resolving this issue): https://github.com/simonati/flume/commit/5dd54881be4a752ea458d54089dc9cc7816568fa

          Show
          sati Attila Simon added a comment - - edited I have the same issue and updating snappy solved it. Unfortunately the patch doesn't apply any more. Since this ticket is unassigned at the moment: to move things forward I created a new patch ( FLUME-3057 -1.patch) which is ready to be committed on latest trunk (as of now). I cannot add it to your reviewboard review but please feel free to do that. Also you can look at the updated patch as a commit here (I'm happy to create a pull request if that helps resolving this issue): https://github.com/simonati/flume/commit/5dd54881be4a752ea458d54089dc9cc7816568fa
          Hide
          fszabo Ferenc Szabo added a comment -

          I had the same issue. Updating the version solved it.

          Show
          fszabo Ferenc Szabo added a comment - I had the same issue. Updating the version solved it.

            People

            • Assignee:
              Unassigned
              Reporter:
              pravindsilva Pravin Dsilva
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development