Add a library in Spark in Bluemix & connect MongoDB , Spark together
<p><b>1) </b>I have Spark on Bluemix platform, how do I add a library there ?</p>

<p>I can see the preloaded libraries but cant add a library that I want.</p>

<p>Any command line argument that will install a library?</p>

<blockquote>
  <p>pip install --package is not working there</p>
</blockquote>

<p><b>2) </b> I have Spark and Mongo DB running, but I am not able to connect both of them.</p>

<blockquote>
  <p>con ='mongodb://admin:ITCW....ssl=true'<br>
  ssl1 ="LS0tLS ....."
  client = MongoClient(con,ssl=True)<br>
  db = client.mongo11 <br>
  collection = db.mongo11 <br>
  ff=db.sammy.find() <br></p>
</blockquote>

<p><b> Error I am getting is : <br>
SSL handshake failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) </b></p>

<p>In a Python notebook:</p>

<p><code>!pip install &lt;package&gt;</code></p>

<p>and then</p>

<p><code>import &lt;package&gt;</code></p>

python apache-spark ibm-bluemix bluemix-plugin