@staticmethod<EOL><INDENT>def build_from_source(version, **kwargs):<DEDENT>
mvn = os.path.join(Spark.svm_version_path(version), '<STR_LIT>', '<STR_LIT>')<EOL>Spark.chmod_add_excute(mvn)<EOL>p = subprocess.Popen([mvn, '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'], cwd=Spark.svm_version_path(version))<EOL>p.wait()<EOL>return p.returncode<EOL>
Builds specified Spark version from source.
:param version:
:param kwargs:
:return: (Integer) Status code of build/mvn command.