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

PIG_OPTS should be appended instead of being over written

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.1
    • None
    • None

    Description

      When tez is enabled the following code is executed in pig-env.sh

      if [ -d "/usr/lib/tez" ]; then
      PIG_OPTS="-Dmapreduce.framework.name=yarn"
      fi

      We should be appending to PIG_OPTS and not overwriting it.

      Attachments

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: