Hi Raymond, It looks like you are trying to access resources from a Spark/Hadoop cluster that are protected with Kerberos security. In Jupyter Enterprise Gateway, we enable jupyter kernels to be running remotely, direct into the Spark/YARN cluster leveraging the user impersonation capabilities of the runtime... this might help you and might provide enhanced capabilities for your use case.
Thanks On Mon, Aug 13, 2018 at 8:22 AM Raymond Xie <[email protected]> wrote: > More error encountered: > > I ran the kinit in notebook like: > > !kinit -kt ...... > and then I want to access hdfs file that the keytab has privilege. > I see this error: > > Py4JJavaError: An error occurred while calling o106.csv. > : org.apache.hadoop.security.AccessControlException: SIMPLE authentication is > not enabled. Available:[TOKEN, KERBEROS] > > > > > > > *------------------------------------------------* > *Sincerely yours,* > > > *Raymond* > > On Mon, Aug 13, 2018 at 11:17 AM, Raymond Xie <[email protected]> > wrote: > >> Hello, >> >> I need to set up a jupyter notebook environment to allow the following: >> >> 1. Authentication with Keytab - the cluster has kerberos configured so >> this is a must. >> 2. Basic security: SSL and SSO >> >> What I am currently doing is requirement 1 >> My question is in a notebook, how do I run the kinit keytab command? >> >> Thank you very much. >> >> *------------------------------------------------* >> *Sincerely yours,* >> >> >> *Raymond* >> > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/CAKZNNLK4hfG1qzv2SB-z%3DQChCmLsychyiDFaKAoagLZw4--X1w%40mail.gmail.com > <https://groups.google.com/d/msgid/jupyter/CAKZNNLK4hfG1qzv2SB-z%3DQChCmLsychyiDFaKAoagLZw4--X1w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Luciano Resende http://twitter.com/lresende1975 http://lresende.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAGU5spf-b4ZGQ7_ru-EhQtKYn%3DCOjcCi2t3AheE%3DwG8LGSi%3Dkw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
