<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:55:06 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-7831] Version mismatch with Spark HD Insight</title>
                <link>https://jira.mongodb.org/browse/DOCS-7831</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Hi&lt;br/&gt;
  I have installed Mongodb 3.2.5 ( latest) on Azure VMs ( 3 nodes) . Also a HDInsight Spark cluster created in the same vNet. Want to collect MongodB mongo instance from the head node of spark cluster. To do that I have downloaded the mongo-scala-driver_2.11-1.0.1.jar. When I run the sample program QuickTour.scala on scala shell prompt I get the error&lt;br/&gt;
I believe the driver expects the latest version scala 2.11 but the one that comes with HD Insight is 2.10.4 . Guess the below error is due to that.&lt;br/&gt;
Please help me understand whats going on here.&lt;/p&gt;

&lt;p&gt;------------------------&lt;br/&gt;
 scala&amp;gt; import org.mongodb.scala._&lt;br/&gt;
import org.mongodb.scala._&lt;/p&gt;

&lt;p&gt;scala&amp;gt; import org.mongodb.scala.model.Aggregates._&lt;br/&gt;
import org.mongodb.scala.model.Aggregates._&lt;/p&gt;

&lt;p&gt;scala&amp;gt; import org.mongodb.scala.model.Filters._&lt;br/&gt;
import org.mongodb.scala.model.Filters._&lt;/p&gt;

&lt;p&gt;scala&amp;gt; import org.mongodb.scala.model.Projections._&lt;br/&gt;
import org.mongodb.scala.model.Projections._&lt;/p&gt;

&lt;p&gt;scala&amp;gt; import org.mongodb.scala.model.Sorts._&lt;br/&gt;
import org.mongodb.scala.model.Sorts._&lt;/p&gt;

&lt;p&gt;scala&amp;gt; import org.mongodb.scala.model.Updates._&lt;br/&gt;
import org.mongodb.scala.model.Updates._&lt;/p&gt;

&lt;p&gt;scala&amp;gt; import org.mongodb.scala.model._&lt;br/&gt;
import org.mongodb.scala.model._&lt;/p&gt;

&lt;p&gt;scala&amp;gt; val mongoClient =  MongoClient(&quot;mongodb://10.1.0.7&quot;)&lt;br/&gt;
error: bad symbolic reference. A signature in MongoClient.class refers to term client&lt;br/&gt;
in package com.mongodb.async which is not available.&lt;br/&gt;
It may be completely missing from the current classpath, or the version on&lt;br/&gt;
the classpath might be incompatible with the version used when compiling MongoClient.class.&lt;/p&gt;

&lt;p&gt;scala&amp;gt; util.Properties.versionString&lt;br/&gt;
res0: String = version 2.10.4&lt;/p&gt;

&lt;p&gt;scala&amp;gt; util.Properties.versionNumberString&lt;br/&gt;
res1: String = 2.10.4&lt;/p&gt;

&lt;p&gt;scala&amp;gt; util.Properties.versionMsg&lt;br/&gt;
res2: String = Scala library version 2.10.4 &amp;#8211; Copyright 2002-2013, LAMP/EPFL&lt;/p&gt;

&lt;p&gt;scala&amp;gt; exit&lt;/p&gt;</description>
                <environment>HD Insight ( Linux)</environment>
        <key id="285388">DOCS-7831</key>
            <summary>Version mismatch with Spark HD Insight</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="veereshsy05@gmail.com">Veeresh S Y</reporter>
                        <labels>
                            <label>driver</label>
                    </labels>
                <created>Mon, 9 May 2016 09:03:30 +0000</created>
                <updated>Wed, 11 Jan 2017 21:46:54 +0000</updated>
                            <resolved>Tue, 6 Sep 2016 19:53:45 +0000</resolved>
                                    <version>mongodb-3.2</version>
                                    <fixVersion>01112017-cleanup</fixVersion>
                                    <component>drivers</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1371600" author="ross@10gen.com" created="Tue, 30 Aug 2016 08:36:49 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=veereshsy05%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;veereshsy05@gmail.com&quot;&gt;veereshsy05@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Many apologies for missing this ticket.  You&apos;re correct the reason for the error is due to the MongoDB Scala driver only supporting Scala 2.11.&lt;/p&gt;

&lt;p&gt;The good news is we now have an official &lt;a href=&quot;https://docs.mongodb.com/spark-connector/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Spark connector&lt;/a&gt; that supports both Scala 2.11 and Scala 2.10.  You can download the MongoDB Spark connector from the &lt;a href=&quot;https://spark-packages.org/package/mongodb/mongo-spark&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Spark Packages&lt;/a&gt; site.&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10855" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Actual Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.5</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 28 Aug 2016 19:56:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 24 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Estimate</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10043"><![CDATA[Medium]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 24 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ross@mongodb.com</customfieldvalue>
            <customfieldvalue>veereshsy05@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmspz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsl8dr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrzld3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>