Server Credential file “cred_v2” will be created if server credential was added to SAPSSLS.pse file manually and using sapgenpse seclogin command manually.įAQ: Can we copy the SAPSSLS.pse file generated from the previous system or system with different customer to my system and then restart webdispatcher instance. Summary :Ĭredential file cred_v2” will be NOT be added if the system generate SAPSSLS.pseįile (automatically) during starting the web dispatcher instance. where xx is the instance number for web dispatcher.Ĭredential file cred_v2 highlighted in red colour as shown in the above screenshot is generated in /usr/sap//W80/sec folder. Open the browser for web dispatcher admin Was added to to SAPSSLS.pse certificate file That means certificate file SAPSSLS.pse was generated successfully and Server credential Īs shown in the above screenshot, there was no error message after starting the webdispatcher Then go to work folder and view the dev_webdisp file. The output should show the status as Green. Run the command to verify whether SAPSSLS.pse file is getting error or not ?Īs shown in the above, Server credential was successfully added to SAPSSLS.pse certificate file.Ĭheck whether Web dispatcher instance is started. $ sapgenpse seclogin -p SAPSSLS.pse (if -O option is not specified then by default it is
RUN 8 V2 EXTERNAL DISPATCHER WINDOWS
$ sapgenpse seclogin -p SAPSSLS.pse -O adm (for unix) or for windows -O The command to add server credential is as shown below Procedure to add server credential: So it seemed that server credential was not added But We have specified pin -x Abcdef_123 in the command sapgenpse get_pse -s 2048 command (mentionedĪbove). The above error says that either pin is missing or server credentials not added. Get_my_name: Couldn’t open PSE “/usr/sap//W80/sec/SAPSSLS.pse” (Missing PIN/Passphrase, no credentials found) $ sapgenpse get_my_name -p /usr/sap//W80/sec/SAPSSLS.pse Run the command to verify whether server credential was added SAPSSLS.pse file or not ? (if -s option is not specified then default value 1024 is taken )Īs shown in the figure above, certificate file SAPSSLS.pse file was generated and is located in $SECUDIR folder as shown in the figure below. Where hostname can be physical hostname or virtual hostname. $ sapgenpse get_pse -s 2048 -p SAPSSLS.pse -x Abcdef_123 “CN=. Run the command to generate certificate SAPSSLS.pse file Make sure delete or rename existing SAPSSLS.pse file in /usr/sap//W80/sec
Else, it will throw/print a text with the URLs value, as. On the off chance that there is the possibility to dispatch the URL, just the url is launch by calling the launch() work with url variable as a trait. Implementation: Step 1: Add the dependencies. $ pwd (check that t the current working directly or folder ). It shows open URLs in the external browser and In-app. The output should show the status as grey $ sapcontrol -nr 80 -function GetProcessList This article describe the procedure for generating SAPSSLS.pse file manually for Web dispatcherĮnter environment variable SECUDIR that points to the path where SAPSSLS.pse file will be residedĬheck whether Web dispatcher instance is stopped. > 240 raise LivyUnexpectedStatusException(u''.format(error, self.In the previous article, “Web dispatcher up and running but unable to access webadmin in browserįor web dispatcher URL – Part 1, described the procedure to generate SAPSSLS certificate fileĪutomatically and add credential to PSE file automatically. opt/conda/lib/python3.5/site-packages/sparkmagic/livyclientlib/livysession.py in wait_for_idle(self, seconds_to_wait) opt/conda/lib/python3.5/site-packages/sparkmagic/livyclientlib/command.py in execute(self, session)ģ3 response = session.http_client.post_statement(session.id, data) > 150 (success, out) = command.execute(self)ġ52 self.ipython_display.writeln(u"SparkContext available as 'sc'.")
opt/conda/lib/python3.5/site-packages/sparkmagic/livyclientlib/livysession.py in start(self) opt/conda/lib/python3.5/site-packages/sparkmagic/livyclientlib/sparkcontroller.py in add_session(self, name, endpoint, skip_if_exists, properties)ħ9 session = self._livy_session(http_client, properties, self.ipython_display)Ĩ0 ssion_manager.add_session(name, session)Ĩ3 def get_session_id_for_client(self, name): > 58 self.spark_controller.add_session(alias, endpoint, skip, properties)Ħ0 self.ipython_nd_error("""Could not add session with opt/conda/lib/python3.5/site-packages/sparkmagic/controllerwidget/createsessionwidget.py in run(self) opt/conda/lib/python3.5/site-packages/hdijupyterutils/ipywidgetfactory.py in submit_clicked(self, button) LivyUnexpectedStatusException Traceback (most recent call last)
RUN 8 V2 EXTERNAL DISPATCHER DRIVER
ID YARN Application ID Kind State Spark UI Driver log Current session? Added endpoint Starting Spark application
I have set up a jupyter Python3 notetebook and have Spark Magic installed and have followed the nessesary instructions to connect Spark Magic to Livy although When I create my session I get an error message from the notebook. I have livy running beside the Spark master.