Core

Some improvements for SparkSQL

License

License

Categories

Categories

Data
GroupId

GroupId

com.stratio.crossdata
ArtifactId

ArtifactId

crossdata-core
Last Version

Last Version

1.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

Core
Some improvements for SparkSQL
Project Organization

Project Organization

Stratio

Download crossdata-core

How to add to project

<!-- https://jarcasting.com/artifacts/com.stratio.crossdata/crossdata-core/ -->
<dependency>
    <groupId>com.stratio.crossdata</groupId>
    <artifactId>crossdata-core</artifactId>
    <version>1.2.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.stratio.crossdata/crossdata-core/
implementation 'com.stratio.crossdata:crossdata-core:1.2.2'
// https://jarcasting.com/artifacts/com.stratio.crossdata/crossdata-core/
implementation ("com.stratio.crossdata:crossdata-core:1.2.2")
'com.stratio.crossdata:crossdata-core:jar:1.2.2'
<dependency org="com.stratio.crossdata" name="crossdata-core" rev="1.2.2">
  <artifact name="crossdata-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.stratio.crossdata', module='crossdata-core', version='1.2.2')
)
libraryDependencies += "com.stratio.crossdata" % "crossdata-core" % "1.2.2"
[com.stratio.crossdata/crossdata-core "1.2.2"]

Dependencies

compile (9)

Group / Artifact Type Version
org.apache.spark : spark-sql_2.10 jar 1.5.2
org.mariadb.jdbc : mariadb-java-client jar 1.2.3
org.postgresql : postgresql jar 9.2-1003-jdbc4
org.apache.derby : derby jar 10.10.1.1
org.apache.derby : derbyclient jar 10.10.1.1
org.json4s : json4s-ext_2.10 jar 3.2.10
com.stratio.common : common-utils_2.10 jar 0.5.0
org.slf4j : slf4j-log4j12 jar 1.7.7
org.scala-lang : scala-library jar 2.10.4

test (4)

Group / Artifact Type Version
org.mockito : mockito-core jar 1.10.19
junit : junit jar 4.12
org.scalatest : scalatest_2.10 jar 2.2.5
org.sonarsource.java : sonar-jacoco-listeners jar 3.7.1

Project Modules

There are no modules declared in this project.

Discontinued

This repository has been discontinued. Stratio Crossdata has moved to a commercial license. Please contact Stratio Big Data Inc. for further info.

Introduction

Project unmaintained GitterIL Coverage Status

Crossdata is a distributed framework and a fast and general-purpose computing system powered by Apache Spark. It unifies the interaction with different sources supporting multiple datastore technologies thanks to its generic architecture and a custom SQL-like language using SparkSQL as the core of the project. In addition, Crossdata supports batch and streaming processing so that you can mix data from both input technologies. Supporting multiple architectures imposes two main challenges: how to normalize the access to the datastores, and how to cope with datastore limitations. Crossdata provides connectors which can access to multiple datastores natively, speeding up the queries by avoiding the overhead and the block of resources of the Spark Cluster when possible. We offer a shell, Java and Scala APIs, JDBC and ODBC for BI tools.

This project is aimed for those who want to manage only one API to access to multiple datastores with different nature, get rid of the drawbacks of Apache Spark, perform analytics from a BI tool and speed up your queries effortlessly.

Crossdata is broken up into the following components:

  • Crossdata Core: It is a library that you can deploy in any existent system using Spark with no changes, just add the Crossdata jar file. SparkSQL extension with improvements in the DataSource API and new features. Crossdata expands the functionalities of Apache Spark in order to provide a richer SQL-like language, to improve some aspects (metastore, execution trees, ...)
  • Crossdata Server: Provides a multi-user environment to SparkSQL, giving a reliable architecture with high-availability and scalability out of the box.
  • Crossdata Driver: Entry point with an API for both Scala and Java. Crossdata ODBC/JDBC uses this driver. - Crossdata Connectors: Take advantage of the Crossdata DataSource API to speed up the queries in specific datasources and provide new features.

We include some Spark connectors optimized to access to each datasource, but Crossdata is fully compatible with any connector developed by the Spark community.

  • Apache Cassandra connector powered by Datastax-Spark-Connector
  • MongoDB connector powered by Stratio-Spark-Connector
  • ElasticSearch connector powered by Elastic-Spark-Connector

Moreover, some datasources are already included, avoiding to import them manually:

  • Spark-CSV
  • Spark-Avro

Main Crossdata's advantages over other options:

  • JDBC/ODBC self-contained. Other solutions require Hive.
  • Faster queries using native access (including subdocuments and array elements).
  • Streaming queries from a SQL-like interface.
  • Metadata discovery.
  • Datasource functions (Spark only can execute its own UDFs).
  • High-availability and load balancing.
  • Logical views.
  • Full SQL interface for documents with nested subdocuments and nested arrays.
  • Persistent metadata catalog.
  • Common interface for datasources management.
  • Creation of tables in the datastores.
  • Drop of tables from the datastores.
  • Insert with values queries as in typical SQL.
  • Service Discovery

=================== Spark Compatibility

Crossdata Version Spark Version
1.7.X 1.6.X
1.6.X 1.6.X
1.5.X 1.6.X
1.4.X 1.6.X
1.3.X 1.6.X
1.2.X 1.5.X
1.1.X 1.5.X
1.0.X 1.5.X

=========== Get support

You can send us issues in https://crossdata.atlassian.net.

You can also find help in https://groups.google.com/forum/#!forum/crossdata-users.

There is also a gitter channel available: https://gitter.im/Stratio/Crossdata.

Alternatively, you can try to reach us at gitter or our IRC channel #stratio-crossdata. Feel free to ask, if we are available we'll try to help you.

============= Release notes

Features and changes are detailed in the changelog.

======= License

Stratio Crossdata is licensed as Apache2

Licensed to STRATIO (C) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The STRATIO (C) licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

com.stratio.crossdata

STRATIO BIG DATA Inc.

Drive Digital Transformation through Big Data and AI with a unique product

Versions

Version
1.2.2
1.2.1
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
0.5.1
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.3
0.3.2-FP
0.3.1-FP
0.3.0-FP1
0.3.0-FP
0.3.0
0.2.0-001
0.2.0
0.1.1
0.1.1-RC1
0.1.0