java.lang.NoSuchFieldError: type

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via incubator-hcatalog-user by Bennett Andrews, 1 year ago
via incubator-hcatalog-user by Bennett Andrews, 1 year ago
via incubator-hcatalog-user by Cheolsoo Park, 1 year ago
via incubator-hcatalog-user by Bennett Andrews, 1 year ago
via incubator-hcatalog-user by Cheolsoo Park, 1 year ago
java.lang.NoSuchFieldError: type
at org.apache.hadoop.hive.metastore.parser.FilterLexer.mLPAREN(FilterLexer.java:112)
at org.antlr.runtime.Lexer.nextToken(Lexer.java:89)
at org.antlr.runtime.BufferedTokenStream.fetch(BufferedTokenStream.java:133)
at org.antlr.runtime.BufferedTokenStream.sync(BufferedTokenStream.java:127)
at org.antlr.runtime.CommonTokenStream.setup(CommonTokenStream.java:132)
at org.antlr.runtime.CommonTokenStream.LT(CommonTokenStream.java:91)
at org.antlr.runtime.BufferedTokenStream.LA(BufferedTokenStream.java:162)
at org.apache.hadoop.hive.metastore.parser.FilterParser.expression(FilterParser.java:206)
at org.apache.hadoop.hive.metastore.parser.FilterParser.andExpression(FilterParser.java:152)
at org.apache.hadoop.hive.metastore.parser.FilterParser.orExpression(FilterParser.java:96)
at org.apache.hadoop.hive.metastore.parser.FilterParser.filter(FilterParser.java:70)
at org.apache.hadoop.hive.metastore.ObjectStore.getFilterParser(ObjectStore.java:1598)
at org.apache.hadoop.hive.metastore.ObjectStore.makeQueryFilterString(ObjectStore.java:1627)
at org.apache.hadoop.hive.metastore.ObjectStore.listMPartitionsByFilter(ObjectStore.java:1690)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_partitions_by_filter(HiveMetaStore.java:2466)
at org.apache.hcatalog.mapreduce.InitializeInput.getInputJobInfo(InitializeInput.java:112)
at org.apache.hcatalog.mapreduce.InitializeInput.setInput(InitializeInput.java:85)
at org.apache.hcatalog.mapreduce.HCatInputFormat.setFilter(HCatInputFormat.java:108)
at org.apache.hcatalog.pig.HCatLoader.setLocation(HCatLoader.java:119)
at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getJob(JobControlCompiler.java:380)
at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.compile(JobControlCompiler.java:259)
at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:180)
at org.apache.pig.PigServer.launchPlan(PigServer.java:1275)
at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1260)
at org.apache.pig.PigServer.storeEx(PigServer.java:957)
at org.apache.pig.PigServer.store(PigServer.java:924)
at org.apache.pig.PigServer.openIterator(PigServer.java:837)
at org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:682)
at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:303)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:189)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:165)
at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
at org.apache.pig.Main.run(Main.java:490)
at org.apache.pig.Main.main(Main.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.