Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 06-27-2016 08:37 AM
Can a RDBMS table be imported to a phoenix hbase table using Sqoop?
IS there a direct way of doing this and if so can anyone point out the required resources.
Created 06-27-2016 09:39 AM
You can import data into underlying hbase table of phoenix, but data cannot be seen from phoenix.
Sqoop Jira SQOOP-2649 for sqoop-phoenix integration is addressed on Sqoop 1.4.7.
https://issues.apache.org/jira/browse/SQOOP-2649
Thanks and Regards,
Sindhu
Created 06-27-2016 08:45 AM
You can import to hbase directly using sqoop and then create pheonix table over it.
http://www.dummies.com/how-to/content/importing-data-into-hbase-with-sqoop.html
Also looks like sqoop pheonix integration is on roadmap.
Created 06-27-2016 09:39 AM
You can import data into underlying hbase table of phoenix, but data cannot be seen from phoenix.
Sqoop Jira SQOOP-2649 for sqoop-phoenix integration is addressed on Sqoop 1.4.7.
https://issues.apache.org/jira/browse/SQOOP-2649
Thanks and Regards,
Sindhu
Created 06-27-2016 09:48 AM
Thanks @Jitendra Yadav and @Sindhu, seems this feature of importing directly to a phoenix table is not available till sqoop 1.4.7 gets released.