When you are installing and trying to setup your Hadoop cluster you might face a issue like below.FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for Block pool (Datanode Uuid unassigned) service to master/192.168.1.1:9000. Exiting. java.io.IOException: Incompatible clusterIDs in /home/hadoop/hadoop/data: namenode clusterID = CID-68a4c0d2-5524-486e-8bc9-e1fc3c5c2e29; datanode clusterID = CID-c6c3e9e5-be1c-4a3f-a4b2-bb9441a989c5I just quoted first two line of the error. But full

Let's assume you are working for ABC Group. And they have ABC America airline, ABM Mobile, ABC Money and ABC hotel blah blah. ABC this and that. So you got multiple data sources. They have different types/columns. So you can't run single Hadoop Job on all the data.You got several data files from all these businesses. (Edited this data file ...

One of my colleagues wanted to write a JMeter script to test IMAP. But that code failed. So I also got involved in that. JMeter BeanShell uses Java in the backend. First I tried with a Maven project. Finally I could write a code to list the IMAP folders. Java implementation is shown below. Then we wrote a code to ...

Last post I showed how to create multiple nodes in a single Vagrant project. Usually "ubuntu/trusty64" box comes with 500MB. For some developers need more RAM, more CPUs. From this post I'm going to show how to increase the memory and number of CPUs in a vagrant project. Run below commands mkdir testProject1cd testProject1vagrant initThen edit the Vagrant file like ...

Recently I started working with Vagrant. Vagrant is a good tool that you can use for development. From this post I'm going to explain how to create multiple nodes on Vagrant project. mkdir testProjectcd testProjectvagrant initIf you run above commands, it will create a Vagrant project for you. Now we have to do changes to the vagrant file. Your initial ...

I recently installed Alfresco for testing in vagrant instance. I used Ubuntu image for the vagrant instance. But I forgot to install all the libraries which is necessary to be installed on Ubuntu before you install alfresco. But fortunately alfresco worked with out those dependencies.http://docs.alfresco.com/5.0/concepts/install-lolibfiles.htmlAbove link gives you what are the libraries you should install before you install Alfresco. You ...

People hate Yosemite. But I don't know why. I like Yosemite more than Mavericks. But Yosemite has a problem with Maximize button.(Zoom) As you click Zoom or maximize button it will go to full screen mode.To avoid thispress zoom while you are pressing Alt (key).Enjoy yosemite!

This comparison is an outdated comparison. I think Neo4J has improved a lot with the time. But I'm posting this because a person who wants to compare both of these technologies, can get an idea about the aspects they need to focus. If you know something is outdated please feel free to suggest using comments. I'll update the blog post ...

Alfresco: How to write a simple Java based Alfresco web script? If you want to develop new feature for Alfresco best way is WebScript! Let's start with a simple Alfresco web script. First you need to create an Alfresco AMP maven project using archetype. In this example I'll use the latest alfresco version 5.0.First I generated Alfresco All-in-One AMP. (Please refer my blog post on generating AMP projects.)If you go through ...

If you are an Alfresco developer, you have to develop projects using Alfresco AMP modules. Previously Alfresco has used Ant to build projects. But latest Alfresco SDK is using Apache Maven. AMP maven projects generates whole lot of temporary files. Those files you don't want in your version control system. Nowadays almost everyone is using Git. If I say Git ...

Alfresco: Calculate folder size using Java based WebScript I was assigned to a training task to write a web script for calculating the size of a folder or a file. But you need to go through all the nodes recursively. If you don't calculate it recursively in folders you won't get accurate folder size.For this project, I generated Alfresco 5 All-in-One maven project. You really don't want Alfresco ...

Back in 2013, I wrote a post about expanding terminal history unlimited. Recently I moved from Linux to Mac OS. Then I wanted unlimited history. Usually in Mac OS X you will only get 500 entries in history. New entries would replace old entries.Take the a terminal window and type below command.open ~/.bash_profileor vim ~/.bash_profileMost probably you will get an ...

OpenJDK is not bundled with Ubuntu by default This is not a technical blog post. This was about a bet. One of my ex-colleagues told that OpenJDK is installed on Ubuntu by default. And I installed a fresh Virtual machine and showed him that it won't. Then I earned Pancakes. We went to The Mel's Tea Cafe.

That Cafe on That Day This was a treat from Jessi. (President of Perethaya Team) Actually we earned it buy helping her course work. According to her this was the best place. And we were excited. We planned to go there on 5pm. I was the guy who went there first. And time was around 4pm. Then I was waiting till someone comes. Then Anna ...

Simply Strawberries on 14th Jan We went to have Strawberry waffles. And all of us wanted it with chocolate sauce. And my friend Jessi always want to take photographs of food. So I got this photo because of her. Waffle was awesome. Also I love the setting there. This is the beginning of "Perethaya" team. And we decided to go out and try different foods ...

Sunday or Someday on 27th Dec Three of us wanted to go somewhere. And then we tried to pick a date, but we couldn't. Finally we just agreed to go out on Sunday. Then we went to Lavinia Breeze and had fun. We were acting like kids. Screaming, Laughing. We don't mind what others think. That's us!!!Then we went to Majestic City Cinema to watch Hobbit. ...

The Sizzle on 17th Dec Recently I started visiting places with my friends and enjoy. So last month, I went to The Sizzle with one of my best friends. Receptionist asked "table for two?". Then I nodded. He bought us two a table for two which looked little bit embarrassing. But food was good. And This was the second time, I visited "The Sizzle".And this Sizzle visit will be remarkable. ;)

From the previous post, I explained how to generate an Alfresco AMP project using Maven. When you have an AMP project you can run it by deploying it to an existing Alfresco Repository or Share. But if you are a developer you will not find it as a effective way to run Alfresco modules. The other way is that you ...

Recently I have been working as a Alfresco Developer. When you are developing Alfresco Modules, you need to have a proper project with correct directory structure. Since Alfresco use Maven, you can generate Alfresco 5 AMP project using archetype.First you need Java and Maven installed on your Linux/Mac/Windows computer. Then run below command to start the project.mvn archetype:generate -DarchetypeCatalog=http://repo1.maven.org/maven2/archetype-catalog.xml -Dfilter=org.alfresco:Then ...

Messaging made was never easy like this. This is first Oreilly video tutorial I followed. And I should mention that I am really happy about this tutorial. Before I watch this tutorial I had no idea about JMS. But in this tutorial Mark Richards explains Messaging concepts as well as JMS implementations. Most of the developer tutorials don't explain important ...

Previous Page