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

Auto-HA: add config for java options to pass to zkfc daemon

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Auto Failover (HDFS-3042)
    • Auto Failover (HDFS-3042)
    • scripts
    • None

    Description

      Currently the zkfc daemon is started without any ability to specify java options for it. We should be add a flag so heap size, etc can be specified.

      Attachments

        1. hadoop-8276.txt
          0.9 kB
          Todd Lipcon

        Activity

          tlipcon Todd Lipcon added a comment -

          Turns out we already had the config, just no default for it in the hadoop-env.sh template. This patch adds that default (-Xmx256m)

          tlipcon Todd Lipcon added a comment - Turns out we already had the config, just no default for it in the hadoop-env.sh template. This patch adds that default (-Xmx256m)
          eli2 Eli Collins added a comment -

          +1 looks good

          eli2 Eli Collins added a comment - +1 looks good
          eli2 Eli Collins added a comment -

          I've committed this to branch.

          eli2 Eli Collins added a comment - I've committed this to branch.

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: