¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Wallaroo 0.5.2 has been released!

 

Hi all,

Today we released Wallaroo 0.5.2.

We've simplified the Wallaroo installation process on Linux and added support for additional Linux distributions via Wallaroo Up, a shell script that automates the from-source install of Wallaroo.
We've also added support for Wallaroo Go in Docker and Vagrant.

Full details available in the release notes:?


- Jonathan


New blog post: "Utilizing Elixir as a lightweight tool to store real-time metrics data"

 

Hi all,
This week, I wrote about how we use Elixir as a lightweight tool to store Wallaroo's real-time metrics data. Enjoy!

https://blog.wallaroolabs.com/2018/08/utilizing-elixir-as-a-lightweight-tool-to-store-real-time-metrics-data/


Re: Need your review and guide : DDoS Detection using Wallaroo

 

Hi,

?Thank you for your respond. Do I have to run docker in order to use the window metrics data. How to compute a mean and a standard deviation for requests/second and uniques clients/second and based on what kind of data??

On Sat, Aug 4, 2018 at 12:04 AM, Nisan <nisanharamati@...> wrote:

[Edited Message Follows]

Hi Farzana,

This part is explained in the??section of the post.

To summarize, though:

For each server, we keep a window of the last?completed 60 seconds of metrics for:
?- requests/second
?- unique clients/second
In addition, for the partial current second, we keep:
?- total number of requests since the start of this second
?- a set of the unique client addresses associate with the requests of this second

Now, the way DDoS is being detected in the example is quite naive, so you probably wouldn't want to use that in a real production system (at least not on its own), but here's how it works:
1. Use the window metrics data to compute a mean and a standard deviation for each of the two metrics (requests/second, and unique clients/second)
2. Divide the metrics of the fractional second by the fraction of the second to make a prediction of the values at the end of the second (this is a weak assumption in the alogritnm). This gives us?predicted_requests/second and?predicted_unique_clients/second for the current (incomplete) second.
3. Now we compare the predicted values to the computed mean values, and if they differ by more than 2 standard deviations, we say that that server is under a DDoS attack:
? ? IF (predicted - mean) > 2*standrard_dev THEN
? ? ? ? # under attack
? ? ELSE
? ? ? ? # not under attack


I hope this is helpful.
The section linked above is much more detailed, and also describes how the actual updates are handled in the state, if you're interested in more details.



Re: Need your review and guide : DDoS Detection using Wallaroo

 
Edited

Hi Farzana,

This part is explained in the??section of the post.

To summarize, though:

For each server, we keep a window of the last?completed 60 seconds of metrics for:
?- requests/second
?- unique clients/second
In addition, for the partial current second, we keep:
?- total number of requests since the start of this second
?- a set of the unique client addresses associate with the requests of this second

Now, the way DDoS is being detected in the example is quite naive, so you probably wouldn't want to use that in a real production system (at least not on its own), but here's how it works:
1. Use the window metrics data to compute a mean and a standard deviation for each of the two metrics (requests/second, and unique clients/second)
2. Divide the metrics of the fractional second by the fraction of the second to make a prediction of the values at the end of the second (this is a weak assumption in the alogritnm). This gives us?predicted_requests/second and?predicted_unique_clients/second for the current (incomplete) second.
3. Now we compare the predicted values to the computed mean values, and if they differ by more than 2 standard deviations, we say that that server is under a DDoS attack:
? ? IF (predicted - mean) > 2*standrard_dev THEN
? ? ? ? # under attack
? ? ELSE
? ? ? ? # not under attack


I hope this is helpful.
The section linked above is much more detailed, and also describes how the actual updates are handled in the state, if you're interested in more details.


Re: Need your review and guide : DDoS Detection using Wallaroo

 

Hi,

I'am a bit confused on how the ddos is detected when trying to testing the wallaroo application by follow the wallaroo blog examples ddos attack detection. Could you please explain me a bit about the mean and the standard deviation calculation for the ddos examples.



On Fri, Jul 27, 2018 at 4:52 AM, Sean Allen <sean@...> wrote:
You should be using 0.20.0 not 0.21.0

On Thu, Jul 26, 2018 at 12:52 PM farzana zakaria <farzanazakaria96@...> wrote:
Hi, I've got some other error after install ponyc0.21.. . It is really the problem with the pony version

Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:964:5: match is exhaustive, the else clause is unreachable
??? match KafkaSourceConfigFactory(topic, brokers, log_level, out)
??? ^
??? Info:
??? /home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:971:7: unreachable code
????????? error
????????? ^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:1045:5: match is exhaustive, the else clause is unreachable
??? match KafkaSinkConfigFactory(topic, brokers, log_level, max_produce_buffer_ms, max_message_size, out)
??? ^
??? Info:
??? /home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:1052:7: unreachable code
????????? error
????????? ^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/application.pony:290:24: Cannot cast to subtype
??? _a.add_pipeline(_p as BasicPipeline)
?????????????????????? ^
??? Info:
??? /home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/application.pony:290:21: BasicPipeline ref is a subtype of this Expression. 'as' is not needed here.
??????? _a.add_pipeline(_p as BasicPipeline)
??????????????????????? ^
make: *** [/home/farzana/wallaroo-tutorial/wallaroo/machida/build/machida] Error 1


On Thu, Jul 26, 2018 at 3:10 PM, farzana zakaria <farzanazakaria96@...> wrote:
Do you mean that the pony version that is used incompatible with the wallaroo older version ?

On Fri, Jul 27, 2018 at 2:15 AM, Sean T. Allen <sean@...> wrote:
Hmmm, yes. Come to think of it, it would require an older version of Pony to compile. That is going to be problematic. That should be Pony version 0.20.0. You'd need to build that from source and install.


On Thu, Jul 26, 2018 at 10:59 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. According to the instruction for compiling machida with make command,
cd ~/wallaroo-tutorial/wallaroo/machida
make

Its run but got some error like below, how I'm going to fix the error

.
.
.
Error:
net/http: couldn't locate this path
Error:
/home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/startup.pony:24:1: can't load package 'net/http'
use "net/http"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/main.pony:23:1: can't load package 'wallaroo'
use "wallaroo"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:21:1: can't load package 'pony-kafka'
use "pony-kafka"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:26:1: can't load package 'wallaroo/core/sink/kafka_sink'
use "wallaroo/core/sink/kafka_sink"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:29:1: can't load package 'wallaroo/core/source/kafka_source'
use "wallaroo/core/source/kafka_source"
^
make: *** [/home/farzana/wallaroo-tutorial/wallaroo/machida/build/machida] Error 1




On Thu, Jul 26, 2018 at 1:04 PM, Sean T. Allen <sean@...> wrote:
You need to start over for any make commands that you would run in the Wallaroo directory.

You can clone the blog examples into your home directory. That would be fine.

On Wed, Jul 25, 2018, 20:28 farzana zakaria <farzanazakaria96@...> wrote:
When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.













Date Wallaroo 0.5.1 has been released!

 

Hi all,

Today we released Wallaroo 0.5.1.

Included is a change to our decoders to allow filtering and a small fix.

Full details available in the release notes:?


- Jonathan


Re: Need your review and guide : DDoS Detection using Wallaroo

Sean Allen
 

You should be using 0.20.0 not 0.21.0


On Thu, Jul 26, 2018 at 12:52 PM farzana zakaria <farzanazakaria96@...> wrote:
Hi, I've got some other error after install ponyc0.21.. . It is really the problem with the pony version

Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:964:5: match is exhaustive, the else clause is unreachable
??? match KafkaSourceConfigFactory(topic, brokers, log_level, out)
??? ^
??? Info:
??? /home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:971:7: unreachable code
????????? error
????????? ^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:1045:5: match is exhaustive, the else clause is unreachable
??? match KafkaSinkConfigFactory(topic, brokers, log_level, max_produce_buffer_ms, max_message_size, out)
??? ^
??? Info:
??? /home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:1052:7: unreachable code
????????? error
????????? ^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/application.pony:290:24: Cannot cast to subtype
??? _a.add_pipeline(_p as BasicPipeline)
?????????????????????? ^
??? Info:
??? /home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/application.pony:290:21: BasicPipeline ref is a subtype of this Expression. 'as' is not needed here.
??????? _a.add_pipeline(_p as BasicPipeline)
??????????????????????? ^
make: *** [/home/farzana/wallaroo-tutorial/wallaroo/machida/build/machida] Error 1


On Thu, Jul 26, 2018 at 3:10 PM, farzana zakaria <farzanazakaria96@...> wrote:
Do you mean that the pony version that is used incompatible with the wallaroo older version ?

On Fri, Jul 27, 2018 at 2:15 AM, Sean T. Allen <sean@...> wrote:
Hmmm, yes. Come to think of it, it would require an older version of Pony to compile. That is going to be problematic. That should be Pony version 0.20.0. You'd need to build that from source and install.


On Thu, Jul 26, 2018 at 10:59 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. According to the instruction for compiling machida with make command,
cd ~/wallaroo-tutorial/wallaroo/machida
make

Its run but got some error like below, how I'm going to fix the error

.
.
.
Error:
net/http: couldn't locate this path
Error:
/home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/startup.pony:24:1: can't load package 'net/http'
use "net/http"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/main.pony:23:1: can't load package 'wallaroo'
use "wallaroo"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:21:1: can't load package 'pony-kafka'
use "pony-kafka"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:26:1: can't load package 'wallaroo/core/sink/kafka_sink'
use "wallaroo/core/sink/kafka_sink"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:29:1: can't load package 'wallaroo/core/source/kafka_source'
use "wallaroo/core/source/kafka_source"
^
make: *** [/home/farzana/wallaroo-tutorial/wallaroo/machida/build/machida] Error 1




On Thu, Jul 26, 2018 at 1:04 PM, Sean T. Allen <sean@...> wrote:
You need to start over for any make commands that you would run in the Wallaroo directory.

You can clone the blog examples into your home directory. That would be fine.

On Wed, Jul 25, 2018, 20:28 farzana zakaria <farzanazakaria96@...> wrote:
When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.












Re: Need your review and guide : DDoS Detection using Wallaroo

Sean Allen
 

Yes.


On Thu, Jul 26, 2018 at 12:10 PM farzana zakaria <farzanazakaria96@...> wrote:
Do you mean that the pony version that is used incompatible with the wallaroo older version ?

On Fri, Jul 27, 2018 at 2:15 AM, Sean T. Allen <sean@...> wrote:
Hmmm, yes. Come to think of it, it would require an older version of Pony to compile. That is going to be problematic. That should be Pony version 0.20.0. You'd need to build that from source and install.


On Thu, Jul 26, 2018 at 10:59 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. According to the instruction for compiling machida with make command,
cd ~/wallaroo-tutorial/wallaroo/machida
make

Its run but got some error like below, how I'm going to fix the error

.
.
.
Error:
net/http: couldn't locate this path
Error:
/home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/startup.pony:24:1: can't load package 'net/http'
use "net/http"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/main.pony:23:1: can't load package 'wallaroo'
use "wallaroo"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:21:1: can't load package 'pony-kafka'
use "pony-kafka"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:26:1: can't load package 'wallaroo/core/sink/kafka_sink'
use "wallaroo/core/sink/kafka_sink"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:29:1: can't load package 'wallaroo/core/source/kafka_source'
use "wallaroo/core/source/kafka_source"
^
make: *** [/home/farzana/wallaroo-tutorial/wallaroo/machida/build/machida] Error 1




On Thu, Jul 26, 2018 at 1:04 PM, Sean T. Allen <sean@...> wrote:
You need to start over for any make commands that you would run in the Wallaroo directory.

You can clone the blog examples into your home directory. That would be fine.

On Wed, Jul 25, 2018, 20:28 farzana zakaria <farzanazakaria96@...> wrote:
When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.











Re: Need your review and guide : DDoS Detection using Wallaroo

 

Hi, I've got some other error after install ponyc0.21.. . It is really the problem with the pony version

Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:964:5: match is exhaustive, the else clause is unreachable
??? match KafkaSourceConfigFactory(topic, brokers, log_level, out)
??? ^
??? Info:
??? /home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:971:7: unreachable code
????????? error
????????? ^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:1045:5: match is exhaustive, the else clause is unreachable
??? match KafkaSinkConfigFactory(topic, brokers, log_level, max_produce_buffer_ms, max_message_size, out)
??? ^
??? Info:
??? /home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:1052:7: unreachable code
????????? error
????????? ^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/application.pony:290:24: Cannot cast to subtype
??? _a.add_pipeline(_p as BasicPipeline)
?????????????????????? ^
??? Info:
??? /home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/application.pony:290:21: BasicPipeline ref is a subtype of this Expression. 'as' is not needed here.
??????? _a.add_pipeline(_p as BasicPipeline)
??????????????????????? ^
make: *** [/home/farzana/wallaroo-tutorial/wallaroo/machida/build/machida] Error 1


On Thu, Jul 26, 2018 at 3:10 PM, farzana zakaria <farzanazakaria96@...> wrote:
Do you mean that the pony version that is used incompatible with the wallaroo older version ?

On Fri, Jul 27, 2018 at 2:15 AM, Sean T. Allen <sean@...> wrote:
Hmmm, yes. Come to think of it, it would require an older version of Pony to compile. That is going to be problematic. That should be Pony version 0.20.0. You'd need to build that from source and install.


On Thu, Jul 26, 2018 at 10:59 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. According to the instruction for compiling machida with make command,
cd ~/wallaroo-tutorial/wallaroo/machida
make

Its run but got some error like below, how I'm going to fix the error

.
.
.
Error:
net/http: couldn't locate this path
Error:
/home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/startup.pony:24:1: can't load package 'net/http'
use "net/http"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/main.pony:23:1: can't load package 'wallaroo'
use "wallaroo"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:21:1: can't load package 'pony-kafka'
use "pony-kafka"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:26:1: can't load package 'wallaroo/core/sink/kafka_sink'
use "wallaroo/core/sink/kafka_sink"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:29:1: can't load package 'wallaroo/core/source/kafka_source'
use "wallaroo/core/source/kafka_source"
^
make: *** [/home/farzana/wallaroo-tutorial/wallaroo/machida/build/machida] Error 1




On Thu, Jul 26, 2018 at 1:04 PM, Sean T. Allen <sean@...> wrote:
You need to start over for any make commands that you would run in the Wallaroo directory.

You can clone the blog examples into your home directory. That would be fine.

On Wed, Jul 25, 2018, 20:28 farzana zakaria <farzanazakaria96@...> wrote:
When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.












Re: Need your review and guide : DDoS Detection using Wallaroo

 

Do you mean that the pony version that is used incompatible with the wallaroo older version ?

On Fri, Jul 27, 2018 at 2:15 AM, Sean T. Allen <sean@...> wrote:
Hmmm, yes. Come to think of it, it would require an older version of Pony to compile. That is going to be problematic. That should be Pony version 0.20.0. You'd need to build that from source and install.


On Thu, Jul 26, 2018 at 10:59 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. According to the instruction for compiling machida with make command,
cd ~/wallaroo-tutorial/wallaroo/machida
make

Its run but got some error like below, how I'm going to fix the error

.
.
.
Error:
net/http: couldn't locate this path
Error:
/home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/startup.pony:24:1: can't load package 'net/http'
use "net/http"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/main.pony:23:1: can't load package 'wallaroo'
use "wallaroo"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:21:1: can't load package 'pony-kafka'
use "pony-kafka"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:26:1: can't load package 'wallaroo/core/sink/kafka_sink'
use "wallaroo/core/sink/kafka_sink"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:29:1: can't load package 'wallaroo/core/source/kafka_source'
use "wallaroo/core/source/kafka_source"
^
make: *** [/home/farzana/wallaroo-tutorial/wallaroo/machida/build/machida] Error 1




On Thu, Jul 26, 2018 at 1:04 PM, Sean T. Allen <sean@...> wrote:
You need to start over for any make commands that you would run in the Wallaroo directory.

You can clone the blog examples into your home directory. That would be fine.

On Wed, Jul 25, 2018, 20:28 farzana zakaria <farzanazakaria96@...> wrote:
When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.











Re: Need your review and guide : DDoS Detection using Wallaroo

Sean T. Allen
 

Hmmm, yes. Come to think of it, it would require an older version of Pony to compile. That is going to be problematic. That should be Pony version 0.20.0. You'd need to build that from source and install.


On Thu, Jul 26, 2018 at 10:59 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. According to the instruction for compiling machida with make command,
cd ~/wallaroo-tutorial/wallaroo/machida
make

Its run but got some error like below, how I'm going to fix the error

.
.
.
Error:
net/http: couldn't locate this path
Error:
/home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/startup.pony:24:1: can't load package 'net/http'
use "net/http"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/main.pony:23:1: can't load package 'wallaroo'
use "wallaroo"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:21:1: can't load package 'pony-kafka'
use "pony-kafka"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:26:1: can't load package 'wallaroo/core/sink/kafka_sink'
use "wallaroo/core/sink/kafka_sink"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:29:1: can't load package 'wallaroo/core/source/kafka_source'
use "wallaroo/core/source/kafka_source"
^
make: *** [/home/farzana/wallaroo-tutorial/wallaroo/machida/build/machida] Error 1




On Thu, Jul 26, 2018 at 1:04 PM, Sean T. Allen <sean@...> wrote:
You need to start over for any make commands that you would run in the Wallaroo directory.

You can clone the blog examples into your home directory. That would be fine.

On Wed, Jul 25, 2018, 20:28 farzana zakaria <farzanazakaria96@...> wrote:
When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.










Re: Need your review and guide : DDoS Detection using Wallaroo

 

Hi. Thank you for your respond. According to the instruction for compiling machida with make command,
cd ~/wallaroo-tutorial/wallaroo/machida
make

Its run but got some error like below, how I'm going to fix the error

.
.
.
Error:
net/http: couldn't locate this path
Error:
/home/farzana/wallaroo-tutorial/wallaroo/lib/wallaroo/startup.pony:24:1: can't load package 'net/http'
use "net/http"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/main.pony:23:1: can't load package 'wallaroo'
use "wallaroo"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:21:1: can't load package 'pony-kafka'
use "pony-kafka"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:26:1: can't load package 'wallaroo/core/sink/kafka_sink'
use "wallaroo/core/sink/kafka_sink"
^
Error:
/home/farzana/wallaroo-tutorial/wallaroo/machida/machida.pony:29:1: can't load package 'wallaroo/core/source/kafka_source'
use "wallaroo/core/source/kafka_source"
^
make: *** [/home/farzana/wallaroo-tutorial/wallaroo/machida/build/machida] Error 1




On Thu, Jul 26, 2018 at 1:04 PM, Sean T. Allen <sean@...> wrote:
You need to start over for any make commands that you would run in the Wallaroo directory.

You can clone the blog examples into your home directory. That would be fine.

On Wed, Jul 25, 2018, 20:28 farzana zakaria <farzanazakaria96@...> wrote:
When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.










Re: Need your review and guide : DDoS Detection using Wallaroo

Sean T. Allen
 

You need to start over for any make commands that you would run in the Wallaroo directory.

You can clone the blog examples into your home directory. That would be fine.

On Wed, Jul 25, 2018, 20:28 farzana zakaria <farzanazakaria96@...> wrote:
When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.









Re: Need your review and guide : DDoS Detection using Wallaroo

Sean Allen
 

You only need docker if you want to run the Metrics UI.?

So, no you do not have to have it.

On Thu, Jul 26, 2018 at 2:00 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi,
According to?? ,in order to setting up the ubuntu environment for wallaroo, it is okay if the docker is not apply for the ddos detection example ? Thank you.

On Thu, Jul 26, 2018 at 11:28 AM, farzana zakaria <farzanazakaria96@...> wrote:
When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.










Re: Need your review and guide : DDoS Detection using Wallaroo

 

Hi,
According to?? ,in order to setting up the ubuntu environment for wallaroo, it is okay if the docker is not apply for the ddos detection example ? Thank you.

On Thu, Jul 26, 2018 at 11:28 AM, farzana zakaria <farzanazakaria96@...> wrote:
When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.










Re: Need your review and guide : DDoS Detection using Wallaroo

 

When I run the "make clean" in the wallaroo directory, do I have to start over the installation process ? In which directory I have to run the command below ? It has to be in home directory ?
git clone cd wallaroo_blog_examples/ddos-detection

On Thu, Jul 26, 2018 at 11:07 AM, Sean T. Allen <sean@...> wrote:
You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.









Re: Need your review and guide : DDoS Detection using Wallaroo

Sean T. Allen
 

You need to use the complete command from the README in the example to run it.

If you want to use 0.2.2, you should check out that version of the code in git, then in the book directory you'll find .MD files with installation instructions.

I suggest removing your existing installation and starting over if you want to use an older version.

At the least you should run?

make clean?

In your Wallaroo directory before checking out 0.2.2 so you'll be starting with a fresh slate.

On Wed, Jul 25, 2018, 19:35 farzana zakaria <farzanazakaria96@...> wrote:
How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.








Re: Need your review and guide : DDoS Detection using Wallaroo

 

How to build the machida ??
I run the below command like the ddos example and the output is "machida : command not found" .?

machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

On Thu, Jul 26, 2018 at 10:26 AM, Sean T. Allen <sean@...> wrote:
Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.

On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.








Re: Need your review and guide : DDoS Detection using Wallaroo

Sean T. Allen
 

Yes but the installation directions you followed might not work. You can try checking out that version of Wallaroo and building Machida. It might work for you with no other changes.


On Wed, Jul 25, 2018, 19:15 farzana zakaria <farzanazakaria96@...> wrote:
Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.







Re: Need your review and guide : DDoS Detection using Wallaroo

 

Hi. Sorry. Which command did you use to been able to run the output like the screenshot file. Can I use the old version for run the ddos example by using this?
git clone 
cd wallaroo
git checkout 0.2.2
?and dont have to update to the new API

On Thu, Jul 26, 2018 at 2:04 AM, Sean Allen <sean@...> wrote:
Sorry, I don't understand your question.

On Wed, Jul 25, 2018 at 10:53 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. I'm so impress. How its gonna be startup? I dont really get it ?
On Thursday, July 26, 2018, Sean Allen <sean@...> wrote:
Hi Farzana,

The application in question uses the old Wallaroo API. You woudn't?be able to run it without updating the code to the latest API.
There are instructions on doing that here:



So you will need to learn some Wallaroo in order to do that.

---

Re: "how do I know the Wallaroo application started up"

One startup there is a bunch of output on startup, the last thing you see before sending in any data should be:

"Application has successfully initialized."

I've attached an example from an application I just started up on my laptop.





On Wed, Jul 25, 2018 at 10:18 AM farzana zakaria <farzanazakaria96@...> wrote:
Hi. Thank you for your respond. By using 64-bit platform , I'm able to install package ponyc.

According to , which directory I have to run
git clone 
cd wallaroo_blog_examples/ddos-detection

python receiver.py --host
export PYTHONPATH="$PYTHONPATH:.:$HOME/wallaroo-tutorial/wallaroo/machida" export PATH="$PATH:$HOME/wallaroo-tutorial/wallaroo/machida/build" machida --application-module ddos_detector --in --out \ --control --data --name initializer --cluster-initializer \ --worker-count 2 --metrics --ponythreads 1 --ponypinasio --ponynoblock

python sender.py --host --file data.json --batch 1000

Sorry, I' still new in this and a bit confuse how it can be run in order to ensure the wallaroo application works.

On Wed, Jul 25, 2018 at 11:52 AM, Sean T. Allen <sean@...> wrote:
Doesn't matter. If you execute all the comments you should be fine. For anything installed via apt-get there are commands you can run to determine that. I don't remember those commands but they should be in the apt-get directions.

On Tue, Jul 24, 2018, 20:44 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am trying. But the direction does not show where I have to run those command. As you said, the python development library is install somewhere else in system path. Which path exactly?

On Wed, Jul 25, 2018 at 11:34 AM, Sean T. Allen <sean@...> wrote:
Please follow the directions as written. They should result in success for you. They are designed to be done in order and result in a successful installation.

On Tue, Jul 24, 2018, 20:32 farzana zakaria <farzanazakaria96@...> wrote:
Yes, I am.

On Wed, Jul 25, 2018 at 11:30 AM, Sean T. Allen <sean@...> wrote:
Did you start over using a 64 bit OS?

On Tue, Jul 24, 2018, 19:48 farzana zakaria <farzanazakaria96@...> wrote:
I'm sorry. I mean this command for installing pony. Which directory I should use to run those 3 command ?

echo "deb  pony-language main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -V install ponyc=0.21.0-4301.acd811b


On Wed, Jul 25, 2018 at 10:17 AM, Sean T. Allen <sean@...> wrote:
Which commands? What directions are using? Where have you gotten to?

On Tue, Jul 24, 2018, 18:25 farzana zakaria <farzanazakaria96@...> wrote:
Which directory actually I have to run those command ??

On Wednesday, July 25, 2018, Sean T. Allen <sean@...> wrote:
Please try again with 64 bit Linux and let us know if you encounter any problems.

On Tue, Jul 24, 2018, 15:07 farzana zakaria <farzanazakaria96@...> wrote:
Hi. But I ran it on ubuntu trusty 64-bit already.
On Wednesday, July 25, 2018, Scott Lystig Fritchie <scott@...> wrote:
On Tue, Jul 24, 2018 at 12:13 PM, farzana zakaria <farzanazakaria96@...> wrote:
[...]?
Hit??trusty/main i386 Packages

Whoops, sorry Farzana, that's the bit of info that we needed.? We at Wallaroo Labs have overlooked an important bit of documentation: Wallaroo does not support 32 bit platforms.? If you have a 64 bit version of Ubuntu Trusty available, please use it.

If you only have 32 bit hardware available, our apologies.? From what I can see in the Pony compiler's main README, there is no clear text that says that the 32-bit Pony compiler cannot yet pass its full test suite.? I will open bug reports on both repos to request clearer documentation for 32-bit and 64-bit platforms.

-Scott

P.S.