Hadoop Common
  1. Hadoop Common
  2. HADOOP-8276

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Auto Failover (HDFS-3042)
    • Fix Version/s: Auto Failover (HDFS-3042)
    • Component/s: scripts
    • Labels:
      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.

      1. hadoop-8276.txt
        0.9 kB
        Todd Lipcon

        Activity

        Hide
        Eli Collins added a comment -

        I've committed this to branch.

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

        +1 looks good

        Show
        Eli Collins added a comment - +1 looks good
        Hide
        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)

        Show
        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)

          People

          • Assignee:
            Todd Lipcon
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development