Giter Site home page Giter Site logo

microsoft / masc Goto Github PK

View Code? Open in Web Editor NEW
20.0 22.0 11.0 2.11 MB

Microsoft's contributions for Spark with Apache Accumulo

License: Apache License 2.0

Java 77.57% Scala 10.59% Jupyter Notebook 11.55% Shell 0.30%
apache accumulo spark machine-learning big-data

masc's Introduction

Microsoft MASC, an Apache Spark connector for Apache Accumulo

The goal of this repository is to facilitate the use of Apache Spark and its machine learning ecosystem with Apache Accumulo as an external data source.

Contents

  • The connector provides connectivity to read from / write to Accumulo using Spark. See the README for more details about supported functionality.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Build

Build Status Maven Central Maven Central

License

All code provided, except where otherwise documented in OpenSource and NOTICE, is covered by the Apache License 2.0

Trademarks

Apache®, Apache Spark, Apache Accumulo and Accumulo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

masc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

masc's Issues

Evaluate performance improvement by using SupportsWriteInternalRow

From the api docs:

A mix-in interface for DataSourceWriter. Data source writers can implement this interface to write InternalRow directly and avoid the row conversion at Spark side. This is an experimental and unstable interface, as InternalRow is not public and may get changed in the future Spark versions.

Document to specify the maven version requirement

(On CentOS)
sudo yum install maven installs maven version 3.0.5 and I got this error while building a jar:

[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.2.0:compile (default) on project accumulo-spark-datasource: The plugin net.alchim31.maven:scala-maven-plugin:4.2.0 requires Maven version 3.3.9 -> [Help 1]

I followed this link to install mvn 3.3.9 and now could build without errors.

Column pruning is broken

The current maintains a single array for all the cells collected into a row.
This needs to be extended as each stage (filter, mleap, output) might need access to more fields than ultimately exported (e.g. filter: x> 0, select: y)

Explore adding root pom

It may be useful to users to have a root pom as a main entry point without having to read any docs or explore where the code is located.

Test error

mvn test gets following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.1:shade (spark-shade-jar) on project accumulo-spark-datasource: Error creating shaded jar: /data/home/jumin/git/masc/connector/zipfs/target/classes (Is a directory) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :accumulo-spark-datasource

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.