<?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: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192773#M154837</link>
    <description>@&lt;A href="https://community.hortonworks.com/users/1271/sheltong.html"&gt;Geoffrey Shelton Okot&lt;/A&gt; &lt;P&gt;I do the changes in conf files and run that code again, but it will give the same error. Can you give me working example?. Which connect to the oozie and get data from it with kerberos authentication. I think something is missing in the code, So I don't know what!  &lt;/P&gt;</description>
    <pubDate>Mon, 09 Apr 2018 13:36:44 GMT</pubDate>
    <dc:creator>chiku</dc:creator>
    <dc:date>2018-04-09T13:36:44Z</dc:date>
    <item>
      <title>I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192755#M154819</link>
      <description>&lt;P&gt;In my project, I was using the Oozie Client API. But for Kerberised authentication, I was using AuthOozieClient to authenticate a user to access Oozie, but I getting error &lt;/P&gt;&lt;P&gt;org.ietf.jgss.GSSException: Invalid name provided (Mechanism level: KrbException: Cannot locate default realm) at sun.security.jgss.krb5.Krb5NameElement.getInstance(Krb5NameElement.java:129) ~[na:1.8.0_144] at sun.security.jgss.krb5.Krb5MechFactory.getNameElement(Krb5MechFactory.java:95) ~[na:1.8.0_144] at sun.security.jgss.GSSManagerImpl.getNameElement(GSSManagerImpl.java:203) ~[na:1.8.0_144] at sun.security.jgss.GSSNameImpl.getElement(GSSNameImpl.java:477) ~[na:1.8.0_144] at sun.security.jgss.GSSNameImpl.init(GSSNameImpl.java:201) ~[na:1.8.0_144] at sun.security.jgss.GSSNameImpl.&amp;lt;init&amp;gt;(GSSNameImpl.java:170) ~[na:1.8.0_144] at sun.security.jgss.GSSNameImpl.&amp;lt;init&amp;gt;(GSSNameImpl.java:151) ~[na:1.8.0_144] at sun.security.jgss.GSSManagerImpl.createName(GSSManagerImpl.java:128) ~[na:1.8.0_144] at org.apache.hadoop.security.authentication.client.KerberosAuthenticator$1.run(KerberosAuthenticator.java:297) ~[hadoop-auth-2.7.3.jar:na] at org.apache.hadoop.security.authentication.client.KerberosAuthenticator$1.run(KerberosAuthenticator.java:287) ~[hadoop-auth-2.7.3.jar:na] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_144] at javax.security.auth.Subject.doAs(Subject.java:422) ~[na:1.8.0_144] at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.doSpnegoSequence(KerberosAuthenticator.java:287) ~[hadoop-auth-2.7.3.jar:na] at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:205) ~[hadoop-auth-2.7.3.jar:na] at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:215) ~[hadoop-auth-2.7.3.jar:na] at org.apache.oozie.client.AuthOozieClient.createConnection(AuthOozieClient.java:128) ~[oozie-client-4.1.0.jar:4.1.0] at org.apache.oozie.client.OozieClient$1.doExecute(OozieClient.java:461) ~[oozie-client-4.1.0.jar:4.1.0] at org.apache.oozie.client.retry.ConnectionRetriableClient.execute(ConnectionRetriableClient.java:44) ~[oozie-client-4.1.0.jar:4.1.0] at org.apache.oozie.client.OozieClient.createRetryableConnection(OozieClient.java:458) ~[oozie-client-4.1.0.jar:4.1.0] at org.apache.oozie.client.OozieClient.getSupportedProtocolVersions(OozieClient.java:338) ~[oozie-client-4.1.0.jar:4.1.0] at org.apache.oozie.client.OozieClient.validateWSVersion(OozieClient.java:298) ~[oozie-client-4.1.0.jar:4.1.0] at org.apache.oozie.client.OozieClient.createURL(OozieClient.java:413) ~[oozie-client-4.1.0.jar:4.1.0] at org.apache.oozie.client.OozieClient.access$000(OozieClient.java:76) ~[oozie-client-4.1.0.jar:4.1.0] at org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:509) ~[oozie-client-4.1.0.jar:4.1.0] at org.apache.oozie.client.OozieClient.getCoordJobInfo(OozieClient.java:1246) ~[oozie-client-4.1.0.jar:4.1.0] at com.oi.hermes.scheduler.service.DashboardManagerService.getOozieCoordWorkflows(DashboardManagerService.java:67) ~[classes/:na] at com.oi.hermes.scheduler.controller.HermesJobController.getAllWorkFlowInfo(HermesJobController.java:106) ~[classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_144] at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.5.14.jar:8.5.14] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) ~[tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861) [tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) [tomcat-embed-core-8.5.14.jar:8.5.14] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.14.jar:8.5.14] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_144] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.14.jar:8.5.14] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_144]&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here is my Java code :&lt;/P&gt;&lt;P&gt;public List&amp;lt;CoordinatorExecutions&amp;gt; getOozieCoordWorkflows(String scheduleId) throws OozieClientException { InsertScheduleCoordinatorInfo scheduleCoordinatiorInfo = new InsertScheduleCoordinatorInfo(); scheduleCoordinatiorInfo = scheduleWorkflowInfoRepository.findOne(UUID.fromString(scheduleId)); String coordIdString = scheduleCoordinatiorInfo.getCoordinatorId(); AuthOozieClient wc=new AuthOozieClient(oozieUrl); CoordinatorJob coordinatorJob = wc.getCoordJobInfo(coordIdString); WorkflowJob workflowJob; List&amp;lt;CoordinatorAction&amp;gt; action = coordinatorJob.getActions(); CoordinatorExecutions coordinatorExecutions = null; List&amp;lt;CoordinatorExecutions&amp;gt; executionsList = new ArrayList&amp;lt;CoordinatorExecutions&amp;gt;(); for (CoordinatorAction coordinatorAction : action) { coordinatorExecutions = new CoordinatorExecutions(); coordinatorExecutions.setId(coordinatorAction.getId()); coordinatorExecutions.setStatus(coordinatorAction.getStatus().toString()); LOGGER.info(coordinatorAction.getExternalId()); workflowJob = wc.getJobInfo(coordinatorAction.getExternalId()); coordinatorExecutions.setCreatedTime(workflowJob.getStartTime().toString()); if (workflowJob.getEndTime() != null) { coordinatorExecutions.setLastModifiedTime(workflowJob.getEndTime().toString()); } else { coordinatorExecutions.setLastModifiedTime(""); } executionsList.add(coordinatorExecutions); } return executionsList; }&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:01:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192755#M154819</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2022-09-16T13:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192756#M154820</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/70506/dineshjadhav.html" nodeid="70506"&gt;@Dinesh Jadhav&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Could you please share few more details how you are running this project and what all system properties you are passing i.e kerberos configurations (Like conf, Principal name, login credential etc ) while executing project?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 13:34:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192756#M154820</guid>
      <dc:creator>schhabra1</dc:creator>
      <dc:date>2018-03-27T13:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192757#M154821</link>
      <description>&lt;P&gt;I run my spring boot APP as a service on the cluster, And I don't know what are the Kerberos configurations we should give and where. I used the only AuthOozieClient wc=new AuthOozieClient(oozieClientUrl); class for authenticate user.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 14:21:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192757#M154821</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-03-27T14:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192758#M154822</link>
      <description>&lt;P&gt;Can you give me all the steps required for Kerberos configuration Over oozie&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 14:23:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192758#M154822</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-03-27T14:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192759#M154823</link>
      <description>&lt;P&gt;@Dinesh Jadhav&lt;/P&gt;&lt;P&gt; I can try to setup sample Spring boot application which submit oozie job and let you know. If you can attach your project code, It would be easier for me to check.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 15:51:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192759#M154823</guid>
      <dc:creator>schhabra1</dc:creator>
      <dc:date>2018-03-27T15:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192760#M154824</link>
      <description>&lt;P&gt;can you give me your mail id?, I will mail you sample project because the file size is large &lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 17:26:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192760#M154824</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-03-27T17:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192761#M154825</link>
      <description>&lt;P&gt;Click here to see my code &lt;A href="https://github.com/dineshjadhav-oi/Oozie-User-Authentication" target="_blank"&gt;https://github.com/dineshjadhav-oi/Oozie-User-Authentication&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 18:47:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192761#M154825</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-03-27T18:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192762#M154826</link>
      <description>&lt;P&gt;Thanks for details. I will check and let you know.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 18:59:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192762#M154826</guid>
      <dc:creator>schhabra1</dc:creator>
      <dc:date>2018-03-27T18:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192763#M154827</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/70506/dineshjadhav.html" nodeid="70506"&gt;@Dinesh Jadhav&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;First, you should try using this constructor:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;newAuthOozieClient("http://localhost:12000/oozie", "KERBEROS");&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Also make sure that you ran &lt;EM&gt;kinit&lt;/EM&gt; command before running Spring application.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 20:15:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192763#M154827</guid>
      <dc:creator>dbodo</dc:creator>
      <dc:date>2018-03-27T20:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192764#M154828</link>
      <description>&lt;P&gt;I tried that code but the job is not submitted. &lt;/P&gt;&lt;P&gt;Here is the stack trace:&lt;/P&gt;&lt;P&gt;2018-03-27 14:01:19.340  WARN 16410 --- [nio-8084-exec-6] o.a.h.h.s.DomainSocketFactory            : The short-circuit local reads feature cannot be used because libhadoop cannot be loaded.
org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled.  Available:[TOKEN, KERBEROS]&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 21:11:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192764#M154828</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-03-27T21:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192765#M154829</link>
      <description>&lt;P&gt;Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): SIMPLE authentication is not enabled.  Available:[TOKEN, KERBEROS]&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 21:12:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192765#M154829</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-03-27T21:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192766#M154830</link>
      <description>&lt;P&gt;Actually, I want it to handle by the application. So I don't want to run kinit command.&lt;/P&gt;&lt;P&gt;so I added one class to project on GitHub. It will create a config file with given properties. and return back HTTP response with Authentication. So go through it and let me know its useful or not. if yes how?. &lt;A href="https://github.com/dineshjadhav-oi/Oozie-User-Authentication"&gt;https://github.com/dineshjadhav-oi/Oozie-User-Authentication&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 19:58:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192766#M154830</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-03-28T19:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192767#M154831</link>
      <description>&lt;P&gt;I ran the kinit command before launch application but it will shows following error:&lt;/P&gt;&lt;P&gt;IO_ERROR : java.io.IOException: Error while connecting Oozie server. No of retries = 1. Exception = Could not authenticate, GSSException: No valid credent              ials provided (Mechanism level: Server not found in Kerberos database (7) - LOOKING_UP_SERVER) &lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 21:03:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192767#M154831</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-03-28T21:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192768#M154832</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/70506/dineshjadhav.html"&gt;Dinesh Jadhav&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you paste the content of the following file you can scramble the REALM and other sensitive info:&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;- kinit command 
- krb5.conf
- kdc.conf
- kadm5.acl&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Make sure that you have a local copy of krb5.conf on  all hosts and that the &lt;STRONG&gt;kadmin&lt;/STRONG&gt; is up and running&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 21:45:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192768#M154832</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-03-28T21:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192769#M154833</link>
      <description>&lt;P&gt;Sorry I cant provide you conf files. So if you send me to sample conf files then I can compare them with my config files.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 20:08:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192769#M154833</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-04-04T20:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192770#M154834</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/1271/sheltong.html"&gt;Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Can you please send me sample configuration files.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 13:55:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192770#M154834</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-04-05T13:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192771#M154835</link>
      <description>&lt;P&gt;Hi @&lt;A href="https://community.hortonworks.com/users/1271/sheltong.html"&gt;Geoffrey Shelton Okot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I attached a text file which has all config files here - &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/67516-kerberos-config.txt"&gt;kerberos-config.txt&lt;/A&gt;. So you can check it and let me know.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 16:35:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192771#M154835</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-04-05T16:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192772#M154836</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/70506/dineshjadhav.html"&gt;&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/70506/dineshjadhav.html"&gt;Dinesh Jadhav&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;There were a couple of errors in the kdc.conf,krb5.conf  and kadm5.acl. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please see the attached files. I would first ask you to backup your current kdc,krb5 and kadm5.acl files.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have tried to separate the config files with --------&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please let me know if you have well understood if you need clarifications don't hesitate&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 18:18:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192772#M154836</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-05T18:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192773#M154837</link>
      <description>@&lt;A href="https://community.hortonworks.com/users/1271/sheltong.html"&gt;Geoffrey Shelton Okot&lt;/A&gt; &lt;P&gt;I do the changes in conf files and run that code again, but it will give the same error. Can you give me working example?. Which connect to the oozie and get data from it with kerberos authentication. I think something is missing in the code, So I don't know what!  &lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 13:36:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192773#M154837</guid>
      <dc:creator>chiku</dc:creator>
      <dc:date>2018-04-09T13:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: I got this Error : Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)  while submit workflow to oozie</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192774#M154838</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Dinesh Jadhav"&gt; @Dinesh Jadhav&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Okay lets first eliminate the Kerberos error can you attach your current files below&lt;/EM&gt;&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;EM&gt;- krb5.conf&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;EM&gt;- kdc.conf&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;EM&gt;- kadm5.acl&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;EM&gt;Can you also run as root on the kdc server and see if you get any output&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;# kadmin.local &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Then look at this oozie &lt;A href="https://community.hortonworks.com/articles/57575/oozie-kerberized-java-action-to-query-hiveserver2.html" target="_blank"&gt; config for kerberos&lt;/A&gt; &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 14:56:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-got-this-Error-Invalid-name-provided-Mechanism-level/m-p/192774#M154838</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-09T14:56:19Z</dc:date>
    </item>
  </channel>
</rss>

