Member since 
    
	
		
		
		03-04-2019
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                59
            
            
                Posts
            
        
                24
            
            
                Kudos Received
            
        
                5
            
            
                Solutions
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 6297 | 07-26-2018 08:10 PM | |
| 8177 | 07-24-2018 09:49 PM | |
| 3922 | 10-08-2017 08:00 PM | |
| 3209 | 07-31-2017 03:17 PM | |
| 1123 | 12-05-2016 11:24 PM | 
			
    
	
		
		
		10-10-2017
	
		
		02:01 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Checked "opsDuringRollingUpgrade   =true", and still not seeing the resume upgrade button.  Just to make myself clear, I can see the upgrade button, as shown.  However, when I click it, and select express upgrade, it won't pass the check, and saying there is already an upgrade in process, but wouldn't let me resume the previous upgrade.         
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-09-2017
	
		
		01:39 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Thanks @Geoffrey Shelton Okot, all privileges were granted to rangerdba properly as you can see from my original post.  It's related to the upgrade, as Ambari is using the mysql-jdbc-driver under /usr/hdp/2.6.2.0-205/ranger-admin/ews/lib/ while everything else was running the 2.6.1 bits for some reason.  The upgrade is stuck on some hosts, and I need to figure out why which is another issue I'm trying to resolve. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-09-2017
	
		
		04:49 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Upgrading from HDP2.6.1 to HDP2.6.2 via Ambari2.5.2 failed during the finalize stage.  'Resume Upgrade' link is not available, and it appears the upgrade is stuck.  Also tried 're-install', still getting the error:    Packages could not be installed  Cluster Demo1 upgrade is in progress. Cannot install packages.  Tried to manually set back to the previous version by running 'ambari-server set-current --cluster-name=Demo1 --version-display-name=HDP-2.6.1.0', and seeing the following error:  Using python  /usr/bin/python
Setting current version...
Enter Ambari Admin login: dsun
Enter Ambari Admin password:
ERROR: Exiting with exit code 1.
REASON: Error during setting current version. Http status code - 500.
 {
  "status" : 500,
  "message" : "org.apache.ambari.server.controller.spi.SystemException: Finalization failed. More details: \nSTDOUT: Begin finalizing the upgrade of cluster SCRegionDemoHDP to version 2.6.2.0-205\n\nSTDERR: The following 141 host component(s) have not been upgraded to version 2.6.2.0-205. Please install and upgrade the Stack Version on those hosts and try again.\nHost components:\nDRUID_OVERLORD on host scregionm2.field.hortonworks.com\nDRUID_SUPERSET blahblahblah.    I am assuming the upgrade process is corrupted, and bad entry on the ambari db side, any thoughts are appreciated.  Thanks. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
	
	
			
    
	
		
		
		10-08-2017
	
		
		08:00 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Geoffrey Shelton Okot  I ran 'hdp-select' on the host where Ranger Admin is installed just to check the components are running and noticed it's showing the older version 2.6.1.0-129:  [root@scregionm1 ~]# hdp-select  | grep ranger
ranger-admin - 2.6.1.0-129
ranger-kms - None
ranger-tagsync - 2.6.1.0-129
ranger-usersync - 2.6.1.0-129   I went ahead manually updated the components version by running 'hdp-select set all 2.6.2.0-205', then restarted Ranger service, not it's working.  As I expected, something went wrong during the upgrade which is still a mystery.  Thanks. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-08-2017
	
		
		07:38 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 thanks @Geoffrey Shelton Okot, but that didn't help, still seeing the same error, I assume somewhere along the upgrade went wrong, and I am checking the logs:  2017-10-08 19:37:04,316  [JISQL] /usr/jdk64/jdk1.8.0_77/bin/java  -cp /usr/hdp/current/ranger-admin/ews/lib/mysql-jdbc-driver.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver mysqlconj -cstring jdbc:mysql://scregionm2.field.hortonworks.com/mysql -u rangerdba -p '********' -noheader -trim -c \; -query "SELECT version();"
SQLException : SQL state: 28000 java.sql.SQLException: Access denied for user 'rangerdba'@'scregionm1.field.hortonworks.com' (using password: YES) ErrorCode: 1045
2017-10-08 19:37:04,893  [E] Can't establish db connection.. Exiting..
 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-08-2017
	
		
		06:10 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Geoffrey Shelton Okot Forgot to mention in my original post, 'test connection' in Ambari was the first task I checked, and it failed, that's why I started digging further with above testing.  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-08-2017
	
		
		05:40 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I am getting below errors while trying to start Ranger Admin after the latest Ambari upgrade from 2.5.1 to 2.5.2:  2017-10-08 17:30:03,646 - Check db_connection_check was unsuccessful. Exit code: 1. Message: ERROR: Unable to connect to the DB. Please check DB connection properties.
java.sql.SQLException: Access denied for user 'rangerdba'@'scregionm1.field.hortonworks.com' (using password: YES)
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 531, in <module>
    CheckHost().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 206, in actionexecute
    raise Fail(error_message)
resource_management.core.exceptions.Fail: Check db_connection_check was unsuccessful. Exit code: 1. Message: ERROR: Unable to connect to the DB. Please check DB connection properties.
java.sql.SQLException: Access denied for user 'rangerdba'@'scregionm1.field.hortonworks.com' (using password: YES)  I confirmed 'rangerdba' user has proper privileges on the MySQL node:  mysql> SELECT host,user,password,Grant_priv,Super_priv FROM mysql.user;
+----------------------------------+-------------+-------------------------------------------+------------+------------+
| host                             | user        | password                                  | Grant_priv | Super_priv |
+----------------------------------+-------------+-------------------------------------------+------------+------------+
| localhost                        | root        |                                           | Y          | Y          |
| scregionm2.field.hortonworks.com | root        |                                           | Y          | Y          |
| 127.0.0.1                        | root        |                                           | Y          | Y          |
| ::1                              | root        |                                           | Y          | Y          |
| %                                | rangerdba   | *0DFC06DA054FDC6F974A6709CFCE366817B59894 | Y          | Y          |
| %                                | hive        | *1C2AF9445ECD574DB1D3E4584424EDFB768C1E70 | N          | Y          |
| localhost                        | rangerdba   | *0DFC06DA054FDC6F974A6709CFCE366817B59894 | Y          | Y          |
| scregionm2.field.hortonworks.com | rangerdba   | *0DFC06DA054FDC6F974A6709CFCE366817B59894 | Y          | Y          |
| %                                | rangerkms   | *0DFC06DA054FDC6F974A6709CFCE366817B59894 | N          | N          |
| localhost                        | rangerkms   | *0DFC06DA054FDC6F974A6709CFCE366817B59894 | N          | N          |
| scregionm2.field.hortonworks.com | rangerkms   | *0DFC06DA054FDC6F974A6709CFCE366817B59894 | N          | N          |
| %                                | rangeradmin | *0DFC06DA054FDC6F974A6709CFCE366817B59894 | N          | N          |
| localhost                        | rangeradmin | *0DFC06DA054FDC6F974A6709CFCE366817B59894 | N          | N          |
| scregionm2.field.hortonworks.com | rangeradmin | *0DFC06DA054FDC6F974A6709CFCE366817B59894 | N          | N          |
| %                                | streamline  | *46ADB7217AF6CE7227CD73C4F4AD1C157D664E7F | N          | N          |
| ambariservernode                 | rangeruser  |                                           | Y          | Y          |
| scregionm1.field.hortonworks.com | rangerdba   |                                           | Y          | Y          |
| scregionm0.field.hortonworks.com | rangerdba   |                                           | Y          | Y          |
+----------------------------------+-------------+-------------------------------------------+------------+------------+
18 rows in set (0.00 sec)  I also checked MySQL connection from the Ranger Admin node to the MySQL instance is fine:  sqlline> !connect jdbc:mysql://scregionm2.field.hortonworks.com/mysql rangerdba BadPass#1
Connecting to jdbc:mysql://scregionm2.field.hortonworks.com/mysql
Connected to: MySQL (version 5.6.35)
Driver: MySQL-AB JDBC Driver (version mysql-connector-java-5.1.17-SNAPSHOT ( Revision: ${bzr.revision-id} ))
Autocommit status: true
Transaction isolation: TRANSACTION_REPEATABLE_READ
0: jdbc:mysql://scregionm2.field.hortonworks.> select version();
+------------+
| version()  |
+------------+
| 5.6.35     |
+------------+
1 row selected (0.031 seconds)  Any help is appreciated.  Thanks. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
			
	
					
			
		
	
	
	
	
				
		
	
	
- Labels:
- 
						
							
		
			Apache Ranger
			
    
	
		
		
		07-31-2017
	
		
		03:17 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							 As Impala supports the JDBC connection, you can easily set up a NiFi DBCP connection pool, then use the ExecuteSQL processor to get data out of Impala tables backed by Kudu.  Hope that helps. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		07-20-2017
	
		
		04:52 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							@Josh Elser Agreed, working on a quick demo, and Phoenix appears to be working fine as far as the demo concerns, will come back and spend more time after the demo, thanks.  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		07-19-2017
	
		
		11:50 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Please don't forget to 'accept' the answer if it helped, thanks. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		 
        













