Provide AWS configuration to Hadoop and Hive
We need to add the following configuration to the Hadoop and Hive config files.
hive-site.xml
You can find hive-site.xml in HIVE_HOME.
You can find all this file in HADOOP_HOME.
core-site.xml
mapred-site.xml
hdfs-site.xml
Add Hadoop Env variable
Run Hive
First we will run hive on local system via console.
$ source ~/.profile
$ hstart
$ hivewhile running Hive, make sure Hadoop is running in the background.
Create Hive Table
Here we will create table using data stored in S3 bucket.

Originally published at confusedcoders.com on December 28, 2018.