Saturday, August 30, 2014

Bootable Windows 7 x64 Install Flash Drive

Create a Bootable Windows 7 x64 Install Flash Drive from 32-bit Windows Creating a bootable Windows 7 x64 flash drive from within a 32-bit install of Windows is not as straight forward as it may seem. I recently had to go through this process myself, so I’ll document the steps below. Things you’ll need Windows 7 x64 disc image Windows 7 USB/DVD Download Tool 32-bit bootsect.exe Create the...

Wednesday, August 27, 2014

command line arguments to Pig scripts

Parameter Placeholder First, we need to create a place holder for the parameter that needs to be replaced inside the Pig script. Let’s say you have the following line in your Pig script where you are loading an input file. INPUT = LOAD '/data/input/20130326' In the above statement, if you want to replace date part dynamically, then have to create a placeholder for it. INPUT = LOAD '/data/input/$date' Individual...

Tuesday, August 26, 2014

Monday, August 25, 2014

Saturday, August 23, 2014

Apache Pig : UDF

Apache Pig : Writing a User Defined Function (UDF) Apache Pig : Writing a User Defined Function (UDF) Preface: In this post we will write a basic/demo custom function for Apache Pig, called as UDF (User Defined Function). Pig’s Java UDF extends functionalities of EvalFunc. This abstract class have an abstract method “exec” which user needs to implement...

Popular Posts

Recent Posts

Unordered List

Text Widget

Blog Archive