You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/05 01:08:11 UTC

[jira] [Commented] (PHOENIX-2492) Expose PhoenixRecordWritable outside of spark

    [ https://issues.apache.org/jira/browse/PHOENIX-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042454#comment-15042454 ] 

ASF GitHub Bot commented on PHOENIX-2492:
-----------------------------------------

GitHub user ndimiduk opened a pull request:

    https://github.com/apache/phoenix/pull/142

    PHOENIX-2492 Expose PhoenixRecordWritable outside of spark

    This is a simple translation of phoenix-spark's `PhoenixRecordWritable` to java, and has been helpful for my needs. Probably the next step is to rip out the scala version and replumb to use the single implementation everywhere.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ndimiduk/phoenix 2492-phoenixrecordwritable-java

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/phoenix/pull/142.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #142
    
----
commit fbde526a5c49c42f0e52bb3d9109ba51fff05462
Author: Nick Dimiduk <nd...@apache.org>
Date:   2015-12-05T00:04:25Z

    PHOENIX-2492 Expose PhoenixRecordWritable outside of spark

----


> Expose PhoenixRecordWritable outside of spark
> ---------------------------------------------
>
>                 Key: PHOENIX-2492
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2492
>             Project: Phoenix
>          Issue Type: Task
>    Affects Versions: 4.6.0
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>            Priority: Minor
>             Fix For: 4.7.0
>
>
> {{PhoenixOutputFormat}} provides an easy way to write to phoenix from MR jobs, or anything else that support's hadoop's {{OutputFormat}} implementations. It depends on an implementation of {{DBWritable}}. We actually provide an implementation of {{DBWritable}} that's specific to Phoenix, but it's packaged in {{phoenix-spark}}. Let's move this out into {{phoenix-core}} so downstreamers don't need to pull in the whole spark/scala workd to use it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)