Once the Proxy Agents certificate is accepted your browser redirects you to

Once the proxy agents certificate is accepted your

This preview shows page 261 - 263 out of 395 pages.

Once the Proxy Agent’s certificate is accepted, your browser redirects you to your Identity Provider (IdP) to authenticate. Once authenticated, you will be redirected to Zeppelin. Creating your first Zeppelin Notebook To get started, create a new Notebook by selecting Notebook , Create new note . Give your Notebook a name and use the default livy interpreter. To see a list of Lake Formation databases, use the following Spark SQL command. 255
Image of page 261
Amazon EMR Management Guide Launch an Amazon EMR Cluster with Lake Formation spark.sql("show databases").show() To query a specific Lake Formation table, use the following Spark SQL command. Replace database.table with actual databases and tables in Lake Formation: spark.sql("SELECT * FROM database.table limit 10").show() EMR Notebooks EMR notebooks can be created using the Amazon EMR console and used with an existing EMR cluster integrated with Lake Formation. To create an EMR notebook 1. Open the Amazon EMR console at . 2. Choose Notebooks , Create notebook . 3. Enter a Notebook name and an optional Notebook description . 4. Select Choose an existing cluster , and then Choose . 5. Select an existing EMR cluster integrated with Lake Formation. 6. Select Create notebook to create the notebook. Once the Notebook has been created, select the notebook and click Open . You will be redirected to the Proxy Agent on the Amazon EMR cluster. Once you’ve accepted the Proxy Agent’s certificate, your browser will redirect you to your Identity Provider (IdP) to authenticate. Once authenticated, you will be redirected to the EMR notebook. For more information, see Using Amazon EMR Notebooks in the Amazon EMR Management Guide . Customize Proxy Agent Certificate The proxy agent uses a self-signed Transport Layer Security (TLS) certificate by default. To use a custom certificate for the proxy agent, you must first obtain a certificate, certificate chain, and private key from your certificate authority. With those items, a PKCS12 file will be used to protect the key material so it can be imported into the proxy agent’s key store. The proxy agent is based on Apache Knox. You can replace the default certificate with your custom certificate using the following steps. In the following steps, replace MasterPublicDNS with the value that appears for Master public DNS on the Summary tab of the cluster details pane. For example, ec2-11-222-33-44.compute-1.amazonaws.com . 1. To create a PKCS12 file from your certificate, certificate chain, and private key, run the following command on a host with the certificate files, and openssl installed. openssl pkcs12 -export -out proxy_agent_certificate.pfx -inkey private.key - in certificate.cer -certfile certchain.cer 2. Copy the proxy_agent_certificate.pfx file to the /home/hadoop directory on the master node of your cluster.
Image of page 262
Image of page 263

You've reached the end of your free preview.

Want to read all 395 pages?

  • Spring '12
  • LauraParker
  • Amazon Web Services, Amazon Elastic Compute Cloud

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors