<?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: Google Storage and Kerberos integration in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Google-Storage-and-Kerberos-integration/m-p/109502#M25797</link>
    <description>&lt;P&gt;I concur with Sean. As long as any user, who have access to the cluster and the google personal key, they can explore GHFS bucket. I would say, google has to enhance the connector, by allowing intervention of kerberos prior to validation of the personal key.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Apr 2016 20:37:06 GMT</pubDate>
    <dc:creator>SaiEdara</dc:creator>
    <dc:date>2016-04-21T20:37:06Z</dc:date>
    <item>
      <title>Google Storage and Kerberos integration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Google-Storage-and-Kerberos-integration/m-p/109500#M25795</link>
      <description>&lt;P&gt;I am able to access gs without having kerberos ticket. I am guessing that it's normal but it would be nice to have a way to enforce kerberos auth for gs while accessing the GS from Hadoop.&lt;/P&gt;&lt;PRE&gt;bash-4.1$ id 
uid=1023418093(hive) gid=1614812195(hadoop) 
----------------------------------------------------------- 
bash-4.1$ kdestroy 
kdestroy: No credentials cache found while destroying cache 
----------------------------------------------------------- 
bash-4.1$ klist 
klist: No credentials cache found (ticket cache FILE:/tmp/krb5cc_1023418093) 
----------------------------------------------------------- 
bash-4.1$ hadoop fs -ls gs://dev/ 
16/04/20 14:31:48 INFO gcs.GoogleHadoopFileSystemBase: GHFS version: 1.4.5-hadoop2 
Found 1 items 
drwxrwxr-x - hive hive 0 2016-04-11 00:26 gs://dev/apps 
----------------------------------------------------------- 
bash-4.1$ hadoop fs -ls / 
16/04/20 14:30:56 WARN ipc.Client: Exception encountered while connecting to the server : 
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] 
at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:212)
at org.apache.hadoop.security.SaslRpcClient.saslConnect(SaslRpcClient.java:413) 
at org.apache.hadoop.ipc.Client$Connection.setupSaslConnection(Client.java:558) 
at org.apache.hadoop.ipc.Client$Connection.access$1800(Client.java:373)&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:15:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Google-Storage-and-Kerberos-integration/m-p/109500#M25795</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2022-09-16T10:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Google Storage and Kerberos integration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Google-Storage-and-Kerberos-integration/m-p/109501#M25796</link>
      <description>&lt;P&gt;The &lt;A href="https://cloud.google.com/hadoop/google-cloud-storage-connector"&gt;Google Cloud Storage Connector for Hadoop&lt;/A&gt; is configured at the cluster level without any knowledge of Kerberos.&lt;/P&gt;&lt;P&gt;So the output you showed is what I would expect.&lt;/P&gt;&lt;P&gt;But some thoughts:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In secure environments, ideally a user can never even reach Hadoop without authentication against the Kerberos or Directory.&lt;OL&gt;&lt;LI&gt;With that assumed, you would never get the chance to run 'hadoop fs -ls ...' anyway.&lt;/LI&gt;&lt;LI&gt;So lock down all access to the environment &amp;amp; network so only authorized users can even run the commands.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;It couldn't hurt to submit a feature request for a configuration option that disables 'gs' unless the user is authenticated to Hadoop.&lt;OL&gt;&lt;LI&gt;Personally I see this as a bug report, but technically it's a feature request.&lt;OL&gt;&lt;LI&gt;You would have to raise it with Google since the Connector is not currently a part of Apache Hadoop. Google maintains it separately. 
&lt;/LI&gt;&lt;LI&gt;Why it's not a bug: Kerberos governs communications between services, not the executions of commands. Since GS doesn't do Kerberos, it works as intended since it already has it's authentication done separately.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;I've not done it, but you could check if individual users/applications can pass the GCS token. If possible then you would remove it from the cluster-wide configuration and the users would be required to do this themselves. It would still not be using Kerberos but would be another layer of security.&lt;OL&gt;&lt;LI&gt;s3a://, swift://, and wasb:// support this method.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 21 Apr 2016 19:22:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Google-Storage-and-Kerberos-integration/m-p/109501#M25796</guid>
      <dc:creator>sroberts</dc:creator>
      <dc:date>2016-04-21T19:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Google Storage and Kerberos integration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Google-Storage-and-Kerberos-integration/m-p/109502#M25797</link>
      <description>&lt;P&gt;I concur with Sean. As long as any user, who have access to the cluster and the google personal key, they can explore GHFS bucket. I would say, google has to enhance the connector, by allowing intervention of kerberos prior to validation of the personal key.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:37:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Google-Storage-and-Kerberos-integration/m-p/109502#M25797</guid>
      <dc:creator>SaiEdara</dc:creator>
      <dc:date>2016-04-21T20:37:06Z</dc:date>
    </item>
  </channel>
</rss>

