<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: cant start the thrift server in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cant-start-the-thrift-server/m-p/231271#M67534</link>
    <description>&lt;P&gt;Here you have no problem in the log. It's only a warning. And this is because you have another Spark application running and then the port 4040 (which is the default port for the Spark Monitoring UI) is already in use. But then it will try on port 4041 and so on, until it finds a free port, as you can see in the following log,&lt;/P&gt;&lt;P&gt;The only problem I can see is that you are specifying an invalid port number (100015 is not a valid port number, I guess you meant 10015).&lt;/P&gt;</description>
    <pubDate>Sat, 02 Sep 2017 02:01:16 GMT</pubDate>
    <dc:creator>mgaido1</dc:creator>
    <dc:date>2017-09-02T02:01:16Z</dc:date>
    <item>
      <title>cant start the thrift server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cant-start-the-thrift-server/m-p/231270#M67533</link>
      <description>&lt;P&gt;when I run/start the thrift server&lt;/P&gt;&lt;P&gt;su spark&lt;/P&gt;&lt;P&gt;./sbin/start-thriftserver.sh&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;./sbin/start-thriftserver.sh --master yarn-client --executor-memory 512m --hiveconf hive.server2.thrift.port=100015&lt;/P&gt;&lt;P&gt;I get from the log:&lt;/P&gt;&lt;P&gt;/var/log/spark2/spark-spark-org.apache.spark.sql.hive.thriftserver.HiveThriftServer2-1-master.out
Spark Command: /usr/jdk64/jdk1.8.0_112/bin/java -Dhdp.version=2.6.0.3-8 -cp /usr/hdp/2.6.0.3-8/spark2/conf/:/usr/hdp/2.6.0.3-8/spark2/jars/*:/usr/hdp/current/hadoop-client/conf/
-Xmx10000m org.apache.spark.deploy.SparkSubmit --master yarn-client --class org.apache.spark.sql.hive.thriftserver.HiveThriftServer2 --name Thrift JDBC/ODBC Server --executor-mem
ory 512m spark-internal --hiveconf hive.server2.thrift.port=100015
========================================
Warning: Master yarn-client is deprecated since 2.0. Please use master "yarn" with specified deploy mode instead.
17/09/01 07:02:05 WARN AbstractLifeCycle: FAILED ServerConnector@1fc793c2{HTTP/1.1}{0.0.0.0:4040}: java.net.BindException: Address already in use
java.net.BindException: Address already in use&lt;/P&gt;&lt;P&gt;how to solve it?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 14:20:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cant-start-the-thrift-server/m-p/231270#M67533</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-09-01T14:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: cant start the thrift server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cant-start-the-thrift-server/m-p/231271#M67534</link>
      <description>&lt;P&gt;Here you have no problem in the log. It's only a warning. And this is because you have another Spark application running and then the port 4040 (which is the default port for the Spark Monitoring UI) is already in use. But then it will try on port 4041 and so on, until it finds a free port, as you can see in the following log,&lt;/P&gt;&lt;P&gt;The only problem I can see is that you are specifying an invalid port number (100015 is not a valid port number, I guess you meant 10015).&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 02:01:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cant-start-the-thrift-server/m-p/231271#M67534</guid>
      <dc:creator>mgaido1</dc:creator>
      <dc:date>2017-09-02T02:01:16Z</dc:date>
    </item>
  </channel>
</rss>

