<?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: Adding a second user on  hadoop cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287363#M213012</link>
    <description>&lt;P&gt;In a nutshell, you don't need a Master process the edge node but Client to initiate communication with the Cluster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=&amp;gt; Actually this is my question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Which client? Should I create a local user like spark and then ask the end users to use it in order to launch this command for example from their machines??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;spark-sumbit&amp;nbsp; --master spark://edgenode:7077&amp;nbsp; calculPi.jar?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All that I need for now that the end&amp;nbsp; users could execute their scripts spark or Python ... from their side, how could we do this? do they need to access the edge server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Asma&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2020 14:25:10 GMT</pubDate>
    <dc:creator>asmarz</dc:creator>
    <dc:date>2020-01-10T14:25:10Z</dc:date>
    <item>
      <title>Adding a second user on  hadoop cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287269#M212947</link>
      <description>&lt;P&gt;Is it possible to add a second user on hadoop cluster like the spark user?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 17:15:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287269#M212947</guid>
      <dc:creator>asmarz</dc:creator>
      <dc:date>2020-01-09T17:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a second user on  hadoop cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287283#M212957</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70953"&gt;@asmarz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your question is ambiguous can you elaborate? It's possible to add users to a cluster with all the necessary privileges to execute ie spark, hive in a kerberized cluster you can merge the different keytabs i.e hive, spark,oozie etc or control through Ranger.&lt;BR /&gt;But if you can elaborate on your use-case then we can try to find a technical solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 18:37:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287283#M212957</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2020-01-09T18:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a second user on  hadoop cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287336#M212994</link>
      <description>&lt;P&gt;Thank you for your reply &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;I will explain my actual situation.&lt;/P&gt;&lt;P&gt;I have installed Hadoop Cluster using ambari HortonWorks.&lt;/P&gt;&lt;P&gt;One of nodes is an Edge node, I defined it as a spark master and I could then run spark-sumbit from this linux server (edge node) with spark user (spark) on 4 workers ( datanodes)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question now, I will have developers and end users who should execute scripts from their local machine on the edge node. These users should not access directly the linux server (Edge node)&amp;nbsp; but they will have to launch scripts (spark-sumbit). How can I create accounts for them? How could they access the edge node ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Asma&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 10:17:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287336#M212994</guid>
      <dc:creator>asmarz</dc:creator>
      <dc:date>2020-01-10T10:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a second user on  hadoop cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287359#M213010</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70953"&gt;@asmarz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have a better understanding of your deployment, I think that is a wrong technical approach. Having an edge node it a great idea in that you can create and control access to the cluster from the edge node, and usually, you have only Client software ONLY YARN, HDFS , OOZIE, ZOOKEEPER, SPARK, SQOOP.PIG client etc but not a Master node.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edge nodes run within the cluster allow for centralized management of all the Hadoop configuration entries on the cluster nodes which helps to reduce the amount of administration needed to update the config. When you configure a Linux box as an edge node during the deployment ambari configures update the conf files with the correct values so that all commands against the Cluster can be run from the edge node.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For security and good practice, edge nodes need to be multi-homed into the private subnet of the Hadoop cluster as well as into the corporate network. Keeping your Hadoop cluster in its own private subnet is an excellent practice, so these edge nodes serve as a controlled window inside the cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a nutshell, you don't need a Master process the edge node but Client to initiate communication with the Cluster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 14:23:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287359#M213010</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2020-01-10T14:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a second user on  hadoop cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287363#M213012</link>
      <description>&lt;P&gt;In a nutshell, you don't need a Master process the edge node but Client to initiate communication with the Cluster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=&amp;gt; Actually this is my question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Which client? Should I create a local user like spark and then ask the end users to use it in order to launch this command for example from their machines??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;spark-sumbit&amp;nbsp; --master spark://edgenode:7077&amp;nbsp; calculPi.jar?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All that I need for now that the end&amp;nbsp; users could execute their scripts spark or Python ... from their side, how could we do this? do they need to access the edge server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Asma&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 14:25:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287363#M213012</guid>
      <dc:creator>asmarz</dc:creator>
      <dc:date>2020-01-10T14:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a second user on  hadoop cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287384#M213017</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70953"&gt;@asmarz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HDP Client means a set of binaries and libraries to run commands and develop software for a particular Hadoop service. So, if you install &lt;STRONG&gt;Hive client&lt;/STRONG&gt; you can run &lt;STRONG&gt;beeline&lt;/STRONG&gt;, if you install &lt;STRONG&gt;HBase client&lt;/STRONG&gt; you can run an &lt;STRONG&gt;HBase shell&lt;/STRONG&gt; and if you install &lt;STRONG&gt;Spark Client&lt;/STRONG&gt; your can run &lt;STRONG&gt;spark-shell&lt;/STRONG&gt; etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would advise you install at least these clients so on edge node&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;zookeeper-client&lt;/LI&gt;&lt;LI&gt;sqoop-client&lt;/LI&gt;&lt;LI&gt;spark2-client&lt;/LI&gt;&lt;LI&gt;slider-client&lt;/LI&gt;&lt;LI&gt;spark-client&lt;/LI&gt;&lt;LI&gt;oozie-client&lt;/LI&gt;&lt;LI&gt;hbase-client&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The local users created on the edge node can execute the &lt;STRONG&gt;spark-shell&lt;/STRONG&gt; to run the &lt;STRONG&gt;spark submit&lt;/STRONG&gt; , but the only difference is if you have a kerberized&amp;nbsp; cluster you will have to generate keytabs and copy them over to the edge node for every user&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that answers your question&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 16:01:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287384#M213017</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2020-01-10T16:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a second user on  hadoop cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287385#M213018</link>
      <description>&lt;P&gt;Thank you again!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I have installed these client on my edge node &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;2) For instance, we decide that the cluster is not configured with kerberos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Actually, I want that end users could submit&amp;nbsp;&lt;STRONG&gt;spark-shell &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4) For this , I created a local user called "sparkuser" on the edge node&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5) with which tool could client use the spark-shell? API? application? All I want that users can use the sparkuser that I have created on edge nôde to submit&amp;nbsp;their scripts but I don't&amp;nbsp;not want that these users access the edge node server directly (like remotelx or via an API? or else? I hope that I explained more &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Many thanks for your help and patience&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Asma&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 16:13:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287385#M213018</guid>
      <dc:creator>asmarz</dc:creator>
      <dc:date>2020-01-10T16:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a second user on  hadoop cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287424#M213023</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70953"&gt;@asmarz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On the edgenode&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Just to validate your situation I have spun up single node cluster &lt;STRONG&gt;Tokyo IP 192.168.0.67&lt;/STRONG&gt; and installed an edge node &lt;STRONG&gt;Busia IP 192.168.0.66&lt;/STRONG&gt; I will demonstrate the spark client setup on the edge node and evoke the &lt;STRONG&gt;spark-shell&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;First I have to configure the passwordless ssh below my edge node&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Passwordless setup&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@busia ~]# mkdir .ssh&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@busia ~]# chmod 600 .ssh/&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@busia ~]# cd .ssh&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@busia .ssh]# ll&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;total 0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Networking not setup&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The master is unreachable from the edge node&lt;/P&gt;&lt;P&gt;[&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;root@busia .ssh]# ping 198.168.0.67&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;PING 198.168.0.67 (198.168.0.67) 56(84) bytes of data.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;From 198.168.0.67 icmp_seq=1 Destination Host Unreachable&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;From 198.168.0.67 icmp_seq=3 Destination Host Unreachable&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="001.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25993i1795CCFA3FD00BB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="001.png" alt="001.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On the master&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The master has a single node HDP 3.1.0 cluster, I will deploy the clients to the edge node from here&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@tokyo ~]# cd .ssh/&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@tokyo .ssh]# ll&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;total 16&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;-rw------- 1 root root 396 Jan 4 2019 authorized_keys&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;-rw------- 1 root root 1675 Jan 4 2019 id_rsa&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;-rw-r--r-- 1 root root 396 Jan 4 2019 id_rsa.pub&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;-rw-r--r-- 1 root root 185 Jan 4 2019 known_hosts&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Networking not setup&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The edge node is still unreachable from the master Tokyo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@tokyo .ssh]# ping 198.168.0.66&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;PING 198.168.0.66 (198.168.0.66) 56(84) bytes of data.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;From 198.168.0.66 icmp_seq=1 Destination Host Unreachable&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;From 198.168.0.66 icmp_seq=2 Destination Host Unreachable&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Copied the id-ira.pub key to the edgenode&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@tokyo ~]# cat .ssh/id_rsa.pub | ssh root@192.168.0.215 'cat &amp;gt;&amp;gt; .ssh/authorized_keys'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;The authenticity of host '192.168.0.215 (192.168.0.215)' can't be established.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;ECDSA key fingerprint is SHA256:ZhnKxkn+R3qvc+aF+Xl5S4Yp45B60mPIaPpu4f65bAM.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;ECDSA key fingerprint is MD5:73:b3:5a:b4:e7:06:eb:50:6b:8a:1f:0f:d1:07:55:cf.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Are you sure you want to continue connecting (yes/no)? yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Warning: Permanently added '192.168.0.215' (ECDSA) to the list of known hosts.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;root@192.168.0.215's password:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Validation the passwordless ssh works&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@tokyo ~]# ssh root@192.168.0.215&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Last login: Fri Jan 10 22:36:01 2020 from 192.168.0.178&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@busia ~]# hostname -f&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;busia.xxxxxx.xxx&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="002.PNG" style="width: 987px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25994iEA39A08D5A2A6138/image-size/large?v=v2&amp;amp;px=999" role="button" title="002.PNG" alt="002.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;xxxxxx&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="003.PNG" style="width: 985px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25995iFAE0C010ABDC5AAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="003.PNG" alt="003.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;Single node Cluster&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@tokyo ~]# useradd asmarz&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;[root@tokyo ~]# su - asmarz&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the master as user &lt;STRONG&gt;asmarz&lt;/STRONG&gt;&amp;nbsp; I can access the spark-shell and execute any spark code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Add the edge node to the cluster&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="006.PNG" style="width: 950px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25997iFDD2B51AC3AA24AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="006.PNG" alt="006.PNG" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Install the clients on the edge node&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="007.PNG" style="width: 942px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25998iFB3B8C79474D2EF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="007.PNG" alt="007.PNG" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the &lt;STRONG&gt;master&lt;/STRONG&gt; as user&amp;nbsp;&lt;STRONG&gt;asmarz&lt;/STRONG&gt;&amp;nbsp; I have access to the &lt;STRONG&gt;spark-shell&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="009.PNG" style="width: 829px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26001i6A034FEC5BD0DD93/image-size/large?v=v2&amp;amp;px=999" role="button" title="009.PNG" alt="009.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Installed Client components on the edge-node can be seen in the CLI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="008.PNG" style="width: 991px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25999i78D67B57524769E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="008.PNG" alt="008.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I chose to install all the &lt;STRONG&gt;clients&lt;/STRONG&gt;&amp;nbsp; on the edge node just to demo as I have already install the &lt;STRONG&gt;hive client&lt;/STRONG&gt; on the edge node&amp;nbsp; without any special setup I can now launch the hive HQL&amp;nbsp; on the master &lt;STRONG&gt;Tokyo &lt;/STRONG&gt;from the &lt;STRONG&gt;edge node&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="010.PNG" style="width: 919px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26002i91797B5052F5F9A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="010.PNG" alt="010.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;After installing the spark client on the &lt;STRONG&gt;edge node&lt;/STRONG&gt; I can now also launch the &lt;STRONG&gt;spark-shell&amp;nbsp;&lt;/STRONG&gt; from the edge node&amp;nbsp;and run any spark code, so this demonstrates that you can create any user on the edge node and he /she can rive &lt;STRONG&gt;Hive&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;HQL&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;SPARK SQL&lt;/STRONG&gt;&amp;nbsp; or &lt;STRONG&gt;PIG&lt;/STRONG&gt; script. You will notice I didn't update the&amp;nbsp; HDFS , YARN, MAPRED,HIVE&amp;nbsp; configurations it was automatically done by Ambari during the installation it copied over to the edge node the correct conf files !!&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;asmarz&lt;/STRONG&gt; user from the &lt;STRONG&gt;edge node&lt;/STRONG&gt; can also acess &lt;STRONG&gt;HDFS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="011.PNG" style="width: 811px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26003i90BFB4881DF1796F/image-size/large?v=v2&amp;amp;px=999" role="button" title="011.PNG" alt="011.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now as user asmarz&amp;nbsp; I have launched a spark-submit job&amp;nbsp; from the edge node&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="013.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26018iAE605C7FFE5B64F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="013.PNG" alt="013.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The launch is successful on the master Tokyo&amp;nbsp; see Resource Manager URL, that can be confirmed&amp;nbsp; in the RM UI&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="012.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26019iB9EF4E9B2B80D8C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="012.PNG" alt="012.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This walkthrough validates that any user on the edge node can launch a job in the cluster this poses a security problem in production hence my earlier hint of Kerberos.&lt;BR /&gt;Having said that&amp;nbsp; you will realize I didn't&amp;nbsp; do any special configuration&amp;nbsp; after the client installation because Ambari distributes the correct configuration of all the component&amp;nbsp; and it does that for every installation of a new component that's the reason&amp;nbsp; Ambari is a management tool&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this walkthrough answers your question, please do accept the answer and close the thread.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Happy hadooping&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2020 02:06:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-a-second-user-on-hadoop-cluster/m-p/287424#M213023</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2020-01-11T02:06:47Z</dc:date>
    </item>
  </channel>
</rss>

