Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8901

GZip and Snappy support may not work without unversioned libraries

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.3-alpha
    • 2.0.3-alpha
    • native
    • None

    Description

      Currently, we use dlopen to open libz.so and libsnappy.so, to get Gzip and Snappy support, respectively.

      However, this is not correct; we should be dlopening libsnappy.so.1 instead. The versionless form of the shared library is not commonly installed except by development packages. Also, we may run into subtle compatibility problems if a new version of libsnappy comes out.

      Thanks to Brandon Vargo for reporting this bug.

      Attachments

        1. freebsd-so.txt
          0.7 kB
          Radim Kolar
        2. HADOOP-8901.003.patch
          3 kB
          Colin McCabe
        3. HADOOP-8901.002.patch
          1 kB
          Colin McCabe
        4. HADOOP-8901.001.patch
          9 kB
          Colin McCabe

        Issue Links

        Activity

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

          People

            cmccabe Colin McCabe Assign to me
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment