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. […]

Screen-2BShot-2B2015-07-13-2Bat-2B10.37.32-2BPM

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: http://hadoop.apache.org/releases.html 2) Untar the file by using command: tar -xvf hadoop-2.7.0.tar.gz It will extract […]

Screen-2BShot-2B2015-06-30-2Bat-2B10.20.42-2BPM

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 […]

How to install Apache Flume 1.6.0 on MacOS

Here we will see in simple steps how to install Apache Flume 1.6.0 version on MacOS. The installation of Apache Flume is very easy. Below are the steps defined: 1) Download apache flume from the site. https://flume.apache.org/download.html 2) Extract the tar file by using command tar -xvf Documents/flume/apache-flume-1.6.0-bin where Documents/flume is the directory where I […]