0 votes
in Big Data | Hadoop by

STEP 1:

Download Hive 2.1.1 (or which ever version of you like).

STEP 2:

Extract It.

Step 3: Start Hadoop and create HDFS directories.

 $start-dfs.sh  
 $start-yarn.sh
 $hdfs dfs -mkdir -p /user/hive/warehouse
 $hdfs dfs -mkdir -p /tmp/hive

Step 4: Set path in bashrc.

export HIVE_HOME=/home/hadoop/Downloads/apache-hive-2.1.1-bin

Step 5: Change Directory Permissions.

$hdfs dfs -chmod 777 /tmp/
$hdfs dfs -chmod 777 /user/hive/warehouse
$hdfs dfs -chmod 777 /tmp/hive

Related questions

0 votes
asked Apr 3, 2020 in Big Data | Hadoop by Tate
0 votes
asked Apr 3, 2020 in Big Data | Hadoop by Tate
...