<?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 Re: LSF scheduled flow will not be able to connect do HADOOP but works when trigger manually in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-scheduled-flow-will-not-be-able-to-connect-do-HADOOP-but/m-p/566137#M16490</link>
    <description>Are the two flows running with the same user? Maybe your user as more rights then the batch user?</description>
    <pubDate>Fri, 14 Jun 2019 09:36:10 GMT</pubDate>
    <dc:creator>Criptic</dc:creator>
    <dc:date>2019-06-14T09:36:10Z</dc:date>
    <item>
      <title>LSF scheduled flow will not be able to connect do HADOOP but works when trigger manually</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-scheduled-flow-will-not-be-able-to-connect-do-HADOOP-but/m-p/566133#M16488</link>
      <description>&lt;P&gt;Topic: LSF scheduled flow will not be able to connect do HADOOP but works when trigger manually&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi everyone. I have a monthly job that will first connect to HADOOP database and perform a series of SAS scripts. However, when trying to connect to HADOOP via LSF flow which scheduled to run once a month at midnight, it will fail. When i rerun from LSF Flow form the failed flow process, it will work, during daytime office hour. I have been suspecting that this could be due to network or infra issue during midnight for the past few months until today when i schedule a dummy flow that connects to the same HADOOP that runs 24 hours in 30mins interval. It will FAIL to connect to HADOOP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error from log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;ERROR: Error trying to establish connection: Could &lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;not&lt;/SPAN&gt; &lt;SPAN class="token function" style="color: blue; box-sizing: inherit; line-height: 1.2;"&gt;open&lt;/SPAN&gt; client transport with JDBC Uri: jdbc:hive2:&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;lt;&lt;/SPAN&gt;removed the actual URL&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;netcap_planning&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;;&lt;/SPAN&gt;principal&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;=&lt;/SPAN&gt;hive&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;_HOST&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;@&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;lt;&lt;/SPAN&gt;removed&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;.&lt;/SPAN&gt;MY: GSS initiate failed
ERROR: Error &lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;in&lt;/SPAN&gt; the &lt;SPAN class="token statement" style="color: blue; box-sizing: inherit; line-height: 1.2;"&gt;LIBNAME&lt;/SPAN&gt; statement&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;.&lt;/SPAN&gt;
ERROR: Error trying to establish connection: Could &lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;not&lt;/SPAN&gt; &lt;SPAN class="token function" style="color: blue; box-sizing: inherit; line-height: 1.2;"&gt;open&lt;/SPAN&gt; client transport with JDBC Uri: jdbc:hive2:&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;lt;&lt;/SPAN&gt;removed the actual URL&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;asset_dev_dn&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;;&lt;/SPAN&gt;principal&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;=&lt;/SPAN&gt;hive&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;_HOST&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;@&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;lt;&lt;/SPAN&gt;removed&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;.&lt;/SPAN&gt;MY: GSS initiate failed
ERROR: Error &lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;in&lt;/SPAN&gt; the &lt;SPAN class="token statement" style="color: blue; box-sizing: inherit; line-height: 1.2;"&gt;LIBNAME&lt;/SPAN&gt; statement&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i trigger the flow manually, it will be able to connect to HADOOP. Why is this so strange? Doesn't make any sense to me at all. Why will a flow fail to connect to HADOOP but works when i trigger manually?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the log when i trigger in LSF manually:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token statement" style="color: blue; box-sizing: inherit; line-height: 1.2;"&gt;NOTE&lt;/SPAN&gt;: &lt;SPAN class="token function" style="color: blue; box-sizing: inherit; line-height: 1.2;"&gt;Libref&lt;/SPAN&gt; HPSNCP was successfully assigned as follows: 
      Engine:        HADOOP 
      Physical Name: jdbc:hive2:&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;lt;&lt;/SPAN&gt;removed&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;netcap_planning
&lt;SPAN class="token statement" style="color: blue; box-sizing: inherit; line-height: 1.2;"&gt;NOTE&lt;/SPAN&gt;: &lt;SPAN class="token function" style="color: blue; box-sizing: inherit; line-height: 1.2;"&gt;Libref&lt;/SPAN&gt; HPSASTD was successfully assigned as follows: 
      Engine:        HADOOP 
      Physical Name: jdbc:hive2:&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;lt;&lt;/SPAN&gt;removed&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;/&lt;/SPAN&gt;asset_dev_dn&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is just not normal.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 09:16:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-scheduled-flow-will-not-be-able-to-connect-do-HADOOP-but/m-p/566133#M16488</guid>
      <dc:creator>WorkingMan</dc:creator>
      <dc:date>2019-06-14T09:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: LSF scheduled flow will not be able to connect do HADOOP but works when trigger manually</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-scheduled-flow-will-not-be-able-to-connect-do-HADOOP-but/m-p/566137#M16490</link>
      <description>Are the two flows running with the same user? Maybe your user as more rights then the batch user?</description>
      <pubDate>Fri, 14 Jun 2019 09:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-scheduled-flow-will-not-be-able-to-connect-do-HADOOP-but/m-p/566137#M16490</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2019-06-14T09:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: LSF scheduled flow will not be able to connect do HADOOP but works when trigger manually</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-scheduled-flow-will-not-be-able-to-connect-do-HADOOP-but/m-p/566173#M16494</link>
      <description>&lt;P&gt;good point&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/50279"&gt;@Criptic&lt;/a&gt; some user accounts can be setup to allow the user some admin permissions to some process's while batching process's might not be allowed those permissions. &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 14:31:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-scheduled-flow-will-not-be-able-to-connect-do-HADOOP-but/m-p/566173#M16494</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-06-14T14:31:43Z</dc:date>
    </item>
  </channel>
</rss>

