Integrating the Phoenix input and output formats with Crunch will definitely be possible, but I don't think you'll be able to directly plug them in (e.g. via the JDBC DataBaseSource).
Probably your best bet would be to take a look at the HBaseSourceTarget (particularly the configureSource method), and see if you can build up a Phoenix-based SourceTarget from that. - Gabriel On Thu, Nov 26, 2015 at 9:09 PM, Kristoffer Sjögren <[email protected]> wrote: > Thanks for letting me know. > > Im actually doing JDBC with Phoenix and noticed they provide hadoop > input/output formats . I guess it would be easy to integrate those > with Crunch? > > On Thu, Nov 26, 2015 at 7:46 PM, Gabriel Reid <[email protected]> wrote: >> Hi Kristoffer, >> >> No, the current JDBC support is only for reading, there isn't >> currently anything within Crunch for writing via JDBC. >> >> - Gabriel >> >> On Thu, Nov 26, 2015 at 3:51 PM, Kristoffer Sjögren <[email protected]> wrote: >>> Hi >>> >>> I saw the JDBC DataBaseSource in contrib for reading. Is there one for >>> writing aswell? >>> >>> Cheers, >>> -Kristoffer
