<?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: execute async task on beeline in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/execute-async-task-on-beeline/m-p/108672#M54653</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1184/vergari.html" nodeid="1184"&gt;@Davide Vergari&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;If you ask beeline to run commands in one file, they will run sequentially. However, you could try the following:&lt;/P&gt;&lt;P&gt;1. Split the queries in different files and run multiple beeline commands in different threads in your program.&lt;/P&gt;&lt;P&gt;2. Use JDBC where you can open multiple connections in different threads and run queries on each connection.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2017 06:54:43 GMT</pubDate>
    <dc:creator>vgumashta</dc:creator>
    <dc:date>2017-02-17T06:54:43Z</dc:date>
    <item>
      <title>execute async task on beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/execute-async-task-on-beeline/m-p/108671#M54652</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have to execute a list of alter location statements on a  hive table with two thousand partitions. To do that, I create a text file with the list of alter statements (one for each partition) and submit it to beeline, but it last a couple of hour, because beeline wait for each task to be executed. Is there a way to tell beeline to submit the task to hs2 at once?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 17:00:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/execute-async-task-on-beeline/m-p/108671#M54652</guid>
      <dc:creator>vergari</dc:creator>
      <dc:date>2017-02-16T17:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: execute async task on beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/execute-async-task-on-beeline/m-p/108672#M54653</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1184/vergari.html" nodeid="1184"&gt;@Davide Vergari&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;If you ask beeline to run commands in one file, they will run sequentially. However, you could try the following:&lt;/P&gt;&lt;P&gt;1. Split the queries in different files and run multiple beeline commands in different threads in your program.&lt;/P&gt;&lt;P&gt;2. Use JDBC where you can open multiple connections in different threads and run queries on each connection.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 06:54:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/execute-async-task-on-beeline/m-p/108672#M54653</guid>
      <dc:creator>vgumashta</dc:creator>
      <dc:date>2017-02-17T06:54:43Z</dc:date>
    </item>
  </channel>
</rss>

