-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create sample table #1251
Comments
I have the same problem. Have you solved your problem |
No, I couldn’t get an answer or find anything in the open sourced code. |
Will check and get back to you. The aqp jar should have been there in
enterprise build.
…On Sat, 23 Mar 2019, 08:38 koksen, ***@***.***> wrote:
No, I couldn’t get an answer or find anything in the open sourced code.
We wrote our own stuff instead
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1251 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL1zaOMdCuCDrJGJGE391n5MonosHVGAks5vZkp9gaJpZM4acX6T>
.
|
Can you try with putting following dependency also?
libraryDependencies += "io.snappydata" %% "snappydata-aqp" % "1.0.2.1" from
"file:///lib/snappydata-aqp_2.11-1.0.2.1.jar"
Also pls verify that you have snappydata-aqp_2.11-1.0.2.1.jar in the lib
directory.
Regards
Asif
…On Sat, Mar 23, 2019 at 8:43 AM Asif Shahid ***@***.***> wrote:
Will check and get back to you. The aqp jar should have been there in
enterprise build.
On Sat, 23 Mar 2019, 08:38 koksen, ***@***.***> wrote:
> No, I couldn’t get an answer or find anything in the open sourced code.
> We wrote our own stuff instead
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#1251 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AL1zaOMdCuCDrJGJGE391n5MonosHVGAks5vZkp9gaJpZM4acX6T>
> .
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I downloaded the enterprice version from the homepage.
On my local machine I does this:
val sample = snappy.createSampleTable("interactions_stratified", Option("INTERACTIONS"), interactionSchema, Map(("fraction", " 0.01")), true)
Then I get this error:
19/01/31 14:46:59 INFO SnappyContext: Initializing SnappyData in cluster mode: Local mode: sc = org.apache.spark.SparkContext@36068727, url = mcast-port=0
Exception in thread "main" java.lang.ClassNotFoundException: Failed to find data source: org.apache.spark.sql.sampling.DefaultSource. Please find packages at http://spark.apache.org/third-party-projects.html
at org.apache.spark.sql.execution.datasources.DataSource$.lookupDataSource(DataSource.scala:594)
Seems that I have not loaded the datasource to support this method. What do I need to put in my sbt?
Current:
libraryDependencies += "io.snappydata" %% "snappydata-cluster" % "1.0.2.1" from "file:///lib/snappydata-cluster_2.11-1.0.2.1.jar"
The text was updated successfully, but these errors were encountered: