New things since last post

A lot of things happened since my last post here:

  • Gave a talk “Why Clojure?” at Devoxx, which has 482 viewers for the video already :)
  • Functional Rotterdam is going strong with meetups every month at Lunatech’s office.
  • Took a deep dive into Big Data (Hadoop/Spark) at work.
  • Started with Executive MBA program at RSM.
  • Co-Organizing Clojure Days Conference, next March.

More updates and details coming soon.

→ North Korea’s Air Koryo: The World’s Only 1 Star Airline

A deserted airport customs lounge, luggage weighed by hand on an old fashioned scale and a cockpit with no digital assistance, are just some of the sites a photographer from Singapore has captured on camera after flying with the world’s only one-star airline.Aram Pan gained unprecedented access to the Soviet-era planes still used in North Korea by the nation’s civil carrier, Air Koryo, plus cargo transporters and helicopters, after joining a tour for aviation enthusiasts inside the communist enclave.

via North Koreas Air Koryo: The Worlds Only 1 Star airlines | The Real Singapore.

This site is now powered by OpenShift Origin !

I finally got time to play and install OpenShift Origin as my Personal PaaS. The installation went very smoothly except for a couple of hiccups. I’m using two CentOS VMs – one for broker and one for node. Apart from default cartridges for PHP, Python and NodeJS, I have also installed support for Clojure and Haskell apps. So I can have the nice workflow of git-push-to-deploy for my apps!

Now for the hiccups during installation:

After installing every app I created got into a redirect loop to getting_started.html. This was fixed by adding these lines:

to *:80 vhost in /etc/httpd/conf.d/000001_openshift_origin_frontend_vhost.conf

I wasn’t able to create a new app using (e.g. clojure cartridge) manifest. This was fixed by installing unzip – which was apparently missing on the node server.

The Clojure/Java app won’t start and keeps throwing class not found exceptions Apparently Node CentOS VM was using gcj (WTF!!??). Installing OpenJDK fixed this.

I couldn’t delete any apps either using rhc or using oo-admin-* scripts. This fails with message : “Can only supply discovery data if direct_addressing is enabled”
This was fixed by adding the line

to /opt/rh/ruby193/root/etc/mcollective/client.cfg

Hope this helps if someone is facing similar issues during installation.