Sample REST Web Service (JAX-RS)

In this tutorial I will show how to create a sample JERSEY REST Web Service. We will create Web Service using Maven and will run it on the Tomcat. This tutorial is using: 1) Tomcat 7.0 2) Java 1.6 3) Jax-RS Web Service 4) Maven 5) Eclipse   First we need to create a maven […]

RDF and Semantic Web

Data is growing day by day exponentially and in future it will grown even with much more faster pace. To handle this huge amount of data in the current scenario using a SQL database will be cumbersome, time taking and very very difficult to manage the complex relationships. Now what is RDF. Well, it stands […]

Word count example in Apache Spark

No BigData example is complete without WordCount example Here in this example we will learn how to setup spark in standalone mode using Java API with word count example. 1) Create a new maven project in Eclipse.   2) Add Spark dependency in the pom.xml file.

3) Get the SparkConf object in the java class. […]


How to install Hadoop 2.7.0 on MacOS with Yarn

This post will describe the Hadoop 2.7.0 installation on MacOS in simple steps. Let’s see how to do that: 1) First download the Hadoop-2.7.0.tar.gz. You can download it from here . Or you can go to the downloads page of Hadoop: 2) Untar the file by using command: tar -xvf hadoop-2.7.0.tar.gz It will extract […]


How to add a user in Mac OS using Terminal

Here I will show you the steps to add a user in the Mac OS using Terminal / Command Prompt in simple steps. 1) Open up the terminal window. 2) Create a user by using command: dscl . create /Users/hadoop If you get error like: <main> attribute status: eDSPermissionError <dscl_cmd> DS Error: -14120 (eDSPermissionError) Just […]