Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22386

Patch Upgrades Broken For Clients Due To Versioned LD Library

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

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.6.0
    • 2.6.1
    • None
    • None

    Description

      When services are patched to different versions, jobs being run in containers are unable to pickup the correct JARs from the LD_LIBRARY_PATH passed in via the job.

      Consider the following situation:

      • Base cluster installed at 2.6.3.0-1
      • Enable some sort of codec, like snappy
      • YARN patched to 2.6.3.1-1
      • Hive patched to 2.6.3.2-1

      When Hive goes to run jobs on Tez or when jobs are run on MapR, whatever is sending the job is resolving the hdp.version to its own version. The box that the job runs on, however, might not have that specific versioned directory.

      The problem can only be solved externally by providing a way to ensure that the native libraries are on every machine which could potentially run jobs. We could install bits on every host, but that would defeat the space-saving purposes of patch upgrades.

      Another solution is to ensure that the Tez and MapR tarballs have the required libraries and that those libraries are added to the classpath of launched jobs.

      Attachments

        Activity

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

          People

            jonathanhurley Jonathan Hurley
            jonathanhurley Jonathan Hurley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment