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

RU: HS2 fails to start with invalid maximum heap size

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.2
    • Component/s: stacks
    • Labels:
      None

      Description

      After upgrading from Ambari 1.7 to Ambari 2.1 and HDP 2.2.0 to HDP 2.3, Hive fails to start after upgrade during rolling upgrade due to hive-env.sh having HADOOP_HEAPSIZE=512*m*. The HADOOP_CLIENT_OPTS assumes it’s an int and tacts on an additional “m” so it ends up setting the -Xmx to 512mm instead of -Xmx to 512m

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsen Dmytro Sen
                Reporter:
                dsen Dmytro Sen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: