How To Use Hive With Out Hadoop

Reason for writing this blog is to answer the Most Common Question Can We use Hive With Out hadoop,so lets started it answer is yes

Starting with release 0.7, Hive also supports a mode to run map-reduce jobs in local-mode automatically

you just have to do two things first create your warehouse in local system and give the default fs name to local put these properties inside your hive-site.xml


<property>
<!– this should eventually be deprecated since the metastore should supply this –>
<name>hive.metastore.warehouse.dir</name>
<value>file:///tmp</value>
<description></description>
</property>
<property>
<name>fs.default.name</name>
<value>file:///tmp</value>
</property>

now start hive cli

Screenshot from 2017-10-24 20-37-21.png

Screenshot from 2017-10-24 20-37-40.png

i hope this blog helps


knoldus-advt-sticker


 

2 thoughts on “How To Use Hive With Out Hadoop

Leave a Reply

%d bloggers like this: