<?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: Ranger edit policy problem in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126453#M51434</link>
    <description>&lt;P&gt;Error occured in catalina.out :&lt;/P&gt;&lt;P&gt;SEVERE: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container java.lang.OutOfMemoryError: Java heap space at java.util.IdentityHashMap.resize(IdentityHashMap.java:471) at java.util.IdentityHashMap.put(IdentityHashMap.java:440) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.calculateChanges(UnitOfWorkImpl.java:680) at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.writeChanges(RepeatableWriteUnitOfWork.java:438) at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:863) at org.eclipse.persistence.internal.jpa.QueryImpl.performPreQueryFlush(QueryImpl.java:963) at org.eclipse.persistence.internal.jpa.QueryImpl.executeReadQuery(QueryImpl.java:207) at org.eclipse.persistence.internal.jpa.QueryImpl.getResultList(QueryImpl.java:469) at org.apache.ranger.common.db.BaseDao.findByNamedQuery(BaseDao.java:139) at org.apache.ranger.common.db.BaseDao.findByParentId(BaseDao.java:148) at org.apache.ranger.service.XUserService.populateUserAttributes(XUserService.java:249) at org.apache.ranger.service.XUserService.populateViewBean(XUserService.java:212) at org.apache.ranger.service.XUserService.populateViewBean(XUserService.java:51) at org.apache.ranger.service.XUserServiceBase.searchXUsers(XUserServiceBase.java:77) at org.apache.ranger.biz.XUserMgrBase.searchXUsers(XUserMgrBase.java:140) at org.apache.ranger.rest.XUserREST.searchXUsers(XUserREST.java:331) at org.apache.ranger.rest.XUserREST$FastClassByCGLIB$b2a65360.invoke(&amp;lt;generated&amp;gt;) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) at org.apache.ranger.rest.XUserREST$EnhancerByCGLIB$1aefd35b.searchXUsers(&amp;lt;generated&amp;gt;) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:168) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:70) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136) Jan 12, 2017 10:53:34 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [REST Service] in context with path [/] threw exception [java.lang.OutOfMemoryError: Java heap space] with root cause java.lang.OutOfMemoryError: Java heap space&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2017 19:36:46 GMT</pubDate>
    <dc:creator>ilhami1985</dc:creator>
    <dc:date>2017-01-12T19:36:46Z</dc:date>
    <item>
      <title>Ranger edit policy problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126450#M51431</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/11360-ranger-edit-policy-problem.png"&gt;ranger-edit-policy-problem.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/11360-ranger-edit-policy-problem.png"&gt;&lt;/A&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I have 10 policies on Hive service. When i try to edit one of them, page is hang on loading stage. I checked catalina.out, xa_portal.log, xa_portal_sql.log in rangeradmin log directory and also postgresql.log which used by ranger but i did not find any error log. &lt;/P&gt;&lt;P&gt;Do anybody have any idea? &lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:10:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126450#M51431</guid>
      <dc:creator>ilhami1985</dc:creator>
      <dc:date>2017-01-12T19:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger edit policy problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126451#M51432</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/15161/ilhami1985.html" nodeid="15161"&gt;@ilhami  Kalkan&lt;/A&gt;&lt;P&gt;How much data do you have on these policies? and most of the times it occurs  due to data load. &lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:15:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126451#M51432</guid>
      <dc:creator>dheer_vijji_rag</dc:creator>
      <dc:date>2017-01-12T19:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger edit policy problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126452#M51433</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13950/dheervijjiraghu.html" nodeid="13950"&gt;@Venkata Sudheer Kumar M&lt;/A&gt; &lt;/P&gt;&lt;P&gt;About 50 users ,several table and db names on policies. &lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:34:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126452#M51433</guid>
      <dc:creator>ilhami1985</dc:creator>
      <dc:date>2017-01-12T19:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger edit policy problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126453#M51434</link>
      <description>&lt;P&gt;Error occured in catalina.out :&lt;/P&gt;&lt;P&gt;SEVERE: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container java.lang.OutOfMemoryError: Java heap space at java.util.IdentityHashMap.resize(IdentityHashMap.java:471) at java.util.IdentityHashMap.put(IdentityHashMap.java:440) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.calculateChanges(UnitOfWorkImpl.java:680) at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.writeChanges(RepeatableWriteUnitOfWork.java:438) at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:863) at org.eclipse.persistence.internal.jpa.QueryImpl.performPreQueryFlush(QueryImpl.java:963) at org.eclipse.persistence.internal.jpa.QueryImpl.executeReadQuery(QueryImpl.java:207) at org.eclipse.persistence.internal.jpa.QueryImpl.getResultList(QueryImpl.java:469) at org.apache.ranger.common.db.BaseDao.findByNamedQuery(BaseDao.java:139) at org.apache.ranger.common.db.BaseDao.findByParentId(BaseDao.java:148) at org.apache.ranger.service.XUserService.populateUserAttributes(XUserService.java:249) at org.apache.ranger.service.XUserService.populateViewBean(XUserService.java:212) at org.apache.ranger.service.XUserService.populateViewBean(XUserService.java:51) at org.apache.ranger.service.XUserServiceBase.searchXUsers(XUserServiceBase.java:77) at org.apache.ranger.biz.XUserMgrBase.searchXUsers(XUserMgrBase.java:140) at org.apache.ranger.rest.XUserREST.searchXUsers(XUserREST.java:331) at org.apache.ranger.rest.XUserREST$FastClassByCGLIB$b2a65360.invoke(&amp;lt;generated&amp;gt;) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) at org.apache.ranger.rest.XUserREST$EnhancerByCGLIB$1aefd35b.searchXUsers(&amp;lt;generated&amp;gt;) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:168) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:70) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136) Jan 12, 2017 10:53:34 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [REST Service] in context with path [/] threw exception [java.lang.OutOfMemoryError: Java heap space] with root cause java.lang.OutOfMemoryError: Java heap space&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:36:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126453#M51434</guid>
      <dc:creator>ilhami1985</dc:creator>
      <dc:date>2017-01-12T19:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger edit policy problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126454#M51435</link>
      <description>&lt;P&gt;Can you provide ranger/HDP version details?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 13:18:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126454#M51435</guid>
      <dc:creator>ngalave</dc:creator>
      <dc:date>2017-01-13T13:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger edit policy problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126455#M51436</link>
      <description>&lt;P&gt;HDP-2.3.0.0-2557 and Ranger version is 0.5.0.2.3. Ranger runs with -XX:MaxPermSize=1024m -Xmx4096m -Xms4096m params.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 14:37:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126455#M51436</guid>
      <dc:creator>ilhami1985</dc:creator>
      <dc:date>2017-01-13T14:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger edit policy problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126456#M51437</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/15161/ilhami1985.html"&gt;&lt;IMG src="https://ip1.i.lithium.com/536472509d0135cb068a20b36024b9d2e351a012/68747470733a2f2f7365637572652e67726176617461722e636f6d2f6176617461722f64633530656136636661343933303362323531346264393736663139356263393f643d6964656e7469636f6e26723d504726733d3234" alt="avatar image" style="width: 24px;" /&gt;&lt;/A&gt;&lt;A href="https://community.hortonworks.com/users/15161/ilhami1985.html"&gt;ilhami Kalkan&lt;/A&gt;&lt;/P&gt;&lt;P&gt;what is the current heap size configured? can you increase the heap size and try again? &lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2017 06:13:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126456#M51437</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-01-14T06:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger edit policy problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126457#M51438</link>
      <description>&lt;P&gt;Ranger runs with -XX:MaxPermSize=1024m -Xmx4096m -Xms4096m params. I tried to increase heap size but it did not solve the problem.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2017 05:54:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126457#M51438</guid>
      <dc:creator>ilhami1985</dc:creator>
      <dc:date>2017-01-15T05:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger edit policy problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126458#M51439</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;I fixed it from &lt;A href="https://community.hortonworks.com/questions/24527/ranger-web-ui-is-loading-very-slow-and-policies-ta.html" target="_blank"&gt;https://community.hortonworks.com/questions/24527/ranger-web-ui-is-loading-very-slow-and-policies-ta.html&lt;/A&gt; by &lt;A rel="user" href="https://community.cloudera.com/users/218/rmani.html" nodeid="218"&gt;@Ramesh Mani&lt;/A&gt;'s answer. There are so many duplicate records in x_group_users table. &lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 23:18:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-edit-policy-problem/m-p/126458#M51439</guid>
      <dc:creator>ilhami1985</dc:creator>
      <dc:date>2017-01-18T23:18:39Z</dc:date>
    </item>
  </channel>
</rss>

