Member since 
    
	
		
		
		06-09-2016
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                529
            
            
                Posts
            
        
                129
            
            
                Kudos Received
            
        
                104
            
            
                Solutions
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 1732 | 09-11-2019 10:19 AM | |
| 9322 | 11-26-2018 07:04 PM | |
| 2482 | 11-14-2018 12:10 PM | |
| 5311 | 11-14-2018 12:09 PM | |
| 3141 | 11-12-2018 01:19 PM | 
			
    
	
		
		
		08-30-2018
	
		
		01:09 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							  @Tony Cheng    
 The error:  unable to get client certificate at  In the xa-portal.log means truststore has not been properly configured for ranger admin. I suggest you review the following video where I cover this configuration in detail:  https://community.hortonworks.com/content/supportkb/187924/video-kb-how-to-co-nfigure-ranger-admin-ssl.html  Also there is a good hc article that covers this configuration for nifi:  https://community.hortonworks.com/articles/60001/hdf-20-integrating-secured-nifi-with-secured-range.html  HTH  *** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		08-30-2018
	
		
		12:49 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @vishal dutt  Yes, Stop all services from ambari, then stop ambari server and agents. Then I will add that If you have any running databases in the cluster nodes like postgres, mysql you should also stop those as well. You may also want to consider taking database backups if needed.   HTH  *** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		08-29-2018
	
		
		03:33 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							@Bhushan Kandalkar For Common Name for Certificate use a comma separated list (no spaces before of after comma). For example:  hmaster.test.org,hmaster2.test.org  I haven't got the chance to test 1-way ssl between plugins and ranger admin yet. However, by looking at the following jira   https://issues.apache.org/jira/browse/RANGER-1094  This shows as fixed in ranger 0.6.3 and hdp-2.5.6 comes with ranger 0.6 so perhaps is still not supported in your version.  HTH  *** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		08-28-2018
	
		
		12:18 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							  @Bhushan Kandalkar I think this is due your ranger admin truststore may not be properly configured. You may want to check the following video on how to setup ranger admin ssl:  https://community.hortonworks.com/content/supportkb/187924/video-kb-how-to-co-nfigure-ranger-admin-ssl.html  and as a followup step you should add the hive public certificate to the ranger admin truststore.   HTH  *** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		08-28-2018
	
		
		12:16 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							@Bhushan Kandalkar The error:  Unauthorized access - unable to get client certificate at  Means the truststore has not been properly configured for ranger admin. I suggest you review the following video where I cover this configuration in detail:  https://community.hortonworks.com/content/supportkb/187924/video-kb-how-to-co-nfigure-ranger-admin-ssl.html  HTH  *** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		08-28-2018
	
		
		12:10 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @elango vaithiyanathan   Perhaps you could pick another way to partition your data, by different column where the distribution of data is split evenly (hopefully)  Or else you could build an artificial (numeric) column by salting, and partition by this column.  HTH  *** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		08-27-2018
	
		
		01:31 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							@Erkan ŞİRİN This is not a compile time option. Its runtime and should be set in the command line not in code by spark session options. If you are you running this code from eclipse you should add this as an argument to the java directly -Xss. Else if running using spark-submit command then add as I indicated before. With these settings at least it should take longer to error out since you will be making the memory area for stack bigger to fill.   HTH  *** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		08-27-2018
	
		
		12:22 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi @Erkan ŞİRİN, have you tried to increase the stack memory space using -Xss flag? If not you may want to try something like this:   --conf "spark.executor.extraJavaOptions='-Xss512m'"   --driver-java-options "-Xss512m"  HTH  *** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		08-27-2018
	
		
		12:06 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		2 Kudos
		
	
				
		
	
		
					
							 @Steven Matison  Seems your flow.xml.gz got corrupted, perhaps as result of disk issues you mentioned. This file can be unzipped when not corrupted.   Maybe one of the cluster nodes has a non corrupted copy of this file? Also there is an archive directory with the previous flow.xml.gz files, perhaps you can use one of these to recover from this problem. (nifi.flow.configuration.archive.dir*)  HTH  *** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		08-24-2018
	
		
		06:21 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 
	@Manikandan Jeyabal
 
 
	I think there may be a project level problem on yours. Therefore I'm sharing a very simple dummy project that is compiling fine in my environment (this is only shared as an example and is not meant to be used in real production):
 
 
	sparktest.zip
 
 
	Hopefully with this project you will be able to figure out what is wrong when comparing with yours. Note: You can use command line sbt compile and sbt package to get the jar
 
 
	This is the output I get when I run it:
  
  
 SPARK_MAJOR_VERSION=2 spark-submit /root/projects/sparktest/target/scala-2.11/hello_2.11-0.1.0-SNAPSHOT.jar Hello
SPARK_MAJOR_VERSION is set to 2, using Spark2
hello
root
 |-- Airline_id: integer (nullable = true)
 |-- Name: string (nullable = true)
 |-- Alias: string (nullable = true)
 |-- IATA: string (nullable = true)
 |-- ICAO: string (nullable = true)
 |-- Callsign: string (nullable = true)
 |-- Country: string (nullable = true)
 |-- Active: string (nullable = true)
  
 
 
	HTH
 
 
	*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		 
        













