[
https://issues.apache.org/jira/browse/METRON-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15736515#comment-15736515
]
ASF GitHub Bot commented on METRON-622:
---------------------------------------
Github user cestella commented on a diff in the pull request:
https://github.com/apache/incubator-metron/pull/393#discussion_r91806514
--- Diff: metron-docker/kafkazk/bin/init-zk.sh ---
@@ -0,0 +1,22 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+echo "create /metron metron" | ./bin/zookeeper-shell.sh localhost:2181
+echo "create /metron/topology topology" | ./bin/zookeeper-shell.sh
localhost:2181
+echo 'create /metron/topology/global
{"solr.zookeeper":"metron-kafkazk:2181","solr.collection":"metron","solr.numShards":1,"solr.replicationFactor":1,"es.clustername":"elasticsearch","es.ip":"metron-elasticsearch","es.port":"9300","es.date.format":"yyyy.MM.dd.HH"}'
| ./bin/zookeeper-shell.sh localhost:2181
--- End diff --
I get the creations of the directories in zk, but why are we pushing
configs here instead of using the zk_load_utils shell script to submit the ones
we deploy?
> Create a Metron Docker Compose application
> -------------------------------------------
>
> Key: METRON-622
> URL: https://issues.apache.org/jira/browse/METRON-622
> Project: Metron
> Issue Type: New Feature
> Reporter: Ryan Merriman
>
> This is an alternative to the Vagrant quick-dev approach of creating a local
> Metron environment for development and testing. It is intended to be leaner
> and easier to manage. This compose application will contain separate images
> for each of the services that Metron depends on as well as the Metron
> services.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)