Docker is a great tool for experimenting and learning. If you haven’t tried it till now then do give it try ! You can play with-in it without messing your own system. We can also built limitations for the container so that the host does not have any major impact in case the container goes berserk. While it was easy to put limitations for memory and CPU utilization, last few days I spend major amount of time in figuring out ‘how to handle a fork bomb ?’ (more…)
August 22, 2014
August 4, 2014
Few days back Apache Hadoop Development Tools a.k.a. HDT was released. The projects aims at bringing plugins in eclipse to simplify development on Hadoop platform. This blog aims to provide an overview of few great features of HDT.
Single Endpoint :
The project can act as a single endpoint for your HDFS, Zookeeper and MR Cluster. You can connect to your HDFS/Zookeeper instance and browse or add more data. You can submit jobs to MR cluster and see status of all the running jobs. (more…)
July 25, 2014
Recently I started working with team on a Eclipse plugin. The team had developed an awesome plugin that does the intended purpose. Thus I checkout the source and tried building it. The project source contained all the required libraries and it could only be build in Eclipse. In today’s world of continuous delivery, this is a major impediment as such a project can not be built on Jenkins. (more…)
March 28, 2014
The applications of today are trying to persist data that has no fixed definition to it like user actions, application responses etc. Since the data is varied in nature the developers pick the Nosql paradigm to keep track of it.Often applications are spring based and spring has awesome support for Mongodb so developers start using Mongo db. Thus now there are multiple databases in the same application and there are overheads of working with the them. The admins have to keep track to two sets, the devs have to keep track to different pojos to make references etc. But do we really need to go down this road ? I am ardent follower of Postgres, so if we are using Postgres as the application store I will advise against going this road. (more…)
April 7, 2013
The other day I was refactoring one of our apis. We were removing some of the columns as they were not required. I believe in this exercise dropping the column was the most easy part. After that I removed the corresponding fields from the associated ORM and it was fine for the business related code. But !! the big one, was my code was not compilable, as the object was being used in a lot of tests and thus my project was all painted RED.
While I was fixing all the required tests I realized most of the tests were on similar lines. We were pushing some data in tests, creating some required resources and then destroying them after the tests were done. Now we have blatantly copied the stuff in every testcase with total disregard to the DRY principle. (more…)