Created 06-02-2016 03:13 AM
If you use http mode, please specify hive.server2.thrift.http.port to a different port.
Created 02-02-2017 07:35 PM
I am lil late to the party, but I was able to run both HS2 and STS on the same machine on a kerberized cluster using:
HS2 => hive.server2.thrift.http.port: 10001, transportmode: http,
STS => hive.server2.thrift.port:10015, hive.server2.transport.mode: binary
STS does not start and throws the bind exception when I use:
STS => hive.server2.thrift.port:10015, hive.server2.transport.mode: http
So changing transport mode for STS to binary works for me.
Tested on HDP 2.4.2.29-4
Regards
Rakesh
Created 02-02-2017 07:57 PM
And guessing from what is happening here I thought I should try starting up the thrift server in http mode on an http port.
but http port for thrift server is not defined anywhere by Ambari, so created an custom propery for thrift server: 'hive.server2.thrift.http.port: 10013'
and defined 'hive.server2.transport.mode: http'
And it started thrift server on a different port (10013) in http mode!
Regards
Rakesh
Created 09-11-2017 08:54 AM
@Rakesh Gupta Thank you very much. Smart debug sir. Saved me my day today.