sudo -u hdfs [hadoop-admin-user] fs -mkdir /user/[username]
sudo -u hdfs [hadoop-admin-user] fs –chown [username] : [username] /user/[username]
Danushka's Tech Thoughts
Wednesday, September 18, 2013
How to Create a User Home Directory in HDFS
Tuesday, August 27, 2013
Loading static inner classes in Java
Use the following syntax when loading static inner classes. The key is to use $ (dollar) sign instead of . (dot) to separate outer and inner class names in your fully-qualified class name.
Class innerClass = Class.forName("com.foo.OuterClass$InnerClass");
Tuesday, August 20, 2013
Cherry Picking Commits in Subversion
I found this article quite useful in cherry picking commits in Subversion. Anyway I know for sure that merging in svn is not as fun as it is in other configuration management systems like git. Enjoy!.
Tuesday, July 23, 2013
My Google Summer of Code 2013 Proposal
My aim is to add support for Advanced Message Queuing Protocol (AMQP) in WS-Messenger module of Apache Airavata.
WS-Messenger is a message broker implementation that is based on publish/subscribe communication model. It is the core notification handler in Airavata that implements the WS-Eventing and WS-Notifications specifications. These mechanisms that are based on HTTP and Web services definitely have a lot to offer, but they are not the only ways to do things and most importantly, there are cases that these models cannot cater for. AMQP is an open standard application layer protocol for message-oriented middleware. It has an efficient binary wire protocol and a message routing framework based on point-to-point and publish-and-subscribe models. The objective of this project is to implement a robust and efficient publish/subscribe and store-and-forward messaging framework in WS-Messenger based on AMQP.
Read more here.
Sunday, July 21, 2013
Google Summer of Code 2013 – Sri Lanka goes up 2 notches!
It is really exciting to see that Sri Lanka has climbed up the ladder this year with 56 acceptances. Its 14 more than last year’s regime and more importantly, I am one of those 14 .
After a long period of silence …
Its been more than a year since I wrote a blog post. I have been completely busy with my M.Sc. work including exams, continuous assessment, research work and more over family matters, etc … Not looking for excuses, but anyway it did not happen.
Hopefully from now on I will have blog posts at regular intervals. I think I have lot more things to write about the research work that I have been doing. That also includes the GSoC 2013 work that has turned out to be quite interesting.
Lets keep the fingers crossed!
Tuesday, January 31, 2012
Have you started to read papers?
I always believe that it is better to light a candle than curse the darkness.
Therefore I have decided to write reviews for the papers I read and post them here. Your comments on them are invaluable!.