Member since 
    
	
		
		
		07-08-2013
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                548
            
            
                Posts
            
        
                59
            
            
                Kudos Received
            
        
                53
            
            
                Solutions
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 3379 | 08-17-2019 04:05 PM | |
| 3154 | 07-26-2019 12:18 AM | |
| 10204 | 07-17-2019 09:20 AM | |
| 5915 | 06-18-2018 03:38 AM | |
| 15254 | 04-06-2018 07:13 AM | 
			
    
	
		
		
		03-21-2016
	
		
		02:15 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi     Thanks . Based on the github  , I am able to get all hosts ,ip . For eg if  some of the hosts are down ,Is there is an API call to check ?      ip hostname down  ip hostname up     srikrishna     Python 2.7.2+ (default, Oct  4 2011, 20:06:09) 
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from cm_api.api_client import ApiResource
>>> api = ApiResource('rhel62-1.ent.cloudera.com', 7180, 'admin', 'admin')
>>> for h in api.get_all_hosts():
...   print h.hostname
... 
rhel62-2.ent.cloudera.com
rhel62-4.ent.cloudera.com
rhel62-3.ent.cloudera.com
rhel62-1.ent.cloudera.com
>>>     
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		03-03-2016
	
		
		12:52 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Yep, that did it. Didn't realize the id's were event id's and not host id's.      Used the attributes.HOST_IDS and was able to pull back the information for the host.  With this output, I can sort and build alerting off it.     Thank you. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		02-01-2016
	
		
		07:33 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi Michalis,  Thanks for your advice. I have Migrated from Packages to Parcels, Installed 5.4.2 & then upgraded it to 5.5.1 successfully. the following are the links i have followed:  http://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_migrating_packages_to_parcels.html  http://www.cloudera.com/documentation/enterprise/latest/topics/install_upgrade_to_cdh55_parcels.html     Thanks a Million 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		02-01-2016
	
		
		05:12 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 The issue is resolved.     I replaced the chrony service with the NTP service, according to Michali's recommendation, on all my hosts and all errors stopped.  Not only the errors which where explicitely stating "Failed to collect NTP metrics" but also all other errors. Apparently all these errors where somehow related to the inability to collect NTP metrics.     Thank you!       
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-31-2016
	
		
		02:51 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I meant to ask, is there any plans for amazon linux support in the future? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-28-2016
	
		
		02:40 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 In more elaboration, any namespace changes on Active node is recorded by JNs and Standby node reads these edits from these JNs. And Standby node applies them to own namespace and try to be as close to Active node as possible. In failover scenario, SB node reads all edits from JNs before promoting it-self to Active so that there is full-sync before failover occurs.     Hope further details help with better understanding. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-27-2016
	
		
		11:06 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi,     Thanks for your reply.  Sorry for delay, i was held up with some other tasks.     Below is the output of my .../parcels command.  But, seems like other service like spark are up and running in the server which is not shown in the .../parcels command.   Output of spark when executing clusters/cluster-name/services command is also copied.        {
  "items" : [ {
    "product" : "KAFKA",
    "version" : "0.8.2.0-1.kafka1.3.0.p0.29",
    "stage" : "DISTRIBUTED",
    "clusterRef" : {
      "clusterName" : "cluster"
    }
  }, {
    "product" : "IMPALA",
    "version" : "1.2.3-1.p0.97",
    "stage" : "DISTRIBUTING",
    "clusterRef" : {
      "clusterName" : "cluster"
    }
  }, {
    "product" : "KAFKA",
    "version" : "0.8.2.0-1.kafka1.2.0.p0.2",
    "stage" : "ACTIVATED",
    "clusterRef" : {
      "clusterName" : "cluster"
    }
  }, {
    "product" : "CDH",
    "version" : "5.3.0-1.cdh5.3.0.p0.30",
    "stage" : "ACTIVATED",
    "clusterRef" : {
      "clusterName" : "cluster"
    }
  }, {
    "product" : "SOLR",
    "version" : "1.1.0-1.cdh4.3.0.p0.21",
    "stage" : "DISTRIBUTING",
    "clusterRef" : {
      "clusterName" : "cluster"
    }
  }, {
    "product" : "oldcdhparcels",
    "version" : "",
    "stage" : "UNAVAILABLE",
    "clusterRef" : {
      "clusterName" : "cluster"
    }
  } ]
}     output of clusters/cluster-name/services command        {
    "name" : "spark",
    "type" : "SPARK",
    "clusterRef" : {
      "clusterName" : "cluster"
    },
    "serviceUrl" : "http://xxx.com:7180/cmf/serviceRedirect/spark",
    "serviceState" : "STARTED",
    "healthSummary" : "GOOD",
    "healthChecks" : [ ],
    "configStale" : false
  }     Thanks,  nks 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-27-2016
	
		
		04:10 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							    > This indicates that agent is unable to connect to HOSTMONITOR, is HMON running?   [27/Jan/2016 03:16:44 +0000] 3069 MonitorDaemon-Reporter throttling_logger ERROR    Error sending messages to firehose: MGMT-HOSTMONITOR-244944378552b77b5c898d702d752f7f     > This indicates that the command timed out when attempting to run a DNS test [1]  [27/Jan/2016 03:19:46 +0000] 3069 DnsResolutionMonitor throttling_logger ERROR    Timeout with args ['/usr/java/jdk1.7.0_67-cloudera/bin/java', '-classpath', '/usr/share/cmf/lib/agent-5.5.1.jar', 'com.cloudera.cmon.agent.DnsTest']     Example:   [bash]# /usr/java/jdk1.7.0_67-cloudera/bin/java -classpath /usr/share/cmf/lib/agent-5.5.1.jar com.cloudera.cmon.agent.DnsTest     > This indicates that supervisord [2] was not running at that time  [27/Jan/2016 03:08:52 +0000] 3012 MainThread agent        ERROR    Failed to connect to previous supervisor.     [1] http://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_networknames_configure.html  [2] "Agent Process Supervision in Detail" http://blog.cloudera.com/blog/2013/07/how-does-cloudera-manager-work/ 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-26-2016
	
		
		10:20 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							 Hi Michalis,     Editing the cloudera-scm-agent/config.ini to point to the correct folder and hard_restarting the agents did the trick. Now all binaries are available in /usr/bin.     alternatives --display impala-shell points to the right folder.      Thank you for your help 🙂  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-26-2016
	
		
		09:58 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							Hi,    Thank you for the help.    the problem with the firefox browser. I have installed opera now it is  working fine.  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		- « Previous
- Next »
 
        













