You can look the http://wiki.apache.org/hadoop/Hive/HiveClient page. For local mode the uri is "jdbc:hive://", for standalone mode the uri is "jdbc:hive://host:port/dbname". when we use local mode, my application and hive server run in same VM, so we don't need to maintain hive server. I think that is advantage to local mode. I want to know what is disadvantage when we use local mode.
2010/8/14 Joydeep Sen Sarma <jssa...@facebook.com> > Lei – not sure I understand the question. I tried to document the > relationship between hive, MR and local-mode at > http://wiki.apache.org/hadoop/Hive/GettingStarted#Hive.2C_Map-Reduce_and_Local-Moderecently. > perhaps you have already read it. > > > > Regarding whether local mode can be run on windows or not – I really don’t > know. First of all – hadoop has to be runnable in local mode on windows > (using cygwin I presume?). then one has to test hive against this – one > would think it should work if hadoop does – but we would have to verify. > > > > (ie. yes – it should be possible in theory – but in practice – there are > probably bugs that need to get sorted out for this to happen). > > > ------------------------------ > > *From:* lei liu [mailto:liulei...@gmail.com] > *Sent:* Friday, August 13, 2010 9:10 AM > *To:* hive-user@hadoop.apache.org > *Subject:* what is difference hive local model and standalone model. > > > > what is difference hive local model and standalone model. Can the hive > local model be ran in windows? >