You may need to specify the hive port itself. For example, my own Thrift start command is in the form:
./sbin/start-thriftserver.sh --master spark://$myserver:7077 --driver-class-path $CLASSPATH --hiveconf hive.server2.thrift.bind.host $myserver --hiveconf hive.server2.thrift.port 10000 HTH! On Wed, Apr 22, 2015 at 5:27 AM Yiannis Gkoufas <johngou...@gmail.com> wrote: > Hi Himanshu, > > I am using: > > ./start-thriftserver.sh --master spark://localhost:7077 > > Do I need to specify something additional to the command? > > Thanks! > > On 22 April 2015 at 13:14, Himanshu Parashar <himanshu.paras...@gmail.com> > wrote: > >> what command are you using to start the Thrift server? >> >> On Wed, Apr 22, 2015 at 3:52 PM, Yiannis Gkoufas <johngou...@gmail.com> >> wrote: >> >>> Hi all, >>> >>> I am trying to start the thriftserver and I get some errors. >>> I have hive running and placed hive-site.xml under the conf directory. >>> From the logs I can see that the error is: >>> >>> Call From localhost to localhost:54310 failed >>> >>> I am assuming that it tries to connect to the wrong port for the >>> namenode, which in my case its running on 9000 instead of 54310 >>> >>> Any help would be really appreciated. >>> >>> Thanks a lot! >>> >> >> >> >> -- >> [HiM] >> > >