<?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: Ambari 2.2.2 ranger installation failed @ step 6 with &amp;quot;server error&amp;quot; message. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157696#M28995</link>
    <description>&lt;P&gt;Usually these sort of problems indicate a deeper Ambari problem. Most likely if you try to add any service, it would fail. Would recommend restoring your Ambari db backup or contacting support in such scenarios.&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2016 03:23:42 GMT</pubDate>
    <dc:creator>abajwa</dc:creator>
    <dc:date>2016-05-20T03:23:42Z</dc:date>
    <item>
      <title>Ambari 2.2.2 ranger installation failed @ step 6 with "server error" message.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157692#M28991</link>
      <description>&lt;P&gt;I'm re-installing Ranger. I deleted the previous install using ambari-api. But, now I'm seeing this issue:  @ step 6 with "server error" message and then Ambari hangs.
here is another similar HCC case with no resolution:  &lt;A href="https://community.hortonworks.com/questions/2862/ambari-212-ranger-installation-failed-api-delete-a.html" target="_blank"&gt;https://community.hortonworks.com/questions/2862/ambari-212-ranger-installation-failed-api-delete-a.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;At the same time, if I try to upgrade the cluster to 2.4 after deleting Ranger, it is also failing. It throws mising pre-main class error for one of the Ranger jars (though ranger has been deleted completely). &lt;/P&gt;&lt;P&gt;As per log this statement is failing while writing ambari DB:&lt;/P&gt;&lt;PRE&gt;INSERT INTO serviceconfigmapping (config_id, service_config_id) VALUES (22, 240) was aborted&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 May 2016 23:47:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157692#M28991</guid>
      <dc:creator>manish1</dc:creator>
      <dc:date>2016-05-19T23:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.2.2 ranger installation failed @ step 6 with "server error" message.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157693#M28992</link>
      <description>&lt;P&gt;Have you followed the steps outlined by Neeraj to cleanup DB ?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 01:54:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157693#M28992</guid>
      <dc:creator>bganesan</dc:creator>
      <dc:date>2016-05-20T01:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.2.2 ranger installation failed @ step 6 with "server error" message.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157694#M28993</link>
      <description>&lt;P&gt;Here is ambari-server log: &lt;/P&gt;&lt;PRE&gt;19 May 2016 14:29:37,414  INFO [qtp-ambari-client-26] StackAdvisorRunner:71 -     advisor script stderr:
19 May 2016 14:30:10,741  INFO [qtp-ambari-client-69] AmbariManagementControllerImpl:1355 - Received a updateCluster request, clusterId=2, clusterName=DEVHDPCLST, securityType=null, request={ clusterName=DEVHDPCLST, clusterId=2, provisioningState=null, securityType=null, stackVersion=HDP-2.2, desired_scv=null, hosts=[] }
19 May 2016 14:30:10,758  INFO [qtp-ambari-client-69] AmbariManagementControllerImpl:1474 - Applying configuration with tag 'version1463686209068' to cluster 'DEVHDPCLST'  for configuration type hbase-env
19 May 2016 14:30:10,880  INFO [qtp-ambari-client-69] AmbariManagementControllerImpl:1474 - Applying configuration with tag 'version1463686209070' to cluster 'DEVHDPCLST'  for configuration type hbase-site
19 May 2016 14:30:11,027  INFO [qtp-ambari-client-69] AmbariManagementControllerImpl:1474 - Applying configuration with tag 'version1463686209072' to cluster 'DEVHDPCLST'  for configuration type ranger-hbase-plugin-properties
19 May 2016 14:30:11,392 ERROR [qtp-ambari-client-69] AmbariJpaLocalTxnInterceptor:180 - [DETAILED ERROR] Rollback reason:
Local Exception Stack:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.BatchUpdateException: Batch entry 3 INSERT INTO serviceconfigmapping (config_id, service_config_id) VALUES (22, 240) was aborted.  Call getNextException to see the cause.
Error Code: 0
Call: INSERT INTO serviceconfigmapping (config_id, service_config_id) VALUES (?, ?)
        bind =&amp;gt; [2 parameters bound]
        at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:340)
        at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.processExceptionForCommError(DatabaseAccessor.java:1620)
        at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeJDK12BatchStatement(DatabaseAccessor.java:926)
        at org.eclipse.persistence.internal.databaseaccess.ParameterizedSQLBatchWritingMechanism.executeBatch(ParameterizedSQLBatchWritingMechanism.java:179)
        at org.eclipse.persistence.internal.databaseaccess.ParameterizedSQLBatchWritingMechanism.executeBatchedStatements(ParameterizedSQLBatchWritingMechanism.java:134)
        at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.writesCompleted(DatabaseAccessor.java:1845)
        at org.eclipse.persistence.internal.sessions.AbstractSession.writesCompleted(AbstractSession.java:4300)
        at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.writesCompleted(UnitOfWorkImpl.java:5592)
        at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.acquireWriteLocks(UnitOfWorkImpl.java:1646)
        at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitTransactionAfterWriteChanges(UnitOfWorkImpl.java:1614)
        at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.commitRootUnitOfWork(RepeatableWriteUnitOfWork.java:285)
        at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitAndResume(UnitOfWorkImpl.java:1169)
        at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:134)
        at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:153)
        at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72)
        at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:52)
        at org.apache.ambari.server.state.cluster.ClusterImpl$$EnhancerByGuice$$90de4d20.applyConfigs(&amp;lt;generated&amp;gt;)
        at org.apache.ambari.server.state.cluster.ClusterImpl.addDesiredConfig(ClusterImpl.java:2282)
        at org.apache.ambari.server.controller.AmbariManagementControllerImpl.updateCluster(AmbariManagementControllerImpl.java:1488)


&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 May 2016 02:33:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157694#M28993</guid>
      <dc:creator>manish1</dc:creator>
      <dc:date>2016-05-20T02:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.2.2 ranger installation failed @ step 6 with "server error" message.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157695#M28994</link>
      <description>&lt;P&gt;yes, of course. But, it did not help the previous post and as well as me.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 02:34:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157695#M28994</guid>
      <dc:creator>manish1</dc:creator>
      <dc:date>2016-05-20T02:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.2.2 ranger installation failed @ step 6 with "server error" message.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157696#M28995</link>
      <description>&lt;P&gt;Usually these sort of problems indicate a deeper Ambari problem. Most likely if you try to add any service, it would fail. Would recommend restoring your Ambari db backup or contacting support in such scenarios.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 03:23:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-2-2-ranger-installation-failed-step-6-with-quot/m-p/157696#M28995</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2016-05-20T03:23:42Z</dc:date>
    </item>
  </channel>
</rss>

