title: How pyspark integrates with java?
body: <p><strong>Disclaimer</strong></p>
  
  <p>I do not know much of python, so the question describes "how it looks like" and the answer should be "how it actual works".</p>
  
  <p><strong>Question</strong></p>
  
  <p><code>Pyspark</code> allows to run python code in <code>spark</code>. But <code>python</code> is interpreted language and it functionality depend on environemnt (e.g. 32 or 64 bit platform you run python code). While <code>spark</code> runs on jvm which run code independ on environemnt.</p>
  
  <p>So how does <code>python</code> code "converted" into jvm byte code? Or it is not run on jvm? What technology is used? (CORBA?) I heard about <code>Jython</code> but it looks like independe technology which is not used in <code>pysaprk</code> is it?</p>