Hi Moshe, I don’t know of anyone who installs metron on their dev machine, there are a couple of ways to run it on a dev machine that I would not call ‘installing’
1. The vagrant environments, full or quick dev 2. metron-docker Both have readme that you can look at, after you do you can ask some specific questions. The integration testing does not require metron to be installed to run it. You only need to be able to build Metron to run the integration tests. The integration tests attempt to run a faux metron system in memory to allow us to test end to end without an install. Most of our platform components have an in-memory testing component that can be used for such purposes. The tests therefore are concerned at first with setting up the environment and services such as: Storm, Zookeeper, Kafka, HDFS, YARN And configuring them ( pushing things that should be in zookeeper, or hdfs, creating the topologies etc. ) Many of the tests then use something called the ComponentRunner to run these services and shut them down in order. The component service can then run tests to execute testing code. By examining these tests you can follow through the requirements and logic around the tests. Then, you can create your own tests, but copying and modifying tests for your own use. The metron-platform/metron-integration-testing project has the primitives of the test components and is used in pretty much all the integration tests ( ComponentRunner etc ). I don’t know what you are interested in hacking on, but you may want to look at metron-platform/metron-enrichment metron-platform/metron-parsers to start. Now, if you want to test beyond what you can do in integration tests, you should look at metron-docker and vagrant. On May 15, 2017 at 08:07:52, moshe jarusalem ([email protected]) wrote: I would like to ask another question related to this topic. If I am going to install metron on a single machine (the same machine as development) which operating distribution would be best centos7 or ubuntu 16.4 or another? And is there any document to follow for such an installation ? Regards, On Sat, May 13, 2017 at 1:50 PM, moshe jarusalem <[email protected]> wrote: > Hi All, > I have been looking for an easy way to test metron in the development > environment. Using "full-dev-environment" is a bit painful because you each > time need to copy artifacts etc. I tried to understand integration testing > framework but it a little complex for a newbie. > > Would you guys describe how to utilize it? broadly how to quickly write > and test? How do you manage? > > Regards, >
