Member since
02-10-2017
22
Posts
1
Kudos Received
0
Solutions
08-15-2018
12:21 PM
@Jay Kumar SenSharma In my case, when I experienced the error it was because my ambari database user did not have any privileges on the ambari database. (Postgresql 9.5) I added the ambari role to postgres role and it worked.
... View more
02-15-2017
07:25 PM
I verified the log file and got the following error message: 15 Feb 2017 19:23:32,044 ERROR [main] 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: org.postgresql.util.PSQLException: ERROR: could not read block 0 of relation base/16384/16567: read only 0 of 8192 bytes
Error Code: 0
Call: SELECT cluster_id, current_cluster_state, current_stack_id FROM clusterstate WHERE (cluster_id = ?)
bind => [1 parameter bound]
Query: ReadObjectQuery(name="clusterStateEntity" referenceClass=ClusterStateEntity )
... View more
02-27-2017
08:43 PM
@Manish Anand it could be that in trying to re-run the ambari-server install you inadvertantly corrupted the postgreSQL database that was part of the Sandbox. It makes more sense to blow this away and reimport the Sandbox image rather than try and troubleshoot the problem.
... View more