<?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>topic How do you setup a LASR table to automatically from Hadoop when the LASR server is restarted? in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-you-setup-a-LASR-table-to-automatically-from-Hadoop-when/m-p/330162#M7301</link>
    <description>&lt;P&gt;Currently, I have jobs setup and scheduled that will load my Oracle data into Hadoop and then into LASR.&amp;nbsp; Now, I need to set it up so that my LASR table reload automatically (from Hadoop) when my LASR servers are restarted.&amp;nbsp; What is the best way to accomplish this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, I am new to SAS, so detailed replies are greatly appreciated. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2017 12:39:55 GMT</pubDate>
    <dc:creator>rgreen33</dc:creator>
    <dc:date>2017-02-06T12:39:55Z</dc:date>
    <item>
      <title>How do you setup a LASR table to automatically from Hadoop when the LASR server is restarted?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-you-setup-a-LASR-table-to-automatically-from-Hadoop-when/m-p/330162#M7301</link>
      <description>&lt;P&gt;Currently, I have jobs setup and scheduled that will load my Oracle data into Hadoop and then into LASR.&amp;nbsp; Now, I need to set it up so that my LASR table reload automatically (from Hadoop) when my LASR servers are restarted.&amp;nbsp; What is the best way to accomplish this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, I am new to SAS, so detailed replies are greatly appreciated. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 12:39:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-do-you-setup-a-LASR-table-to-automatically-from-Hadoop-when/m-p/330162#M7301</guid>
      <dc:creator>rgreen33</dc:creator>
      <dc:date>2017-02-06T12:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do you setup a LASR table to automatically from Hadoop when the LASR server is restarted?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-you-setup-a-LASR-table-to-automatically-from-Hadoop-when/m-p/330164#M7302</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess your data remains on Hadoop, therefore you could use the same scripts to load the data from HDFS to LASR, a few minutes after the restart, to ensure LASR is up and running. Of course, any intermediate script (to check if LASR is up, etc) could help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another possible idea, is to save/unload your data from LASR into Hadoop, before stoping them, if you expect the data could have changed, or there might be new tables/queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you already read this paper?&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings14/SAS033-2014.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings14/SAS033-2014.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 12:48:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-do-you-setup-a-LASR-table-to-automatically-from-Hadoop-when/m-p/330164#M7302</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-02-06T12:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do you setup a LASR table to automatically from Hadoop when the LASR server is restarted?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-you-setup-a-LASR-table-to-automatically-from-Hadoop-when/m-p/330167#M7303</link>
      <description>&lt;P&gt;JuanS_OCS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; So, it sounds as if this all has to be done via code...no way to do it via the GUI.&amp;nbsp; So, based on your suggestion above, how do I know when my LASR server has restarted?&amp;nbsp; Would this be a script that is added to my "start-up" steps, which would manually be kicked off when LASR servers are loaded?&amp;nbsp; Or, is there a way to automatically trap for this even and fire this script off on re-start?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 12:56:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-do-you-setup-a-LASR-table-to-automatically-from-Hadoop-when/m-p/330167#M7303</guid>
      <dc:creator>rgreen33</dc:creator>
      <dc:date>2017-02-06T12:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do you setup a LASR table to automatically from Hadoop when the LASR server is restarted?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-you-setup-a-LASR-table-to-automatically-from-Hadoop-when/m-p/330169#M7304</link>
      <description>&lt;P&gt;You are welcome&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/125413"&gt;@rgreen33&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;let me answeryour questions:&lt;/P&gt;
&lt;P&gt;There are GUI options (on the library properties in the SAS Management COnsole) for this for the autoload folders, although I believe none for HDFS. Anyway for what you want to achieve, and to get the latest state of your LASR data, I would script it, yes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To know when LASR was restarted, you have several ways to know it: your logs, on the VA &amp;nbsp;Administrator view, with the SAS Environment Manager... &amp;nbsp;there are even more creative ways, but the main message is that there are many ways to know, fortunately &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I guess you want to automate as much as possible, I understand you also automated the start-up of the LASR servers with a script, or you want to do it. Therefore the best place to callt his script is to be triggered just after you check that HDFS and LASR are up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 13:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-do-you-setup-a-LASR-table-to-automatically-from-Hadoop-when/m-p/330169#M7304</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-02-06T13:04:12Z</dc:date>
    </item>
  </channel>
</rss>

