You are in a heap of trouble. The problem is Cassandra and Hive use different versions of ANTLR and when you get two versions of antlr on a single java classpath, well you get your result.
I have talked to a few people about this and the only way to handle this is tools like jarjar that edit class files so there are no name collisions. The other option is trying to build one tool with the other tools antlr. Edward On Tue, Oct 2, 2012 at 1:57 PM, Anthony Ikeda <anthony.ikeda....@gmail.com> wrote: > Unfortunately not an option. This is an internal application and if I can't > get it running locally, then it's no longer a tech option. > > I know I've had this working in the past but it seems that when the > HiveLexer is generated in the ql project, the "type" field definition is not > created - each time a command is resolved the member variable "type" is > meant to be set but none of the parent classes define this field. > > I'll try and understand Antlr a little more to see if there is meant to be a > more explicit declaration to be made but I'm giving up if I can't resolve > this today. > > Anthony > > > On Tue, Oct 2, 2012 at 10:26 AM, Connell, Chuck <chuck.conn...@nuance.com> > wrote: >> >> Try the easy way… Cloudera CDH4 running on Centos 5.8. Can install >> everything on one machine. >> >> >> >> Chuck >> >> >> >> >> >> From: Anthony Ikeda [mailto:anthony.ikeda....@gmail.com] >> Sent: Tuesday, October 02, 2012 1:23 PM >> To: user@hive.apache.org >> Subject: Hive does not run - Typical NoSuchFieldError >> >> >> >> I've tried different attempts to get Hive running (Riptano GitHub and the >> SVN trunk) but nothing seems to work. >> >> >> >> The ql module seems to be the issue. I've noticed many posts about >> replacing the antlr jars for compilation and running but none of these >> version (3.0.1-3.4.1) work. >> >> >> >> I've also tried downloading the bundle from hive.apache.org and this still >> gives me the same error. >> >> >> >> Env: >> >> Mac OS X >> >> Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11M3811) >> >> Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) >> >> >> >> I'm going to try 32-bit mode to see if this is the problem otherwise are >> there any other suggestions? >> >> >> >> Anthony >> >> > >