<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: how can import all tables from sql server database tables to hbase using single sqoop import command? is it possible? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-can-import-all-tables-from-sql-server-database-tables-to/m-p/162407#M124783</link>
    <description>&lt;P&gt;Sqoop doesn’t now permit you to import, all at once, a relational table directly into an HBase table having multiple column families. To work around this limitation, you create the HBase table first and then execute Sqoop import operations to finish the task.&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2016 03:58:52 GMT</pubDate>
    <dc:creator>ashu1</dc:creator>
    <dc:date>2016-05-24T03:58:52Z</dc:date>
    <item>
      <title>how can import all tables from sql server database tables to hbase using single sqoop import command? is it possible?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-can-import-all-tables-from-sql-server-database-tables-to/m-p/162405#M124781</link>
      <description />
      <pubDate>Mon, 23 May 2016 17:58:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-can-import-all-tables-from-sql-server-database-tables-to/m-p/162405#M124781</guid>
      <dc:creator>omkarmotoe</dc:creator>
      <dc:date>2016-05-23T17:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: how can import all tables from sql server database tables to hbase using single sqoop import command? is it possible?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-can-import-all-tables-from-sql-server-database-tables-to/m-p/162406#M124782</link>
      <description>&lt;P&gt;can you try with below command&lt;/P&gt;&lt;PRE&gt;sqoop import-all-tables --connect jdbc:mysql://mysql_server/mysql_table --table mysql_table_name --hbase-table hbase_table_name --column-family metadata --hbase-create-table --username root -P &lt;/PRE&gt;</description>
      <pubDate>Mon, 23 May 2016 18:07:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-can-import-all-tables-from-sql-server-database-tables-to/m-p/162406#M124782</guid>
      <dc:creator>asinghal</dc:creator>
      <dc:date>2016-05-23T18:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: how can import all tables from sql server database tables to hbase using single sqoop import command? is it possible?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-can-import-all-tables-from-sql-server-database-tables-to/m-p/162407#M124783</link>
      <description>&lt;P&gt;Sqoop doesn’t now permit you to import, all at once, a relational table directly into an HBase table having multiple column families. To work around this limitation, you create the HBase table first and then execute Sqoop import operations to finish the task.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 03:58:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-can-import-all-tables-from-sql-server-database-tables-to/m-p/162407#M124783</guid>
      <dc:creator>ashu1</dc:creator>
      <dc:date>2016-05-24T03:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: how can import all tables from sql server database tables to hbase using single sqoop import command? is it possible?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-can-import-all-tables-from-sql-server-database-tables-to/m-p/162408#M124784</link>
      <description>&lt;P&gt;There is no way to tell Sqoop to import all tables into HBase, becuase you have to use "--hbase-table" which is incompatible with "--import-all-tables". Note that HBase is not a general purpose data-base/storage, it's used to store a relatively small number of tables and provide real-time access to them, so it doesn't make sense to import 100s of tables into HBase. For a reasonably small number of tables you can create a script:&lt;/P&gt;&lt;PRE&gt;for t in t1 t2 t3; do
sqoop --connect jdc:mysql://... --table $t --hbase-table $t --hbase-create-table ...
done&lt;/PRE&gt;&lt;P&gt;Note that it's a good idea to pre-create HBase tables, for example to set splitting and compression etc, because Sqoop will not do that. Another approach for your project can be to import all your tables into Hive, create a few Hive tables mapped onto HBase, and populate them using your Hive imported tables.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 05:16:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-can-import-all-tables-from-sql-server-database-tables-to/m-p/162408#M124784</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-05-24T05:16:50Z</dc:date>
    </item>
  </channel>
</rss>

