Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These are some examples of service configurations for which there is ZooKeeper-related information:

Anchor
ZKConfigProperties
ZKConfigProperties

Service ConfigPropertyExample Value
hive-sitehive.zookeeper.quorumc6801.ambari.apache.org:2181,c6802.ambari.apache.org:2181,c6803.ambari.apache.org:2181
 hive.server2.zookeeper.namespacehiveserver2
 hive.server2.support.dynamic.service.discoverytrue
hdfs-siteha.zookeeper.quorumc6801.ambari.apache.org:2181,c6802.ambari.apache.org:2181,c6803.ambari.apache.org:2181
 dfs.ha.automatic-failover.enabledtrue (only for "Auto HA")
hbase-sitehbase.zookeeper.quorumc6801.ambari.apache.org:2181,c6802.ambari.apache.org:2181,c6803.ambari.apache.org:2181
 zookeeper.znode.parent/hbase-unsecure
kafka-brokersandbox.hortonworks.com:2181
oozie-siteoozie.zookeeper.connection.stringlocalhost:2181
 oozie.zookeeper.namespaceoozie
yarn-site
yarn.resourcemanager.ha.enabled
true
 
yarn.resourcemanager.zk-address
c6801.ambari.apache.org:2181,c6802.ambari.apache.org:2181,c6803.ambari.apache.org:2181
webhcat-sitetempleton.zookeeper.hostsc6801.ambari.apache.org:2181,c6802.ambari.apache.org:2181,c6803.ambari.apache.org:2181

...

  • Name the service-level override param for the service-specific HaProvider param component named 'enabled'
    • 'enabled'
    • 'haEnabled'
    • 'ha.enabled'

  • Identify the nature of all the supported services
    • Which services are currently purely topology-based (DefaultURLManager)?
      • WEBHCAT
      • HBASE
      • OOZIE
      • WEBHDFS
      • ?

    • Which services are currently ZooKeeper-based (BaseZooKeeperURLManager)?
      • HIVE (HS2ZooKeeperURLManager)
      • HBASE (HBaseZooKeeperURLManager)
      • Kafka (KafkaZooKeeperURLManager)
      • SOLR (SOLRZooKeeperURLManager)
      • ? WEBHDFS (supported by the service, but not implemented in Knox) ?
      • ? OOZIE (supported by the service, but not implemented in Knox) ?
      • ? YARN  (supported by the service, but not implemented in Knox) ?
      • ? WEBHCAT (supported by the service, but not implemented in Knox) ?

    • Could ZooKeeper support be added for any services which do no currently support it?
      • These have zookeeper-related configuration (see table):
        • WEBHDFS
        • OOZIE
        • YARN
        • WEBHCAT


  • For the ZooKeeper-based-HA services, determine if the ZooKeeper details are available from the service's configuration via Ambari.

  • Can "HA mode" be determined for every service type from the cluster configuration details? Can Knox dynamically identify HA-configured services, and generate the topology accordingly?

  • Determine how to leverage the cluster discovery data to generate the ZooKeeper HA configuration for the relevant declared topology services.

...