Go to advanced search

by acobley
Thu Jul 04, 2013 2:57 pm
Forum: Other projects
Topic: Hadoop+HDFS+MR on Pi cluster - works!
Replies: 14
Views: 56831

Re: Hadoop+HDFS+MR on Pi cluster - works!

Have you tried running it with the oracle JVM rather than Open JDK ? My experiments with Cassandra show the oracle Java to be significantly faster than Open JDK:

http://ac31004.blogspot.co.uk/2012/07/j ... ebian.html
by acobley
Tue Jul 31, 2012 5:30 pm
Forum: General discussion
Topic: Previous Debain image please ! (for java users)
Replies: 3
Views: 5475

Previous Debain image please ! (for java users)

As some of us are discovering the new Raspbian “wheezy” will not run the Oracle Java Runtime. This is important because OpenJDK is a lot slower than the Oracle JRE. There is a thread about this here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=11671&p=126808#p126808 And here http://www.ra...
by acobley
Sat Jul 21, 2012 5:53 pm
Forum: Raspbian
Topic: Java on Raspbian
Replies: 105
Views: 50155

Re: Java on Raspbian

Thanks Jan77.

I'll investigate and see if jamm-0.2.5.jar is absolutely needed for Apache Cassandra.

Andy
by acobley
Sat Jul 21, 2012 2:29 pm
Forum: Raspbian
Topic: Java on Raspbian
Replies: 105
Views: 50155

Re: Java on Raspbian

well the good news is it's quite easy to get JamVM running on the PI. I just downloaded the source, configure, make and make install. The bad news is it doesn't look like it will run my application, trying to start cassandra gives: Unrecognised command line option: -javaagent:/home/space/apache-cass...
by acobley
Sat Jul 21, 2012 1:23 pm
Forum: Raspbian
Topic: Java on Raspbian
Replies: 105
Views: 50155

Re: Java on Raspbian

Well I'll have a go at compiling the JamVM and see if I can get it working.

Andy
by acobley
Fri Jul 20, 2012 2:59 pm
Forum: Raspbian
Topic: Java on Raspbian
Replies: 105
Views: 50155

Re: Java on Raspbian

So, out of interests, what would the Java jvm need to be compiled with ? I note that Java SE Embedded 6 on ARM EABI, Little-Endian, Linux is compiled with the options :

gcc options used include: -mfloat-abi=softfp -mfpu=vfp

Andy
by acobley
Thu Jul 19, 2012 8:09 pm
Forum: Raspbian
Topic: Blog: Java performance on Raspbian vs Debian
Replies: 7
Views: 4148

Re: Blog: Java performance on Raspbian vs Debian

Guys,

Lets not get into a language bashing or supporting thread here ! I'm running a particular application (apache cassandra written in Java) for a particular purpose (teaching distributed database technology) I just need the best performance I can.

Andy
by acobley
Thu Jul 19, 2012 6:35 pm
Forum: Raspbian
Topic: Blog: Java performance on Raspbian vs Debian
Replies: 7
Views: 4148

Blog: Java performance on Raspbian vs Debian

This is really for discussion and information. Over the past month or two I've been experimenting with running Apache Cassandra on the Pi for educational reasons. I tried the Raspbian distro (good job and well doen to all who worked on it !) but ran into a problem running my chosen java JRE (discuss...
by acobley
Thu Jul 19, 2012 8:16 am
Forum: Raspbian
Topic: Java on Raspbian
Replies: 105
Views: 50155

Re: Java on Raspbian

Thats a real shame !

I'll do some tests with openjdk but in the past I've found that a lot slower than the Oracle java. This could be quite a pain, may have to go back to the Debian image.

It would be nice f oracle would take some interest in the Pi.


Andy
by acobley
Wed Jul 18, 2012 8:50 pm
Forum: Raspbian
Topic: Java on Raspbian
Replies: 105
Views: 50155

Java on Raspbian

I'm trying to get java (Java SE Embedded 6 http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html) running on Raspbian. However when I try and run it, I'm getting : java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory I...
by acobley
Mon Jul 16, 2012 6:22 pm
Forum: Advanced users
Topic: mount Pi Sd card in USB
Replies: 12
Views: 44414

Re: mount Pi Sd card in USB

The card reader works in a Mac (although you can only see the boot partition of course).

Andy
by acobley
Mon Jul 16, 2012 5:55 pm
Forum: Advanced users
Topic: mount Pi Sd card in USB
Replies: 12
Views: 44414

Re: mount Pi Sd card in USB

Well that doesn't seem to work, dmesg gives: usb 1-1.2: new high speed USB device number 7 using dwc_otg usb 1-1.2: New USB device found, idVendor=05e3, idProduct=0723 usb 1-1.2: New USB device strings: Mfr=3, Product=4, SerialNumber=0 usb 1-1.2: Product: USB Storage usb 1-1.2: Manufacturer: Generic...
by acobley
Mon Jul 16, 2012 5:30 pm
Forum: Advanced users
Topic: mount Pi Sd card in USB
Replies: 12
Views: 44414

Re: mount Pi Sd card in USB

Thanks for the help, I'll report back on how it goes.

Andy
by acobley
Mon Jul 16, 2012 4:09 pm
Forum: Advanced users
Topic: mount Pi Sd card in USB
Replies: 12
Views: 44414

mount Pi Sd card in USB

Hopefully I can make this clear ! I have a bootable Pi SD card. I want to mount it on the USB port of another Pi so I can read some data off it and onto another Pi. I have installed usbmount, but when I plug the SD card into the USB (via a card reader) it doesn't seem to mount. Any easy ideas ? Andy
by acobley
Thu May 10, 2012 7:02 am
Forum: Troubleshooting
Topic: Firewall on by default
Replies: 6
Views: 6848

Re: Firewall on by default

<t>error404 said: <br/> <br/> <br/> Many daemons (especially on Debian), especially things like database servers, have a default configuration that only listens on localhost.<br/> <br/> From the Cassandra binary packages it seems Cassandra is among these daemons; the provided /etc/cassandra/cassandr...
by acobley
Wed May 09, 2012 8:08 pm
Forum: Troubleshooting
Topic: Firewall on by default
Replies: 6
Views: 6848

Re: Firewall on by default

Hi all,

I've managed to get apache cassandra running on my pi,  but I can't connect to it from the outside world.  cassandra listens by default on port 9160, is this blocked by default by a firewall on the debian version of RPi ?

Thanks.

Andy
by acobley
Sun May 06, 2012 8:26 pm
Forum: Beginners
Topic: Resizing the SD card using a Mac ?
Replies: 16
Views: 42385

Re: Resizing the SD card using a Mac ?

Thanks JeremyF,  good to know

Andy
by acobley
Sun May 06, 2012 7:07 pm
Forum: Beginners
Topic: Resizing the SD card using a Mac ?
Replies: 16
Views: 42385

Re: Resizing the SD card using a Mac ?

Thanks Joe, that confirms the resize of the original image on the SD can't be resized on a Mac.  I'll just install a linux on an old PC if I ned to do the resize (as opposed to mounting a new partition which is what I'm doing now)
by acobley
Sun May 06, 2012 12:28 pm
Forum: Beginners
Topic: Resizing the SD card using a Mac ?
Replies: 16
Views: 42385

Re: Resizing the SD card using a Mac ?

<t>Not quite what I need but  there is a GUI partition manager under debian which can be run from a terminal as<br/> <br/> sudo gparted<br/> <br/> I used this to create a new partition (type ext4) and once done mounted it from the command line:<br/> <br/> sudo mount -t ext4 /dev/mmcblk0p4 space<br/>...
by acobley
Sun May 06, 2012 11:21 am
Forum: Beginners
Topic: Resizing the SD card using a Mac ?
Replies: 16
Views: 42385

Re: Resizing the SD card using a Mac ?

<r>Hi all,<br/> The following page:<br/> <br/> <URL url="http://elinux.org/RPi_Easy_SD_Card_Setup">http://elinux.org/RPi_Easy_SD_Card_Setup</URL><br/> <br/> Explains  how to resize an SD card (with debian installed) on a Linux.  Any clues on how to do it on a Mac ?<br/> parted does not appear to be ...

Go to advanced search