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


 

Advertisements
This entry was posted in Scala. Bookmark the permalink.

One Response to How To Use Hive With Out Hadoop

  1. Pingback: Hive Without Hadoop – Curated SQL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s