Create Hadoop Instance on Oracle Cloud : login to oracle.bitnami.com , select Hadoop image and launch it on Oracle Cloud Infrastructure OCI Classic , for this you would need to create a connection between Oracle IaaS and Bitnami
Open required ports : Once the instance has been created you should be able to see hadoop admin console and hdfs directory browser web interface, this would need you open the port through a tunnel using putty
Hadoop Cloud Web Console
http://public_ip/cluster/nodes
Using Putty Open tunnel for port 50070
So the web console to view HDFS will be available at http://localhost:50070/explorer.html
Checking in and viewing files in HDFS
Hadoop Create Directory and Check In file
We will create an HDFS directory, check in a file , view the hdfs file and view the same file in the Browser console
[email protected]:~$ vi amovies.txt Ace in the Hole Ace Ventura Pet Detective An Actor's Revenge The Addiction The Adjuster The Adventures of Buckaroo Banzai Across the 8th Dimension The Adventures of Robin Hood After Hours Aguirre, Wrath of God Airplane ! Airplane!'s comic philosophy is simple Alexander Nevsky Alfie [email protected]:~$ hadoop fs -mkdir /user/madhu [email protected]:~$ hadoop fs -ls /user/madhu [email protected]:~$ hadoop fs -put /home/bitnami/amovies.txt /user/madhu/ [email protected]:~$ hadoop fs -ls /user/madhu Found 1 items -rw-r--r-- 1 hadoop supergroup 297 2018-01-26 /user/madhu/amovies.txt [email protected]:~$ hadoop fs -cat /user/madhu/amovies.txt Ace in the Hole Ace Ventura Pet Detective An Actor's Revenge The Addiction The Adjuster The Adventures of Buckaroo Banzai Across the 8th Dimension The Adventures of Robin Hood After Hours Aguirre, Wrath of God Airplane ! Airplane!'s comic philosophy is simple Alexander Nevsky Alfie
To be continued on MapReduce