Member since
β11-07-2019
71
Posts
1
Kudos Received
0
Solutions
β01-10-2020
08:13 AM
Thank you again!! 1) I have installed these client on my edge node π 2) For instance, we decide that the cluster is not configured with kerberos 3) Actually, I want that end users could submit spark-shell π 4) For this , I created a local user called "sparkuser" on the edge node 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 their scripts but I don't 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 π Many thanks for your help and patience Asma
... View more
β01-10-2020
06:25 AM
In a nutshell, you don't need a Master process the edge node but Client to initiate communication with the Cluster => Actually this is my question π 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?? spark-sumbit --master spark://edgenode:7077 calculPi.jar? All that I need for now that the end users could execute their scripts spark or Python ... from their side, how could we do this? do they need to access the edge server? Thanks Asma
... View more
β01-10-2020
02:17 AM
Thank you for your reply π I will explain my actual situation. I have installed Hadoop Cluster using ambari HortonWorks. 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) 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) but they will have to launch scripts (spark-sumbit). How can I create accounts for them? How could they access the edge node ? Thanks Asma
... View more
β01-09-2020
06:38 AM
Is it possible to add a second user on hadoop cluster like the spark user?
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Spark
β11-21-2019
06:31 AM
Hello Community,
I have installed a cluster with ambari hortonworks.
I specified a spark server and spark nodes
when I launch this command it is working
/usr/hdp/3.1.4.0-315/spark2/bin/spark-shell --master yarn --deploy-mode client --jars /usr/hdp/3.1.4.0-315/spark2/examples/jars/spark-examples_2.11-2.3.2.3.1.4.0-315.jar
However wjeb I change the cluster mode
/usr/hdp/3.1.4.0-315/spark2/bin/spark-shell --master yarn --deploy-mode cluster --jars /usr/hdp/3.1.4.0-315/spark2/examples/jars/spark-examples_2.11-2.3.2.3.1.4.0-315.jar Error: Cluster deploy mode is not applicable to Spark shells. Run with --help for usage help or --verbose for debug output
Should be something wrong with my conf?
Thanks and Regards
Asma
... View more
Labels:
β11-20-2019
06:11 AM
Thank you for your reply I tried to reinstall the oozie client and server ( I have one server and 4 clients machines) It has been installed on the server and one of client but failed for the 3 other with : Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stack-hooks/after-INSTALL/scripts/hook.py", line 39, in <module> AfterInstallHook().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute method(env) File "/var/lib/ambari-agent/cache/stack-hooks/after-INSTALL/scripts/hook.py", line 32, in hook setup_stack_symlinks(self.stroutfile) File "/var/lib/ambari-agent/cache/stack-hooks/after-INSTALL/scripts/shared_initialization.py", line 66, in setup_stack_symlinks stack_select.select(package, json_version) File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 312, in select Execute(command, sudo=True) File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__ self.env.run() File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 263, in action_run returns=self.resource.returns) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner result = function(command, **kwargs) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy, returns=returns) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed: Execution of 'ambari-python-wrap /usr/bin/hdp-select set oozie-client 3.1.4.0-315' returned 1. symlink target /usr/hdp/current/oozie-client for oozie already exists and it is not a symlink. Any idea please? Thanks and Regards
... View more
β11-19-2019
06:08 AM
Hello
I get this error when restarting components :
500 status code received on POST method for API: /api/v1/clusters/Analytics_Hadoop/requests
I deleted oozie service
I am using postegres database
Thank you in advance
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
-
Apache Oozie
β11-13-2019
09:00 AM
Should be the noexec ?
... View more
β11-13-2019
02:35 AM
on all servers i have this π [root@luapp698 tmp]# grep run_as /etc/ambari-agent/conf/ambari-agent.ini run_as_user=root [root@luapp698 tmp]# ^C [root@luapp698 tmp]# ambari-agent start bash: /var/lib/ambari-agent/bin/ambari-agent: Permission denied
... View more
β11-13-2019
02:09 AM
yes it is the case grep run_as /etc/ambari-agent/conf/ambari-agent.ini run_as_user=root and [root@server tmp]# ambari-agent start bash: /var/lib/ambari-agent/bin/ambari-agent: Permission denied i am with a root user ..
... View more
- « Previous
-
- 1
- 2
- Next »