Is it possibile set up Storm on a single raspberry pi 3? - raspberry-pi

I've seen on StackOverflow that's possibile develop a cluster composed of a single node.
My challenge is maybe harder: setting an apache storm environment on a single raspberry pi 3. I know that is a very limited machine to do stream computing, but mine is a research interest. Until now, I have not found system requirements to setup storm on a machine, someone can help me?
Thanks to all

Yes, Ideally it should be possible once you have Linux OS installed for e.g. Ubuntu Mate on Raspberry Pi 3.
You may be required to make sure you have these packages installed:
Java 7
Python 2.
Then follow below link for a basic setup of Storm:
https://github.com/vrmorusu/Storm/wiki/Apache-Storm-on-Cloudera-VM
You may build uberjar files containing Storm topology files on your local machines to avoid installation of maven and other build tool dependencies.
It would be great if you can try this and post your success story or issues seen in this forum. It will help getting more focused answer(s) for problem(s).

Related

How to install Qpid Proton on Raspberry pi

I want to use Qpid Proton on the raspberry pi 4 but I have trouble installing it.
Well, it seems I could install it and I can use the examples from the Apache website.
https://qpid.apache.org/releases/qpid-proton-0.33.0/proton/python/docs/tutorial.html
However, the container's on_sendable callback does not seem to be executed.
After doing some research, it seems I need to add a topic exchange with the qpid-config, which is part of qpid-tools.
However, those are not available to install, both with pip or apt ...
Do you know how I can install Qpid-Tools on the raspberry pi?
Do I need to add a repository? And if so, where do I find it?
It's doubtful that there exists a build of qpid-tools fir the ARM based distributions so the short answer is probably that you can't get those tools there. The longer answer would be that you would need to likely build the qpid C++ binaries yourself on your Raspberry Pi using the included INSTALL instructions to try and reverse engineer the needed requirements and platform configuration that would allow it to build on ARM.
If you figure out the requirements you could feed that back to the Qpid community although I don't think there is much ongoing momentum for the Qpid C++ broker.
You can download the source bundle from the Qpid project site here.

Configuring QT Creator on Windows 7 (Raspberry pi is target)

So I will start off by saying that I do NOT want know how to setup or run QT on the pi. I am specifically trying to setup Qt Creator 4.0.3 (Based on Qt 5.7.0 (MSVC 2013, 32 bit)) to write and compile C++ and the run it on the Raspberry pi 2. I have found that running qt on the pi is far to slow.
I have searched for two days to find the right toolchain download for qt/raspberry and its corresponding qt configuration. Nothing seems to work. I have found what seems like a thousand dead ends searching the web. I can write and compile apps for windows console fine. But finding information to cross compile for raspberry seems to be an elusive Unicorn!
Does anyone have this working??? If so which of the many toolchains did you use? And please help me replicate your QT configuration. The closest I have come is using the GCC ARM Embedded toolchain but I cant seem to get the QT options set correctly and I believe that only gets me part of the way there. My ultimate goal is to control GPIO and use the RadioHead library.
Thanks in advance!
I also wanted to do that, and I actually achieved it, It's called "cross-compilation", you build on the Main PC and then compile it to the target.
Initially I wanted to use my main PC with windows 10, but I ended creating a linux partition on my pc to do it since I didn't found any way to do it with windows.
Qt has a very comprehensive tutorial with Qt5 and RaspberryPi2 (both with linux), the only problem is you need linux on your pc to do it. If you want to do this I would suggest following this steps:
Create a linux partition with the same os as in the pi (for example raspbian and debian) and name the username (in linux) "pi" and the password "raspberry". This will help you with external libraries.
Install Qt for Linux on your new partition
Follow Qt's tutorial on https://wiki.qt.io/RaspberryPi2EGLFS
The tutorial is really straightforward, I really recommend it.
Good Luck.

win10 IOT on raspberry pi3 or raspberry pi2

I have a raspberry pi3 but I am having tremendous issues with trying to install win10 IOT on it. When I download the core and try to boot it I only get the "rainbow" screen. When installing noobs I dont even get the option for win10 IOT. Anyone else had problems with this? Will it work smoother on a raspberry pi2 rather then the pi3?
Im not asking if anyone know solutions for booting win10 IOT on pi3, I have tried most of it :) Just asking if anyone has better experiences using pi2 for it?
If you follow the link to Manually set up your IoT Core device Microsoft there explain how to install with a Windows computer.
If you are using UNIX however, there isn't much help for you. As an experienced Unix user who last used Windows seriously about six years ago I found it quite intimidating to have to
a) log into my Microsoft account (that I last used from a different continent)
b) sign up as a "Windows Insider"
Even after going through these hurdles I only stumbled across the ISO file by accident, and even then nothing for the Raspberry Pi.
This answer isn't given to help you achieve your aim, which I despair of doing, but to let you know that the whole process perplexed someone of considerable experience. I don't see myself using Win 10 for my Pis without buying a pre-configured SD card.
What you're going to need to do is follow this link and do what it says:
https://buildazure.com/2017/05/24/setup-raspberry-pi-with-windows-10-iot-core/
Basically:
Load up your microsd card onto the PC
Use the wizard
Insert card into the Pi
And boot it up.
i working in windows 10 iot core.
first time when i install windows 10 iot core i follow the following list.
how to install windows 10 iot core
follow the link.
i things your problem is solve...

Can CockroachDB run on Raspberry Pi?

I am interested to test CockroachDB on a cluster of PIs. Anyone knows if this this currently possible considering they are still in Alpha?
This may be a little late, but I recently got CockroachDB running on a Pi. The steps I had to take are available here. This is a point-in-time guide to getting Cockroach working on a raspberry pi, so the necessary steps may change in the future, and we still don't officially support ARM architectures. Please reach out on GitHub if you have any issues following the steps!
CockroachDB has so far only been tested on 64-bit x86 platforms (a note in CONTRIBUTING.md says that a 64-bit build is required). It probably won't work on the Raspberry Pi out of the box; I'm not sure what it would take to get it working there.

How to host the OpenStreetMap Locally

I want to host the OSM (OpenStreetMap) locally. I need the basic idea what are required for hosting the OSM and how the task can be done in a step wise manner. I have to host it in Windows7 environment.
Any kind of help will be useful.
switch2osm contains detailed instructions and requirements for setting up a OSM server. If you have a Windows system then better set up a Linux VM inside it.
A bit too old but I will just put it here for someone who is searching for the same thing.
An exact instance of OpenStreetMap can be hosted locally by following the installation guide of OpenStreetMap.
Quoting from the Link:
"These instructions are designed for setting up The Rails Port for development and testing. If you want to deploy the software for your own project, then see the notes at the end.
You can install the software directly on your machine, which is the traditional and probably best-supported approach. However, there is an alternative which may be easier: Vagrant. This installs the software into a virtual machine, which makes it easier to get a consistent development environment and may avoid installation difficulties. For Vagrant instructions, see VAGRANT.md.
These instructions are based on Ubuntu 12.04 LTS, which is the platform used by the OSMF servers. The instructions also work, with only minor amendments, for all other current Ubuntu releases, Fedora and MacOSX
We don't recommend attempting to develop or deploy this software on Windows. If you need to use Windows, then try developing this software using Ubuntu in a virtual machine, or use Vagrant."