Member since 
    
	
		
		
		07-08-2013
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                548
            
            
                Posts
            
        
                59
            
            
                Kudos Received
            
        
                53
            
            
                Solutions
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 3384 | 08-17-2019 04:05 PM | |
| 3159 | 07-26-2019 12:18 AM | |
| 10205 | 07-17-2019 09:20 AM | |
| 5916 | 06-18-2018 03:38 AM | |
| 15267 | 04-06-2018 07:13 AM | 
			
    
	
		
		
		05-05-2016
	
		
		05:01 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 It's expecting the role/instance name of your NN, you can retrieve that by      example code using python  from cm_api.api_client import ApiResource  api = ApiResource(server_host="nightly57-1.gce.cloudera.com")  #assuming your cluster name is 'Cluster 1' and hdfs service name is 'HDFS-1'  NameNodes = api.get_cluster("Cluster 1").get_service("HDFS-1").get_roles_by_type("NAMENODE")  print [instance.name for instance in NameNodes]  # sample stdout   [u'HDFS-1-NAMENODE-51999a2564364e0f3a6a74def356741b', u'HDFS-1-NAMENODE-46bf2f74734fa565bb829ef019ff4a2d']     Alternatively, open your browser to http://cm_server:port/api/v6/clusters/{clusterName}/services/{HdfsServiceName}/roles        ...  "items" : [ {
    "name" : "HDFS-1-NAMENODE-51999a2564364e0f3a6a74def356741b", <=== this
    "type" : "NAMENODE",  ...  see:  https://cloudera.github.io/cm_api/apidocs/v11/path__clusters_-clusterName-_services_-serviceName-_roles.html       
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		05-03-2016
	
		
		02:49 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							 based on issues I've seen they most leads to jumbo framing configuration 😞 could you verify that is working [1]  alternative installation path is to install the packages manually on the node, then vi /etc/cloudera-scm-agent/config.ini and set the Hostname of the CM server - server_host=....     eg;  yum clean all  rpm --import http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera  # below is for the latest CM5   # modify the baseurl in/etc/yum.repos.d/cloudera-manager.repo and point to the desire CM version   # example for version 5.5.1 baseurl=http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.5.1/  wget http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/cloudera-manager.repo -O /etc/yum.repos.d/cloudera-manager.repo  yum install -y oracle-j2sdk* cloudera-manager-{daemons,agent}     [1] https://www.mylesgray.com/hardware/test-jumbo-frames-working/ 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		05-03-2016
	
		
		02:26 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 What's your network MTU size between your network? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		05-03-2016
	
		
		01:50 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 how is your /tmp mounted? just noticed that "scm_prepare_node.sh" is 644 where it should be 755 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		04-13-2016
	
		
		02:21 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Any exceptions logged in the log files?  - /var/log/cloudera-scm-server/db.log  - /var/lib/cloudera-scm-server-db/data/pg_log/    
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		04-12-2016
	
		
		11:51 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 "I am putting the following HTTP URL in the address bar, e.g. "  the URL that you type in the address bar is translated into GET by the web browser, not a PUT method. You could use a REST client (web browser) plugin to assist your with submitting PUT/POST/DELETE methods from your browser. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		04-12-2016
	
		
		10:30 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 " I put a HTTP PUT operation in the browser "  Can you elaborate how you use HTTP PUT in your web browser? Please write down the steps you are using to do this, for example are you using a browser plugin, if so which? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		04-08-2016
	
		
		11:25 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 > but everything I put a HTTP PUT operation in the browser  Can you clarify how you are submitting PUT request from the browser, so we can reproduce it in-house.      Try the following from a linux terminal   #PUT  # curl -i -X PUT "http://XX.XX.XX.XX:50070/webhdfs/v1/tmp/mapreduce?op=MKDIRS"     #GET  # curl -i -X GET "http://XX.XX.XX.XX:50070/webhdfs/v1/tmp?op=LISTSTATUS"     Reference:  https://archive.cloudera.com/cdh5/cdh/5/hadoop/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Make_a_Directory 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		03-25-2016
	
		
		12:35 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 > write(2, 0x7ffeb5d5c650, 54effective uid is not 0, is sudo installed setuid root?) = 54  The above could indicate an issue also, looking into the "stat" output have you change the permission on /usr or only in /usr/java/...; can you check if you sudo works try this command sudo su - ; can you list your mount flags (cat /proc/mounts) ? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		03-24-2016
	
		
		05:45 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Great to hear. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		 
        













