spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denny Lee <>
Subject Re: Starting Thriftserver via hostname on Spark 1.1 RC4?
Date Thu, 04 Sep 2014 17:59:46 GMT
Ahh got it - I knew I was missing something  - appreciate the clarification! :)

On September 4, 2014 at 10:27:44, Cheng Lian ( wrote:

You may configure listening host and port in the same way as HiveServer2 of Hive, namely:

via environment variables


via system properties

For the latter, you may pass the properties via command line:

$ ./sbin/start-thriftserver2 --hiveconf <your-hostname>
--hiveconf hive.server2.thrift.port <your-port>

This behavior is inherited from Hive since Spark SQL Thrift server is a variant of HiveServer2.


On Wed, Sep 3, 2014 at 10:47 PM, Denny Lee <> wrote:
When I start the thrift server (on Spark 1.1 RC4) via:
./sbin/ --master spark://hostname:7077 --driver-class-path $CLASSPATH

It appears that the thrift server is starting off of localhost as opposed to hostname.  I
have set the to use the hostname, modified the /etc/hosts for the hostname, and
it appears to work properly.

But when I start the thrift server, connectivity can only be via localhost:10000 as opposed
to hostname:10000.

Any ideas on what configurations I may be setting incorrectly here?


View raw message