Member since 
    
	
		
		
		06-24-2016
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                111
            
            
                Posts
            
        
                8
            
            
                Kudos Received
            
        
                0
            
            
                Solutions
            
        
			
    
	
		
		
		11-27-2017
	
		
		08:17 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Could you try that command with this param "--create-hcatalog-table" ? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		11-08-2017
	
		
		04:10 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I didn't notice that actually. That because a little different version of HDP 2.6.2 to HDP 2.6.3..  And as I know, JDK 1.8 minimum requirement will be adopted HDP 3.0+.... 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		11-08-2017
	
		
		12:30 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I'm upgrading hdp 2.6.2.14 to 2.6.3.0, but I'm stuck in this issue and cannot finalize upgrade procedure.  JAVA ENV : jdk 1.7  To my way of thinking, 'java.lang.UnsupportedClassVersionError: org/apache/spark/network/yarn/YarnShuffleService : Unsupported major.minor version 52.0' this issue is different version between jdk7 and jdk8. Maybe YarnShuffleService.class file is compiled by jdk7 compiler by apache's some developer.  I think, this issue should be fixed ASAP. I know jdk7 is deprecated in this HDP 2.6.3.0 version and it will be removed future version.  Nodemanager Log.  2017-11-08 09:17:51,530 INFOyarn.YarnShuffleService (YarnShuffleService.java:serviceInit(156)) - Started YARN shuffle service for Spark on port 7337. Authentication is not enabled.Registered executor file is /data/log/hadoop/hadoop-yarn/nodemanager/recovery-state/nm-aux-services/spark_shuffle/registeredExecutors.ldb  2017-11-08 09:17:51,532 INFOutil.ApplicationClassLoader (ApplicationClassLoader.java:<init>(105)) - classpath: [file:/usr/hdp/2.6.3.0-235/spark2/aux/spark-2.2.0.2.6.3.0-235-yarn-shuffle.jar]  2017-11-08 09:17:51,532 INFOutil.ApplicationClassLoader (ApplicationClassLoader.java:<init>(106)) - system classes: [java., javax.accessibility., javax.activation., javax.activity., javax.annotation., javax.annotation.processing., javax.crypto., javax.imageio., javax.jws., javax.lang.model., -javax.management.j2ee., javax.management., javax.naming., javax.net., javax.print., javax.rmi., javax.script., -javax.security.auth.message., javax.security.auth., javax.security.cert., javax.security.sasl., javax.sound., javax.sql., javax.swing., javax.tools., javax.transaction., -javax.xml.registry., -javax.xml.rpc., javax.xml., org.w3c.dom., org.xml.sax., org.apache.commons.logging., org.apache.log4j., -org.apache.hadoop.hbase., org.apache.hadoop., core-default.xml, hdfs-default.xml, mapred-default.xml, yarn-default.xml]  2017-11-08 09:17:51,534 FATAL nodemanager.NodeManager (NodeManager.java:initAndStartNodeManager(549)) - Error starting NodeManager  java.lang.UnsupportedClassVersionError: org/apache/spark/network/yarn/YarnShuffleService : Unsupported major.minor version 52.0  at java.lang.ClassLoader.defineClass1(Native Method)  at java.lang.ClassLoader.defineClass(ClassLoader.java:800)  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)  at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)  at java.net.URLClassLoader.access$100(URLClassLoader.java:71)  at java.net.URLClassLoader$1.run(URLClassLoader.java:361)  at java.net.URLClassLoader$1.run(URLClassLoader.java:355)  at java.security.AccessController.doPrivileged(Native Method)  at java.net.URLClassLoader.findClass(URLClassLoader.java:354)  at org.apache.hadoop.util.ApplicationClassLoader.loadClass(ApplicationClassLoader.java:184)  at org.apache.hadoop.util.ApplicationClassLoader.loadClass(ApplicationClassLoader.java:165)  at java.lang.Class.forName0(Native Method)  at java.lang.Class.forName(Class.java:274)  at org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxiliaryServiceWithCustomClassLoader.getInstance(AuxiliaryServiceWithCustomClassLoader.java:169)  at org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices.serviceInit(AuxServices.java:131)  at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)  at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)  at org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.serviceInit(ContainerManagerImpl.java:245)  at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)  at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)  at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:291)  at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)  at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:546)  at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:594)  2017-11-08 09:17:51,539 INFOimpl.MetricsSystemImpl (MetricsSystemImpl.java:stop(211)) - Stopping NodeManager metrics system...  2017-11-08 09:17:51,539 INFOimpl.MetricsSinkAdapter (MetricsSinkAdapter.java:publishMetricsFromQueue(141)) - timeline thread interrupted.  2017-11-08 09:17:51,540 INFOimpl.MetricsSystemImpl (MetricsSystemImpl.java:stop(217)) - NodeManager metrics system stopped.  2017-11-08 09:17:51,541 INFOimpl.MetricsSystemImpl (MetricsSystemImpl.java:shutdown(606)) - NodeManager metrics system shutdown complete.  2017-11-08 09:17:51,545 INFOnodemanager.NodeManager (LogAdapter.java:info(45)) - SHUTDOWN_MSG: 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
	
	
			
    
	
		
		
		10-24-2017
	
		
		04:16 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Check users info in mysql.user.  mysql> select User,Password,Host from mysql.user;  Normally, create user DDL pattern is like this below.  CREATE USER 'peter'@'localhost' IDENTFIED BY 'password';  GRANT ALL PRIGILEGES ON *.* TO 'peter'@'localhost';  CREATE USER 'peter'@'fqdn' IDENTFIED BY 'password';  GRANT ALL PRIGILEGES ON *.* TO 'peter'@'fqdn';  CREATE USER 'peter'@'%' IDENTFIED BY 'password';  GRANT ALL PRIGILEGES ON *.* TO 'peter'@'%';  FLUSH PRIVILEGES; 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		09-27-2017
	
		
		02:48 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Connect to hdp vm server as root, then switch hdfs user and then check directory ownership & permission.  [root@fqdn]#  su hdfs  [hdfs@fqdn]# hdfs dfs -ls /apps  [hdfs@fqdn]# hdfs dfs -ls /apps/hive  [hdfs@fqdn]# hdfs dfs -chmod 755 /apps/hive  [hdfs@fqdn]# hdfs dfs -chmod 777 /apps/hive/warehouse  if the ownership is incorrect, then try it.  [hdfs@fqdn]# hdfs dfs -chown hdfs:hdfs /apps/hive  [hdfs@fqdn]# hdfs dfs -chown hive:hdfs /apps/hive/warehouse 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		09-27-2017
	
		
		01:53 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Could you attach the resource manager log?  And where is the option --update-mode ? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		09-27-2017
	
		
		01:13 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 If you're querying to default hive table in hive database in HDFS, then do not change access permission.  Originally, hive default warehouse directory in HDFS is "/apps/hive/warehouse".  So you should check the permission of these directories before change permission.  /app : 755   hdfs:hdfs  /app/hive : 755   hdfs:hdfs  /app/hive/warehouse : 777   hive:hdfs 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		09-25-2017
	
		
		05:30 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I"m using HDP 2.5.3 with JDK 1.7  If I upgrade HDP (2.5.3 to 2.6.2) and JDK (1.7 to 1.8),  which one is the first job? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
	
	
			
    
	
		
		
		09-25-2017
	
		
		01:25 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 No, I just need a certain section log from start ResourceManager message to end (startup and listening port)  For example, if ResourceManager is deployed without any issues, then you'll check this log messages.  hadoop-yarn/yarn-resourcemanager-fqdn.log  2017-09-25 10:16:33,491 INFOresourcemanager.ResourceManager (LogAdapter.java:info(45)) - STARTUP_MSG:  /************************************************************  STARTUP_MSG: Starting ResourceManager  STARTUP_MSG: user = yarn  STARTUP_MSG: host = yarn.hdp.exem.com/10.10.30.41  STARTUP_MSG: args = []  STARTUP_MSG: version = 2.7.3.2.5.3.0-37  STARTUP_MSG: classpath = /usr/hdp/current/hadoop-client/conf  ...........  Successfully created /yarn-leader-election/yarn-cluster in ZK.  ........  2017-09-25 10:16:39,630 INFOpb.RpcServerFactoryPBImpl (RpcServerFactoryPBImpl.java:createServer(174)) - Adding protocol org.apache.hadoop.yarn.server.api.ResourceManagerAdministrationProtocolPB to the server  2017-09-25 10:16:39,641 INFOipc.Server (Server.java:run(1045)) - IPC Server Responder: starting  2017-09-25 10:16:39,641 INFOipc.Server (Server.java:run(881)) - IPC Server listener on 8033: starting 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		09-24-2017
	
		
		01:46 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I need ResourceManager log when all YARN Services are restarting. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		 
        











