<?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: SAS® Viya Caslib SAS access to hadoop  error in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/564173#M439</link>
    <description>&lt;P&gt;The solution was provided by SAS Technical support.&lt;/P&gt;&lt;P class="cs2654ae3a"&gt;&lt;SPAN class="csce7b0ced1"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;We should be able to surface the zookeeper configuration from your xml files if you remove the uri= option and continue to not have a server= as well. &amp;nbsp;For example, the working caslib statement for our internal zookeeper cluster is just:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;caslib hdlib

&amp;nbsp;datasource=(srctype="hadoop", dataTransferMode="serial", username="hive",

&amp;nbsp;hadoopjarpath="/opt/sas/hadoop/lib",

&amp;nbsp;hadoopconfigdir="/opt/sas/hadoop/conf",

&amp;nbsp;schema="hidetail");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P class="cs2654ae3a"&gt;&lt;SPAN class="cs9867eb741"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="cs2654ae3a"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;&lt;SPAN class="csce7b0ced1"&gt;If a similar caslib statement still times out for you then you may want to add the login_time= option with a value of 60.(the default is 30 for hadoop)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2019 15:44:15 GMT</pubDate>
    <dc:creator>stalasani</dc:creator>
    <dc:date>2019-06-06T15:44:15Z</dc:date>
    <item>
      <title>SAS® Viya Caslib SAS access to hadoop  error</title>
      <link>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/562888#M435</link>
      <description>&lt;DIV class="sasError"&gt;ERROR: The connection to the data source driver failed.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: General error java.util.concurrent.TimeoutException&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Function failed.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: The action stopped due to errors.&lt;/DIV&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;cas mySession sessopts=(caslib=casuser timeout=1800 locale="en_US");

caslib hdlib datasource=(srctype="hadoop", dataTransferMode="serial", username="{username}", password="{password}"
uri="jdbc:hive2://{hostname}:2181,{hostname}:2181,{hostname}:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;ssl=true;",
hadoopjarpath="/sas_mirror/hadoopfiles/lib", 
hadoopconfigdir="/sas_mirror/hadoopfiles/conf", 
schema="default");

proc casutil; 
list files incaslib="hdlib";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 May 2019 15:39:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/562888#M435</guid>
      <dc:creator>stalasani</dc:creator>
      <dc:date>2019-05-31T15:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS® Viya Caslib SAS access to hadoop  error</title>
      <link>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/563071#M436</link>
      <description>&lt;P&gt;A similar error which I'm getting in SAS 9.4 occurs if SAS is not able to establish a connection due to an unresponsive Hadoop cluster (meaning: It only happens sometimes).&lt;/P&gt;
&lt;PRE&gt;ERROR: Error trying to establish connection: java.util.concurrent.TimeoutException
ERROR: Error in the LIBNAME statement.&lt;/PRE&gt;
&lt;P&gt;You could try to increase the value for timeout if your version of SAS lets you do this.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/62/643.html" target="_blank"&gt;http://support.sas.com/kb/62/643.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2019 03:51:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/563071#M436</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-06-01T03:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS® Viya Caslib SAS access to hadoop  error</title>
      <link>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/563591#M437</link>
      <description>&lt;P&gt;For me the issue is persistent.&lt;/P&gt;&lt;P&gt;I'm using SAS StudioV which is in SAS Viya deployment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 19:24:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/563591#M437</guid>
      <dc:creator>stalasani</dc:creator>
      <dc:date>2019-06-04T19:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS® Viya Caslib SAS access to hadoop  error</title>
      <link>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/564170#M438</link>
      <description>&lt;P&gt;removing the uri option from the code resolved the issue.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;cas mySession sessopts=(caslib=casuser timeout=1800 locale="en_US");

caslib hdlib datasource=(srctype="hadoop", dataTransferMode="serial", username="{username}", password="{password}"
hadoopjarpath="/sas_mirror/hadoopfiles/lib", 
hadoopconfigdir="/sas_mirror/hadoopfiles/conf", 
schema="default");

proc casutil; 
list files incaslib="hdlib";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:36:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/564170#M438</guid>
      <dc:creator>stalasani</dc:creator>
      <dc:date>2019-06-06T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS® Viya Caslib SAS access to hadoop  error</title>
      <link>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/564173#M439</link>
      <description>&lt;P&gt;The solution was provided by SAS Technical support.&lt;/P&gt;&lt;P class="cs2654ae3a"&gt;&lt;SPAN class="csce7b0ced1"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;We should be able to surface the zookeeper configuration from your xml files if you remove the uri= option and continue to not have a server= as well. &amp;nbsp;For example, the working caslib statement for our internal zookeeper cluster is just:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;caslib hdlib

&amp;nbsp;datasource=(srctype="hadoop", dataTransferMode="serial", username="hive",

&amp;nbsp;hadoopjarpath="/opt/sas/hadoop/lib",

&amp;nbsp;hadoopconfigdir="/opt/sas/hadoop/conf",

&amp;nbsp;schema="hidetail");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P class="cs2654ae3a"&gt;&lt;SPAN class="cs9867eb741"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="cs2654ae3a"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;&lt;SPAN class="csce7b0ced1"&gt;If a similar caslib statement still times out for you then you may want to add the login_time= option with a value of 60.(the default is 30 for hadoop)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:44:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-Viya-Caslib-SAS-access-to-hadoop-error/m-p/564173#M439</guid>
      <dc:creator>stalasani</dc:creator>
      <dc:date>2019-06-06T15:44:15Z</dc:date>
    </item>
  </channel>
</rss>

