Professional Documents
Culture Documents
Bda Record 18071a0597-1
Bda Record 18071a0597-1
Practical Record
On
BIG DATA ANALYTICS LABORATORY
(18PC2CS06)
Submitted to
VNR Vignana Jyothi Institute of
Engineering & Technology
An autonomous Institute – NAAC ‘A++’ and
NBA Accredited
Bachelor of Technology
In
Computer Science & Engineering
(B Tech IV Year I sem)
Submitted By
Student Name:N VENKATA BHARADWAJA
Roll No: 18071A0597
VNR Vignana Jyothi Institute of Engineering & Technology
Bachupally,Nizampet(S,O) ,Hyderabad-90
BIG DATA ANALYTICS LAB (18071A0597) 2022 BATCH PAGE NO: 1
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
CERTIFICATE
Certified that this is the bonafide record of the practical work done during the academic
Name………………………………………………………………………………………………………………………………..
In the laboratory……………………………………………………………………………………………………………….
Department of………………………………………………………………………………………………………………….
Date of Exam……………………..
NAME:……………………………………………………………………………………………………………………………………..
ROLLNO: ………………………………………………………………………………………………………………………………..
LABORATORY: ……………………..…………………………………………........................................................
21. Move a File from one Directory to Another Directory within HDFS
CODE:
package word;
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.lib.input.TextInputFormat;
import org.apache.hadoop.mapreduce.lib.output.TextOutputFormat;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
import org.apache.hadoop.fs.Path;
}
}
@SuppressWarnings("deprecation")
public static void main(String[] args) throws Exception {
CODE:
b. For pigfile1-ar.txt
b. For pigfile1-ar.txt
Check in HDFS
Problem statement:
2. Create a database
11. Export the file abc.txt into the abc_table created using SQOOP
2. Create a database
14 List the employee names where job has l as the second character