Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to connect to beeline

Unable to connect to beeline

New Contributor

Hi All,

I have recently upgraded CDH 5.8.4-1 to CDH 5.12.1 . i am not able to connect with beeline, getting below exception. where as hiveserver 2 and hive command is working fine. Using system JAVA .Any leads for the this issue woud be appricated . Thanks in advance .

 

 

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.conf.Configuration.addDeprecations([Lorg/apache/hadoop/conf/Configuration$DeprecationDelta;)V
at org.apache.hadoop.mapreduce.util.ConfigUtil.addDeprecatedKeys(ConfigUtil.java:54)
at org.apache.hadoop.mapreduce.util.ConfigUtil.loadResources(ConfigUtil.java:42)
at org.apache.hadoop.mapred.JobConf.<clinit>(JobConf.java:124)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:1378)
at org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:88)
at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:72)
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:130)
at org.apache.hadoop.security.Groups.<init>(Groups.java:54)
at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:181)
at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:249)
at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:220)
at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:211)
at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:274)
at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:531)
at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:512)
at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2305)
at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2297)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2165)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:302)
at org.apache.hadoop.fs.FileSystem.getLocal(FileSystem.java:273)
at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.addDependencyJars(TableMapReduceUtil.java:853)
at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.addHBaseDependencyJars(TableMapReduceUtil.java:781)
at org.apache.hadoop.hbase.util.MapreduceDependencyClasspathTool.run(MapreduceDependencyClasspathTool.java:59)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.hbase.util.MapreduceDependencyClasspathTool.main(MapreduceDependencyClasspathTool.java:70)
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Beeline version 1.1.0-cdh5.12.1 by Apache Hive

2 REPLIES 2

Re: Unable to connect to beeline

Rising Star

did you find the solution for this ?

 

anyone know about this issue 

Highlighted

Re: Unable to connect to beeline

Rising Star
ok , this is because of jar files which was deployed in aux path . these jar was complied with old hadoop version and forcing beeline to load configuration from there.
you can remove these jars or complied them against new hadoop version