hive - HiveServer versus HiveServer2 -


i know hiveserver doesnot support multi-client concurrency , authentication , handled in hiveserver2.

i want know how handled in hiveserver2 , why doesnot support in hiveserver.

thanks, sree

the answer question simple, got know few days ago.

each , every client has connected through thrift api in hiveserver or hiveserver2 in turn launches process convert client code hive understandable code launching language specific class libraries.

as aware, process can single or multi threaded. in hiveserver1, process launched single threaded class libraries doesnot support multi threads. in hiveserver2, these have been upgraded multi thread class libraries , supports multiple sessions.

related security, please refer link below http://blog.cloudera.com/blog/2013/07/how-hiveserver2-brings-security-and-concurrency-to-apache-hive/

thanks, sree


Comments

Popular posts from this blog

Lists in Python -

android - can not access to progress bar in an other activity -

java - Vaadin 7 Pass Data Between Views -