Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

data-integrations/phoenix-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phoenix Source

cm-available cdap-batch-source License Join CDAP community

Phoenix batch source allows for reading data from HBase tables accessed through the Phoenix SQL layer.

Plugin Configuration

Configuration Required Default Description
Table Y 1 Table to be quieried.
SQL Statement Y 1 SQL statement that will query the table for the desired records.

Usage Notes

If a path specified is a directory, then one file is read at a time and passed along, but if the path specifies a file, then that exact file is read and passed along.

Build

Clone this repo

Clone this repo to your local environment

  git clone https://github.com/data-integrations/phoenix-plugins.git phoenix-source

Build

To build your plugins:

mvn clean package -DskipTests

The build will create a .jar and .json file under the target directory. These files can be used to deploy your plugins.

Deployment

You can deploy your plugins using the CDAP CLI:

> load artifact <target/phoenix-source-<version>.jar> config-file <target/phoenix-source-<version>.json>

For example, if your artifact is named 'repartitioner-:

> load artifact target/phoenix-source-<version>.jar config-file target/phoenix-source-<version>.json

Mailing Lists

CDAP User Group and Development Discussions:

  • cdap-user@googlegroups.com <https://groups.google.com/d/forum/cdap-user>__

The cdap-user mailing list is primarily for users using the product to develop applications or building plugins for appplications. You can expect questions from users, release announcements, and any other discussions that we think will be helpful to the users.

License and Trademarks

Copyright © 2016-2018 Cask Data, Inc.

Licensed 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.

Cask is a trademark of Cask Data, Inc. All rights reserved.

Apache, Apache HBase, and HBase are trademarks of The Apache Software Foundation. Used with permission. No endorsement by The Apache Software Foundation is implied by the use of these marks.

.. |(Hydrator)| image:: http://cask.co/wp-content/uploads/hydrator_logo_cdap1.png

About

[WIP] Apache Phoenix Data Source and Sink

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages