spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cheng Lian <>
Subject Re: Starting Thriftserver via hostname on Spark 1.1 RC4?
Date Thu, 04 Sep 2014 17:27:24 GMT
You may configure listening host and port in the same way as HiveServer2 of
Hive, namely:


   via environment variables

   via system properties
      - hive.server2.thrift.port

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?
> Thanks!
> Denny

View raw message