<?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 hadoop connectivity issue in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/415600#M26723</link>
    <description>If you feel that you followed every inch of the SAS-Hadoop configuration, and use a supported distribution, contact SAS Tech support.</description>
    <pubDate>Wed, 22 Nov 2017 18:45:41 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2017-11-22T18:45:41Z</dc:date>
    <item>
      <title>sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/415549#M26721</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying connecting to hadoop using Kerberos with below proc sql code, and getting error.&lt;/P&gt;
&lt;P&gt;any parameter is being missing or any configuration needs to be done from sas end?&lt;/P&gt;
&lt;P&gt;Please advise,,,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc sql;&lt;BR /&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connect to hadoop (HIVE_PRINCIPAL="hive/_HOST@xyz.company.com"&lt;BR /&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! SERVER="abc.company.com");&lt;BR /&gt;ERROR: java.sql.SQLException: Could not open client transport with JDBC Uri:&lt;BR /&gt;jdbc:hive2://abc.company.com:10000/default;principal=hive/_HOST@xyz.company.com: GSS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initiate failed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Error trying to establish connection.&lt;BR /&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 15:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/415549#M26721</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-11-22T15:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/415600#M26723</link>
      <description>If you feel that you followed every inch of the SAS-Hadoop configuration, and use a supported distribution, contact SAS Tech support.</description>
      <pubDate>Wed, 22 Nov 2017 18:45:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/415600#M26723</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-11-22T18:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/418557#M26945</link>
      <description>&lt;P&gt;any other libname or proc sql statement that I can test it (with may be different parameter)?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 18:18:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/418557#M26945</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-12-05T18:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/418701#M26961</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To be honest, I think this problems is out of the boundaries of the SAS system, but on your OS + 3rd party configuration.&lt;/P&gt;
&lt;P&gt;So, i would recommend, as already suggested, to share this with SAS Technical Support, yes, but please keep in mind they might be supporting you on best effort basis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of that, I would reach a good Hive/Hadoop expert and external tool, and try the connection out from SAS, ensure that it works, then come back to SAS and fix it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I think here you would get great results just google-ing. I did a try and some interesting answers are in the net:&amp;nbsp;&lt;A href="https://www.google.nl/search?q=GSS+initiate+failed&amp;amp;oq=GSS+initiate+failed&amp;amp;aqs=chrome..69i57.863j0j7&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8" target="_blank"&gt;https://www.google.nl/search?q=GSS+initiate+failed&amp;amp;oq=GSS+initiate+failed&amp;amp;aqs=chrome..69i57.863j0j7&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 08:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/418701#M26961</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-12-06T08:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/426310#M27459</link>
      <description>&lt;P&gt;Do we need to install Beeline utility to test hiveserver2 connection? OR it needs to be enabled from hadoop/hive side and we can test it out?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 05:15:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/426310#M27459</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-01-10T05:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/426317#M27460</link>
      <description>&lt;P&gt;Have a look at this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/Slow-logins-to-Hadoop/m-p/426047#M11809" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/Slow-logins-to-Hadoop/m-p/426047#M11809&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt; pointed me to this independent tool. There are some additional params that you need to set for Kerberos, but I did make a note in the thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The message that you are getting means something went wrong with the TGT. First place to check is to see if a TGT is being generated for you. Assuming Linux, the default location is /tmp. If not, then manually generate a TGT with the kinit command. All of this needs to be working ok before you start using SAS.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 05:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/426317#M27460</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2018-01-10T05:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/426549#M27472</link>
      <description>&lt;P&gt;Thanks &lt;A class="lia-link-navigation lia-page-link lia-user-name-link" id="link_8" style="color: rgb(0, 125, 195);" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/145980" target="_self"&gt;&lt;SPAN class="login-bold"&gt;nhvdwalt&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate your input,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am generating Kerberos ticket fine and it is generating right under my home directory from where I run sas test job to connect to hive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to export both environment variable but failed to run that "SASJAVA HiveCheck" command. It says SASHIVE command not found.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally,&amp;nbsp;I get below error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname hdp hadoop uri="jdbc:hive2://server-name.com:10000/;ssl=true"&lt;BR /&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! server="server-name.com" port=10000 SUBPROTOCOL=hive2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: java.sql.SQLException: Could not open client transport with JDBC Uri:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jdbc:hive2://server-name.com:10000/;ssl=true: Peer indicated failure: PLAIN auth failed: LDAP&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Authentication failed for user&lt;BR /&gt;ERROR: Error trying to establish connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 17:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/426549#M27472</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-01-10T17:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/426767#M27482</link>
      <description>&lt;P&gt;I think let's just get the HiveCheck working before trying in SAS. Hive connectivity must work outside of SAS before you try the libname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you send me the full command you run on the command line for the HiveCheck program and the values of the environment variables you exported ?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 05:02:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/426767#M27482</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2018-01-11T05:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/428203#M27577</link>
      <description>&lt;P&gt;when I run&amp;nbsp;"hivecheck.sh" on sas host I use only two below environment variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;export SASJAVA=/sas-install-dir/SASPrivateJavaRuntimeEnvironment/9.4/jre/bin/java&lt;/P&gt;
&lt;P&gt;export CLASSPATH="/test/jars/*:/test/config/:$CLASSPATH"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;however, I get error saying,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;$./hivecheck.sh&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;Error: Could not find or load main class HiveCheck&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&lt;FONT color="#000000"&gt;Thank You.&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 22:38:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/428203#M27577</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-01-16T22:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/428246#M27578</link>
      <description>&lt;P&gt;You are missing your current directory where HiveCheck is located in your CLASSPATH. Change it to the below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;export CLASSPATH=.:/some_directory/hadoop/lib/*:some_directory/hadoop/conf/*:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notice the "&amp;nbsp; &amp;nbsp;.:&amp;nbsp; &amp;nbsp;" at the start of CLASSPATH&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 03:42:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/428246#M27578</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2018-01-17T03:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/429239#M27692</link>
      <description>&lt;P&gt;Not sure but may be something else,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ echo $CLASSPATH&lt;BR /&gt;/Hadoopjarsdir/2.6.0-cdh5.8.3/jars/*:/hadoopconfigdir:/dirwherehivecheck.sh:.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ echo $SASJAVA&lt;BR /&gt;/sas-install-dir/SASPrivateJavaRuntimeEnvironment/9.4/jre/bin/java&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;$ ./HiveCheck.sh&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;Error: Could not find or load main class HiveCheck&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 19:15:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/429239#M27692</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-01-19T19:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: sas hadoop connectivity issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/429543#M27700</link>
      <description>&lt;P&gt;Set your variables&amp;nbsp;&lt;EM&gt;inside&lt;/EM&gt; the&amp;nbsp;HiveCheck.sh script. Variables set on the command line will not be visible to the script unless you export them. Best way always is to set all required variables needed by the script, inside the script so that it becomes self-contained.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Put this in your script....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;export SASJAVA=&amp;lt;&amp;lt;SASHome_dir&amp;gt;&amp;gt;/SASPrivateJavaRuntimeEnvironment/9.4/jre/bin/java&lt;BR /&gt;export CLASSPATH=.:/Hadoopjarsdir/2.6.0-cdh5.8.3/jars/*:/hadoopconfigdir/*:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you use Kerberos, there are some additional settings.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 05:10:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-hadoop-connectivity-issue/m-p/429543#M27700</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2018-01-22T05:10:43Z</dc:date>
    </item>
  </channel>
</rss>

