<?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: What does  --m 1 represent in sqoop import statement? Below is the code. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190428#M83579</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/89308/sganeshkumar.html" nodeid="89308"&gt;@Sudharsan
 Ganeshkumar
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-m represents the number of mappers run to extract the data from the source database. Here '-m 1' means running one mapper.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Sep 2018 13:33:52 GMT</pubDate>
    <dc:creator>ssubhas</dc:creator>
    <dc:date>2018-09-17T13:33:52Z</dc:date>
    <item>
      <title>What does  --m 1 represent in sqoop import statement? Below is the code.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190427#M83578</link>
      <description>&lt;PRE&gt;$ sqoop import \
--connect jdbc:mysql://localhost/userdb \
--username root \
--table emp --m 1&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Sep 2018 13:29:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190427#M83578</guid>
      <dc:creator>sganeshkumar</dc:creator>
      <dc:date>2018-09-17T13:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: What does  --m 1 represent in sqoop import statement? Below is the code.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190428#M83579</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/89308/sganeshkumar.html" nodeid="89308"&gt;@Sudharsan
 Ganeshkumar
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-m represents the number of mappers run to extract the data from the source database. Here '-m 1' means running one mapper.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 13:33:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190428#M83579</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2018-09-17T13:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: What does  --m 1 represent in sqoop import statement? Below is the code.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190429#M83580</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5019/ssubhas.html" nodeid="5019"&gt;@Sindhu&lt;/A&gt; If I increase the mappers, will the time consumed be less or How many mappers can we keep in general ??? Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 13:36:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190429#M83580</guid>
      <dc:creator>sganeshkumar</dc:creator>
      <dc:date>2018-09-17T13:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: What does  --m 1 represent in sqoop import statement? Below is the code.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190430#M83581</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/89308/sganeshkumar.html" nodeid="89308"&gt;@Sudharsan
 Ganeshkumar&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;-m denotes number of mappers to launch to run your query.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 13:42:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190430#M83581</guid>
      <dc:creator>subhash_parise3</dc:creator>
      <dc:date>2018-09-17T13:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: What does  --m 1 represent in sqoop import statement? Below is the code.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190431#M83582</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/89308/sganeshkumar.html" nodeid="89308"&gt;@Sudharsan
 Ganeshkumar
&lt;/A&gt;&lt;BR /&gt;Yes, you can increase the number of mappers to improve parallelism depending on your cluster resources.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 17:37:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190431#M83582</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2018-09-17T17:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: What does  --m 1 represent in sqoop import statement? Below is the code.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190432#M83583</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/89308/sganeshkumar.html" nodeid="89308"&gt;@Sudharsan
 Ganeshkumar
&lt;/A&gt;&lt;BR /&gt;Yes, you can increase the number of mappers to improve parallelism depending on your cluster resources.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 17:37:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190432#M83583</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2018-09-17T17:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: What does  --m 1 represent in sqoop import statement? Below is the code.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190433#M83584</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/89308/sganeshkumar.html" nodeid="89308"&gt;@Sudharsan
 Ganeshkumar&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The optimal number of mappers depends on many variables: you need to take into account your database type, the hardware that is used for your database server, and the impact to other requests that your database needs to serve. There is no optimal number of mappers that works for all scenarios. Instead, you’re encouraged to experiment to find the optimal degree of parallelism for your environment and use case. It’s a good idea to start with a small number of mappers, slowly ramping up, rather than to start with a large number of mappers, working your way down.&lt;/P&gt;&lt;P&gt;When you run sqoop import with -m 1 option, 1 mapper will be launched and in case this parameter is specified, sqoop will run 4 mappers by default.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 17:41:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-m-1-represent-in-sqoop-import-statement-Below-is/m-p/190433#M83584</guid>
      <dc:creator>gul_shad</dc:creator>
      <dc:date>2018-09-17T17:41:41Z</dc:date>
    </item>
  </channel>
</rss>

