Member since 
    
	
		
		
		10-22-2017
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                17
            
            
                Posts
            
        
                0
            
            
                Kudos Received
            
        
                0
            
            
                Solutions
            
        
			
    
	
		
		
		07-17-2018
	
		
		06:29 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi Sagar,  Thank you for providing details on automating the ldap-sys. It worked wonderfully.  Thanks,  Abhishek 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		07-17-2018
	
		
		05:48 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi Sridhar Reddy,   How are you doing ?   Thank you for your detailed explanation on automating the Ambari LDAP sync process. I tried to use the curl command you provided above by tweaking little bit and tested. I am running into issues and the logs doesn't have enough info. Below is the command I am using  curl -v -k -u userid -H 'X-Requested-By: ambari' -X POST -d '[{"Event": {"specs": [{"principal_type":"groups","sync_type":"specific",
"names": "i listed the AD groups we have"}]}}]' http://ambarihostname:8080/api/v1/ldap_sync_events  I get a result like this  Enter host password for user 'userid':
* About to connect() to ambarihost port 8080 (#0)
*   Trying IP address...
* Connected to ambarihost (IP address) port 8080 (#0)
* Server auth using Basic with user 'userid'
> POST /api/v1/ldap_sync_events HTTP/1.1
> Authorization: Basic YWJoaXNoZWsuY2hhbWFrdXJhOkBCc2IwMzIwMThxMg==
> User-Agent: curl/7.29.0
> Host: ambarihost:8080
> Accept: */*
> X-Requested-By: ambari
> Content-Length: 133
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 133 out of 133 bytes
< HTTP/1.1 201 Created
< X-Frame-Options: DENY
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Cache-Control: no-store
< Pragma: no-cache
< Set-Cookie: AMBARISESSIONID=13ps7b9q98ekhwweh8qlct0ir;Path=/;HttpOnly
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< User: userid
< Content-Type: text/plain
< Vary: Accept-Encoding, User-Agent
< Content-Length: 166
<
{
  "resources" : [
    {
      "href" : "http://ambarihost:8080/api/v1/ldap_sync_events/15",
      "Event" : {
        "id" : 15
      }
    }
  ]
* Connection #0 to host ambarihost left intact
}  Any help is much appreciated.  Thanks,  Abhishek 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		04-06-2018
	
		
		07:30 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Resolution Found - Please follow below steps   1. Install Ambari Agent   2. Check the status of ambari agent - Start it if not up  3. Try yum install ambari-server  Thank you all for all the help.   Thanks,  Abhishek  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-08-2018
	
		
		05:52 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi @Jay Kumar SenSharma - Increasing the timeout parameters helped to a certain extent but it didn't totally resolve the issue. The issue is occurring even after increasing the timeouts.  Are there any other parameters that can be tweaked ?  We are currently on Ambari Version 2.5.0.3  Thanks!  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-08-2018
	
		
		05:47 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi @Constantin Stanca - Do you know in which version of Ambari this know issue is resolved ?  We are currently on Ambari Version 2.5.0.3  Thanks. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-22-2017
	
		
		08:16 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Aravindan Vijayan - We have a 20 node Hadoop cluster. We installed the Base service completely in our cluster. The Ambari metrics collector mode - embedded. We are noticing the Ambari metrics collector starts and stops soon after some time. Checking the logs below is the error   2017-12-12 11:03:38,443 ERROR org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher: hconnection-0x70cf32e3-0x1604b8318690004, quorum=hdpmprod000.corp.pgcore.com:61181, baseZNode=/ams-hbase-unsecure Received unexpected KeeperException, re-throwing exception org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ams-hbase-unsecure/meta-region-server  Since we do not have HBase service in our cluster - Can I comment out all the AMS - HBase configuration to avoid the AMS-Hbase related issues or what is the best way to handle it.   Any help is much appreciated.  Thanks,  Abhishek 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-18-2017
	
		
		10:46 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi Geoffrey,  Some additional info on the node on which I was trying to setup ambari  $ sudo yum list installed | grep -i ambari   ambari-agent.x86_64              2.1.2.1-418           @ambari   ambari-server.x86_64             2.5.0.3-7             @ambari   $ sudo yum list installed | grep -i hdp   hdparm.x86_64                    9.43-4.el6            @RHEL6-Server-DVD   libgenders.x86_64                1.14-2.el6.rf         @HDP-UTILS   pdsh.x86_64                      2.27-1.el6.rf         @HDP-UTILS  Thanks,  Abhishek 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-18-2017
	
		
		10:37 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi Geoffrey,  Let me give you a little overview on how and where it all started.  Since we have only one Hadoop Cluster which started as a POC and later it was converted to Production environment , we didn't have a lower environment similar to production for testing. So I planned to standup a production like environment with 10 nodes.  I requested for 10 new virtual machines with RHEL 6.9 from devops team at our organization. They provided me 10 new vm's.Brand new vm's with no applications running on it.  The devops team did one additional step on the new vm's - enabled chef on the new vm's. Upon the chef-client run it downloaded the below HDP repos , I didn't download the HDP repos neither I used them. I only downloaded ambari repo using the below links  repo id        repo name                                                                                
HDP            HDP Version - HDP-2.3.4.0                                                                                          
HDP-UTILS      HDP Utils Version - HDP-UTILS-1.1.0.20   Ambari-2.5.0.3 Repo Download Link
wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.0.3/ambari.repo -O /etc/yum.repos.d/ambari.repo  I can stop the chef-client on the new vm's and remove the HDP repos. I want to setup a cluster with Ambari - 2.5.0.3 in the lab environment because currently we are running Ambari - 2.5.0.3 in production. We are planning to upgrade the Ambari version in production. Since I don't have a environment to test the upgrade , I wanted to setup the lab environment with the similar Ambari version in production and ran into ambari-setup issues.  The VM's doesn't have any HDP packages installed or distributed. The VM's are all new and having nothing related to HDP.  Please let me know if you need any further information or a webx session to look into it further.  Thanks  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-18-2017
	
		
		02:58 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi Geoffrey,  Sorry for my late response. I got busy over the weekend and totally forgot to respond back with details. I will gather all the details and message you. Thank you for your support.  Thanks 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-16-2017
	
		
		03:28 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi Geoffrey,  Thank you very much for taking time and testing the installation. I have gone through all of your screenshots. This is what I am planning to do but I am running into issues at the very beginning of the installation of Ambari Server. I will further research into the issue I am running into. Will update you if I find anything.  Thank you very much for your time and fast response.  Have a great weekend!  Thanks 
						
					
					... View more