How to Program Country Sales in Hadoop?

Published: 02 September 2019
on channel: Sanket Shanbhag - Technical Coach
555
9

Program Link:
-----------------------
https://drive.google.com/file/d/1meyx...

Input file:
---------------
https://drive.google.com/file/d/1o84z...

Commands:
--------------------
hadoop fs -mkdir /input
hadoop fs -put '/home/sanket/Downloads/Sales.csv /input
create folder sales and class
sudo chmod -R 777 /home/sanket/sales

export HADOOP_CLASSPATH=$(hadoop classpath)

cd class
javac -classpath ${HADOOP_CLASSPATH} -d '/home/sanket/sales/class' '/home/sanket/sales/Sales.java'

cd ..
jar -cvf sanket.jar -C /home/sanket/sales/class/ .

hadoop jar '/home/sanket/sales/sanket.jar' Sales /input /output


Watch video How to Program Country Sales in Hadoop? online without registration, duration hours minute second in high quality. This video was added by user Sanket Shanbhag - Technical Coach 02 September 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 555 once and liked it 9 people.