Giter VIP home page Giter VIP logo

accumulo-formula's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

accumulo-formula's Issues

accumulo.server.initialize state does nothing if "accumulo" is in ZK host's name

It runs zkCli.sh and dumps its output to a temporary file, then greps that file for "accumulo" (specifically looking for the /accumulo directory in ZooKeeper). But, if the ZooKeeper host has "accumulo" in its name, this gets included in a log message, and so the state concludes that Accumulo has already been set up even if it hasn't.

Here's the output from a successful run:

dmaze@devhub2:~$ salt dmaze-dg-perf-acc00 cmd.run 'cat /tmp/acc.status'
dmaze-dg-perf-acc00:
    2014-09-06 01:05:23,177 [myid:] - INFO  [main:ZooKeeper@438] - Initiating client connection, connectString=dmaze-dg-perf-acc00:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@637a7476

If instead you had named the ZK host something like "accumulo-master", this would show up in that connectString parameter, and the grep would incorrectly succeed.

remove hard dependency on hadoop/zk formulas

https://accumulo.apache.org has no install time dependency on hadoop/zookeeper.
This formula should be fixed to focus on accumulo and get it installed.

Hard dependencies on external formula should be isolated and off by default.

  • hadoop/zk are runtime dependencies only.
  • uses should be allowed to install hadoop/zk in any manner (do not enforce salt).
jinja2.exceptions.TemplateNotFound: hadoop/settings.sls
; line 6
---
{%- if grains['os_family'] in ['RedHat'] %}
redhat-lsb-core:
  pkg.installed
{% endif %}

{%- from 'hadoop/settings.sls' import hadoop with context %}    <======================
{%- from 'hadoop/hdfs/settings.sls' import hdfs with context %}
{%- from 'zookeeper/settings.sls' import zk with context %}
{%- from 'accumulo/settings.sls' import accumulo with context %}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.