Summary: | devel/hadoop2: Create rc.d script for ZKFC | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Johannes Jost Meixner <xmj> | ||||
Component: | Individual Port(s) | Assignee: | Dmitry Sivachenko <demon> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | demon, kbowling | ||||
Priority: | --- | Keywords: | feature, needs-qa, patch | ||||
Version: | Latest | Flags: | xmj:
maintainer-feedback?
(demon) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
May be name this scrips shorter, say "zkfc"? That's one option, but does the name speak for itself enough? Well, tastes differ. This is like fsck vs filesystemcheck :) But zkfc matches hadoop-daemon.sh subcommand: hadoop-daemon.sh start zkfc This is bike shed territory, but zkfc is consistent with the other init scripts. Other OSes use something like hadoop-{name}. A commit references this bug: Author: demon Date: Wed Nov 18 13:20:35 UTC 2015 New revision: 401865 URL: https://svnweb.freebsd.org/changeset/ports/401865 Log: Add startup script for Zookeeper Failover Controller. PR: 204514 Submitted by: xmj Changes: head/devel/hadoop2/Makefile head/devel/hadoop2/files/zkfc.in Okay, I added it as "zkfc" for now. We can consider renaming all startup scripts to be more clear they are hadoop babies. Thanks for the commit (: |
Created attachment 163082 [details] Hadoop 2.7.1_1 with zkfailovercontroller rc.d script ZKFC (Zookeeper Failover Controller) is used for switching between two namenodes (in active/standby configuration). So far an rc.d script for easy startup has been lacking, patch attached fixes this.