Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Not able to add view permission to local user for Capacity Scheduler and Files View

Not able to add view permission to local user for Capacity Scheduler and Files View

Contributor

Hello,

I have created a local user in Ambari 2.5.0.3. But gets below error while setting the view permission.

screen-shot-2017-06-10-at-54808-pm.png

below are ambari server logs.

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545}
span.Apple-tab-span {white-space:pre}
 ERROR [ambari-client-thread-24696] ContainerResponse:419 - The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
java.util.NoSuchElementException
	at java.util.Collections$EmptyIterator.next(Collections.java:4189)
	at org.apache.ambari.server.controller.internal.PrivilegeResourceProvider$3.invoke(PrivilegeResourceProvider.java:484)
	at org.apache.ambari.server.controller.internal.PrivilegeResourceProvider$3.invoke(PrivilegeResourceProvider.java:477)
	at org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:455)
	at org.apache.ambari.server.controller.internal.AbstractResourceProvider.modifyResources(AbstractResourceProvider.java:336)
	at org.apache.ambari.server.controller.internal.Privile
….

	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
	at java.lang.Thread.run(Thread.java:745)
10 Jun 2017 12:18:01,950  WARN [ambari-client-thread-24696] ServletHandler:561 - Error Processing URI: /api/v1/views/CAPACITY-SCHEDULER/versions/1.0.0/instances/AUTO_CS_INSTANCE/privileges - (java.util.NoSuchElementException) null

10 Jun 2017 12:18:01,950  WARN [ambari-client-thread-24696] ServletHandler:561 - Error Processing URI: /api/v1/views/CAPACITY-SCHEDULER/versions/1.0.0/instances/AUTO_CS_INSTANCE/privileges - (java.util.NoSuchElementException) null

Can someone help me?

Don't have an account?
Coming from Hortonworks? Activate your account here