Member since 
    
	
		
		
		08-19-2019
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                150
            
            
                Posts
            
        
                1
            
            
                Kudos Received
            
        
                0
            
            
                Solutions
            
        
			
    
	
		
		
		07-21-2020
	
		
		10:15 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 yesterday i deleted some topics in my kafka with below command     ./kafka-topics.sh — zookeeper localhost:2181 — delete — topic <topic_name>     with the configuration of     delete.topic.enable=true     after 20 hrs i checked those topics still not deleted. how can we force delete those topics. and why it will take this much time to delete the topic? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
	
	
			
    
	
		
		
		05-14-2020
	
		
		10:45 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Did you resolve the issue. what are the steps you follow. Help me with the steps 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		05-14-2020
	
		
		10:44 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 How can i unlink the conf folder. Can you tell me the command 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		02-26-2020
	
		
		04:51 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							Hi goto cd /kafka-logs under the kafka-logs goto vi meta.properties in that change broker.id=1001 to 1 then restart the kafka
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-31-2020
	
		
		02:39 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 \ZooKeeper Server Process Connection failed: Expected response imok, Actual response ruok is not executed because it is not in the whitelist. to XXXXXXXXXXX:2181 when i start zookeeper on ambari its successfully stated but service is stopped immediately. its showing above error / 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
			
	
					
			
		
	
	
	
	
				
		
	
	
- Labels:
 - 
						
							
		
			Apache Ambari
 - 
						
							
		
			Apache Zookeeper
 
			
    
	
		
		
		12-01-2019
	
		
		09:32 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 2019-12-02 10:57:06,580 ERROR [main] AmbariServer:1114 - Failed to run the Ambari Server  javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException  Internal Exception: java.sql.SQLException: Connections could not be acquired from the underlying database!  Error Code: 0  at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:815)  at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)  at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)  at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)  at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)  at com.google.inject.persist.jpa.JpaPersistService.begin(JpaPersistService.java:77)  at com.google.inject.persist.jpa.AmbariJpaPersistService.begin(AmbariJpaPersistService.java:28)  at org.apache.ambari.server.orm.AmbariLocalSessionInterceptor.invoke(AmbariLocalSessionInterceptor.java:40)  at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:222)  at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1099)  Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException  Internal Exception: java.sql.SQLException: Connections could not be acquired from the underlying database!  Error Code: 0  at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:316)  at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:147)  at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)  at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)  at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)  at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)  at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)  ... 9 more  Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!  at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)  at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)  at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:146)  at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:144)  ... 14 more  Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.  at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1469)  at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)  at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)  at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)  at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)  ... 16 more  Caused by: java.sql.SQLException: Access denied for user 'ambari'@'xxxxxxxxx' (using password: YES)  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:959)  at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3870)  at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3806)  at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:871)  at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1686)  at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1207)  at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2254)  at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2285)  at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2084)  at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:795)  at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)  at sun.reflect.GeneratedConstructorAccessor43.newInstance(Unknown Source)  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)  at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)  at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400)  at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327)  at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)  at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)  at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)  at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)  at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)  at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)  at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)  at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)  at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696) 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		11-29-2019
	
		
		12:12 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							   #/usr/jdk64/jdk1.8.0_112/bin/java -cp  /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java-5.1.37.jar  org.apache.ambari.server.DBConnectionVerification "jdbc:mysql://  xxxxxxx:3306/ambari" "ambari" "xxxxx" com.mysql.jdbc.Driver  ERROR: Unable to connect to the DB. Please check DB connection properties.  com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications  link failure  The last packet sent successfully to the server was 0 milliseconds ago. The  driver has not received any packets from the server.          #ambari-server setup --jdbc-db=mysql  --jdbc-driver=/usr/share/java/mysql-connector-java-5.1.37.jar  Using python /usr/bin/python  Setup ambari-server  Copying /usr/share/java/mysql-connector-java-5.1.37.jar to  /var/lib/ambari-server/resources/mysql-connector-java-5.1.37.jar  Creating symlink  /var/lib/ambari-server/resources/mysql-connector-java-5.1.37.jar to  /var/lib/ambari-server/resources/mysql-connector-java.jar  If you are updating existing jdbc driver jar for mysql with  mysql-connector-java-5.1.37.jar. Please remove the old driver jar, from all  hosts. Restarting services that need the driver, will automatically copy  the new jar to the hosts.  JDBC driver was successfully initialized.  Ambari Server 'setup' completed successfully. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
			
	
					
			
		
	
	
	
	
				
		
	
	
- Labels:
 - 
						
							
		
			Apache Ambari
 
			
    
	
		
		
		11-28-2019
	
		
		11:05 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 It gets error because i already created this user.     mysql> CREATE USER 'ambari'@'%' IDENTIFIED BY 'xxxxxxx';  ERROR 1396 (HY000): Operation CREATE USER failed for 'ambari'@'%'  mysql> GRANT ALL PRIVILEGES ON *.* TO 'ambari'@'%';  Query OK, 0 rows affected (0.00 sec)  mysql> CREATE USER 'ambari'@'localhost' IDENTIFIED BY 'xxxxxx';  ERROR 1396 (HY000): Operation CREATE USER failed for 'ambari'@'localhost'  mysql> GRANT ALL PRIVILEGES ON *.* TO 'xxxxxx'@'localhost';  ERROR 1819 (HY000): Your password does not satisfy the current policy requirements  mysql> CREATE USER 'ambari'@'xxxxxx' IDENTIFIED BY 'xxxxxx';  ERROR 1396 (HY000): Operation CREATE USER failed for 'ambari'@'xxxxxxx'  mysql> GRANT ALL PRIVILEGES ON *.* TO 'ambari'@'xxxxxxx';  Query OK, 0 rows affected (0.00 sec)  mysql> FLUSH PRIVILEGES;  Query OK, 0 rows affected (0.00 sec)  mysql> CREATE USER 'ambari'@'%' IDENTIFIED BY 'xxxxxxxx';  ERROR 1396 (HY000): Operation CREATE USER failed for 'ambari'@'%'  mysql> GRANT ALL PRIVILEGES ON *.* TO 'ambari'@'%';  Query OK, 0 rows affected (0.00 sec)  mysql>  mysql>  mysql> GRANT ALL PRIVILEGES ON *.* TO 'ambari'@'localhost';  Query OK, 0 rows affected (0.00 sec)  mysql> CREATE USER 'ambari'@'xxxxx' IDENTIFIED BY 'xxxx';  ERROR 1396 (HY000): Operation CREATE USER failed for 'ambari'@'xxxxxx'  mysql> GRANT ALL PRIVILEGES ON *.* TO 'ambari'@'xxxxxxxx';  Query OK, 0 rows affected (0.00 sec)  mysql> FLUSH PRIVILEGES;  Query OK, 0 rows affected (0.01 sec) 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		11-28-2019
	
		
		10:20 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Again its getting the same error    #/usr/jdk64/jdk1.8.0_112/bin/java -cp  /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java-5.1.37.jar  org.apache.ambari.server.DBConnectionVerification "jdbc:mysql://  xxxxxxx:3306/ambari" "ambari" "xxxxx" com.mysql.jdbc.Driver  ERROR: Unable to connect to the DB. Please check DB connection properties.  com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications  link failure  The last packet sent successfully to the server was 0 milliseconds ago. The  driver has not received any packets from the server.          #ambari-server setup --jdbc-db=mysql  --jdbc-driver=/usr/share/java/mysql-connector-java-5.1.37.jar  Using python /usr/bin/python  Setup ambari-server  Copying /usr/share/java/mysql-connector-java-5.1.37.jar to  /var/lib/ambari-server/resources/mysql-connector-java-5.1.37.jar  Creating symlink  /var/lib/ambari-server/resources/mysql-connector-java-5.1.37.jar to  /var/lib/ambari-server/resources/mysql-connector-java.jar  If you are updating existing jdbc driver jar for mysql with  mysql-connector-java-5.1.37.jar. Please remove the old driver jar, from all  hosts. Restarting services that need the driver, will automatically copy  the new jar to the hosts.  JDBC driver was successfully initialized.  Ambari Server 'setup' completed successfully. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		11-28-2019
	
		
		03:00 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							For localhost i am able to connect    for my host i am unable to connect    mysql -u ambari -p ambari -h xxxxxxxxxx -P 3306  Enter password:  ERROR 2003 (HY000): Can't connect to MySQL server on 'xxxxxxxxx' (111)  
						
					
					... View more