Hi Fatih, The list-database tool seems to be working with only one schema at the time. You can specify extra argument --schema to specify schema other than the default "public", for example: sqoop list-tables --connect ... -- --schema private_schema Jarcec answered Jul 21 2013 at 07:54 |
Hi Jarek, Thanks for your help. But I am using sqoop 1.4.3 but --schema version did not work for me. answered Jul 22 2013 at 01:39 |
Is there any --schema option to be able to list schemas other than public, because, I am not able to list other tables under non-public schemas? answered Jul 22 2013 at 02:18 |
Hi Fatih, the --schema extra parameter was added in 1.4.3 via SQOOP-601. It's however extra parameter and not a normal Sqoop parameter. As a result it needs to be specified in the extra argument section of the command line. For example: sqoop list-tables --connect ... -- --schema private_schema Please do notice the extra "--" between normal sqoop arguments and extra arguments. You might be interested in taking a look into Apache Sqoop Cookbook [1] where all different types of parameters are further described. Jarcec Links: 1: http://shop.oreilly.com/product/0636920029519.do answered Jul 22 2013 at 07:50 |
Group Sqoop-user
asked Jul 21 2013 at 04:18
active Jul 22 2013 at 07:50
posts:5
users:2