Member since 
    
	
		
		
		09-02-2016
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                9
            
            
                Posts
            
        
                1
            
            
                Kudos Received
            
        
                0
            
            
                Solutions
            
        
			
    
	
		
		
		09-06-2016
	
		
		05:26 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Yes, HMS and HS2 have separate log4j.properties files.  However, I find it odd that one cluster has the threadname in the log records while the other does not (both CDH5.4.7). The defaults should be exactly the same on both the clusters.     Perhaps, you could confirm that you have not overridden the configuration in a safety valve.     To add a threadname to the log records for the HMS,  Select Hive Service --> Instances --> Hive Metastore Server --> Configuration  then type in log4j and look for  "Hive Metastore Server Logging Advanced Configuration Snippet (Safety Valve)" This is where I would set it to something like this ..  log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t]: %c{2} (%F:%M(%L)) - %m%n  or just  %d{ISO8601} %p [%t]: %c: %m%n     the %t is what adds the thread name to the log records.     Hope this helps. Thanks 
						
					
					... View more