In this post, we want to clean the code and refine the links for the tests. We will also try to convert this into a proper TestNG project. Cleaning the code If you observe, we have put everything into one single function ‘main’ and we have also done lots of hard-coding. While that is OK […]

In this article and the few ones that follow, I will be dwelling upon functional automation aspects of a web site. Here are certain premises and assumptions I am going to make as we march ahead. Website under test is a simple HTML/CSS/JavaScript enable website i.e. I will NOT focus on testing Flash or any […]

In this post, we will cover relational operators in Pig Latin. Relational operators are very important in defining Pig Latin’s nature as a data processing language. UNION AND SPLIT Union combines multiple relations and Split partitions a relation into multiple ones (Ref. Hadoop in Action – Chuck Lam). Say we have two CSV files. The […]

For this part, we will use another CSV file from BSE. We will use the CSV file that lists the daily price details of Hindustan Unilever (HUL) company for the year 2012. For simplicity, I have removed some columns and kept only those most useful for our exercise. File uploaded at - hul_2012 As previously noted, […]

In this post, we see how to run Pig and related topics. Pig Data Types Pig can work with structured, semi-structured, un-structured data. It does not need specific schema or metadata for the data. But can use it if present. Pig supports  Simple Data Type Scalars – int (32-bit), float (32-bit), long (64-bit), double (64-bit) […]

For next few posts, I want to focus on Pig. What is Pig? Pig is basically 3 things comprised together. Platform to analyse large data sets Language that enables programming to process these large data sets Infrastructure to evaluate these programs The Pig compiler produces parallelisation of the programs in form of Map Reduce jobs. […]

I wanted to get back to my Hadoop setup and refresh my acquaintenance with Pig. But I started getting issues with the setup.  The namenode would not start. I was always getting asked password when I wanted to start hadoop services. Even the formatting of namenode would not work. So clearly something was wrong with […]

In this post, I will walk you through the installation and getting started part of HBase. This is NOT a step-by-step installation guide, but more like an incremental and exploratory approach. My configuration Host – Mac OS X 10.8.1 Mountain Lion, 4 GB RAM, 2.53 GHz Intel Core 2 Duo VM – Ubuntu 12.04, 2 […]

My setup Host machine – OS X Mountain Lion, 4 GB RAM, 2.53 GHz Intel Core 2 Duo VM – Virtual Box image Ubuntu 12.04, 64 bit, RAM 1 GB, Java – Open JDK 1.6 (Later updated to 1.7 as explained in the post). Reference – Cassandra Home Page and Getting Started Page Cassandra is […]

In the last post, we saw how to download and install TestNG, how to quickly write and run and view result of a TestNG test case. This is all good stuff. But it is suitable only for a set of few small tests. In your application, soon you will have multiple tests, organised into different files, possible […]

Follow

Get every new post delivered to your Inbox.

Join 49 other followers