title: Starting thrift server in spark
body: <p>Can anyone help me with starting spark thrift server? I am running my script in standalone mode and I want to fetch data in my business intelligence tool.</p>
  
  <p>In order to do that I need to start thrift server. I tried running shell script: </p>
  
  <pre><code>$SPARK_HOME/sbin/start-thriftserver.sh
  </code></pre>
  
  <p>but I get an error:</p>
  
  <blockquote>
    <p>error "ps unknown option --0"</p>
  </blockquote>