Hive:Permission denied

Hi Krishna, I have downloaded the hive-0.9.0 and had it underĀ lab/software, I have done the set up for bash_profile also, But when i tried to execute the Hive command I’m getting the following error.   notroot@ubuntu:~$ hive -bash: /home/notroot/lab/software/hive-0.9.0-bin/bin/hive: Permission denied.   i tried to set the permission,but it’s not working. Please let me know,how[…]

Argument is not taking as a string

Hi Krishna, As you suggested , I took the file input format as a string but while passing it just a word.It’s throwing error.I have mentioned program and error below.   Argument isĀ :- notroot@ubuntu:~$ hadoop jar lab/programs/HadoopTraining.jar input/txns1 “credit” output/sum7 Error :-14/08/28 15:12:28 ERROR security.UserGroupInformation: PriviledgedActionException as:notroot cause:org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://localhost:8020/user/notroot/credit[…]

Creating UDF in PIG Hadoop

In this blog “Creating UDF in PIG Hadoop” I am going to show you how to create your own UDF( User Defined Functions) and Integrate with PIG. 1) Create a JAVA class IsOfAge.Java 2) Export the JAR to the machine where PIG is running 3) Register the JAR in PIG and use it PIG statements[…]

Sequencefile processing mapreduce hadoop

When we have large number of small files for example millions of small xml, how to process using hadoop mapreduce by using SequenceFileInputFormat is what I am going show you now the Sequencefile processing mapreduce hadoop 1) Create Driver class 2) Mapper class using this code you can process sequence files.

Processing XML file using xmlinputformat Hadoop Map Reduce

Hadoop provides default input formats like TextInputFormat, NLineInputFormat, KeyValueInputFormat etc., when you get a different types of files for processing you have to create your own custom input format for processing using MapReduce jobs Here I am going to show you how to processing XML files using MapReduce Job by creating custom XMLInputFormat (xmlinputformat hadoop)[…]