Hi, I have some question about HiveServer and Beeswax.
As far as I known, Hive CLI access hive via HiveServer1 while Beeline though HiveServer2. I wonder how Beeswax access hive? Using HiveServer1 or HiveServer2?
Is that HiveServer1 always runing? Or it only starts when Hive CLI launches?
If I start HiveServer2 as a service, are there any conflicts between these two servers that would lead to the failure of Beeswax?
Maybe I should give some details about my case.
I'm now using CDH4.7. When I download the result of query in Beeswax, sometimes the hue service would crash. Therefore, I'm thinking about using HiveServer2 to access hive data through JDBC. However, I'm not sure that if starting HiveServer2 would has any unwanted effect on Beeswax.
Since I know little about HiveServer2, so maybe some of my ideas about that is totally incorrect.
Thanks for reply.
There are a number of hue.ini files in my system. I'm not sure which one is the configure file in use.
Is there any way I can figure out which one HiveServer is used by Beeswax now?
There are also hue.ini files like /var/run/cloudera-scm-agent/process/XXXX-hue-BEESWAX_SERVER/hue.ini.
Maybe these are the exact configure files for hue? But each time I restart the hue service, it will generate a new one such hue.ini file, and the changes in files like /opt/cloudera/parcels/CDH-4.7.0-1.cdh4.7.0.p0.40/etc/hue/hue.ini have no effect on these files.