Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Hive does not run - Typical NoSuchFieldError


Copy link to this message
-
Re: Hive does not run - Typical NoSuchFieldError
If your working on datastax/riptano branch you probably should take
this up on one their forums.

Edward

On Tue, Oct 2, 2012 at 3:35 PM, Anthony Ikeda
<[EMAIL PROTECTED]> wrote:
> So is the Hive with Casaandra Data Handler officially not working? I.e the riptano git repository branch cassandra-1.0
>
> Sent from my [6th Gen] iPhone
>
> On 02/10/2012, at 12:08, Edward Capriolo <[EMAIL PROTECTED]> wrote:
>
>> If you are trying to build the brisk versions of hive with cassandra
>> support chosing a VM and cdh are not going to help you with this
>> issue.
>>
>> Edward
>>
>> On Tue, Oct 2, 2012 at 2:31 PM, Anthony Ikeda
>> <[EMAIL PROTECTED]> wrote:
>>> Yeah I think the Vm is the next option. We run RedHat, I'll try that first.
>>>
>>> Running on Mac was just to spike the tech, if running a VM means better
>>> compatibility then I guess I'll take that route instead.
>>>
>>> Thanks Chuck.
>>>
>>> On Tue, Oct 2, 2012 at 11:19 AM, Connell, Chuck <[EMAIL PROTECTED]>
>>> wrote:
>>>>
>>>> Seems easier to create a new VM, install CentOS and CDH4 on it, and you
>>>> are off and running. This setup runs pretty much perfectly on the first try.
>>>> I have built 5-6 of them.
>>>>
>>>>
>>>>
>>>> Why do you have to do it on a Mac?
>>>>
>>>>
>>>>
>>>> Chuck
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> From: Anthony Ikeda [mailto:[EMAIL PROTECTED]]
>>>> Sent: Tuesday, October 02, 2012 2:12 PM
>>>> To: [EMAIL PROTECTED]
>>>> Subject: Re: Hive does not run - Typical NoSuchFieldError
>>>>
>>>>
>>>>
>>>> Yeah I get this. I've tried the different branches in the GitHub
>>>> repository (cassandra-0.7, cassandra-1.0, etc) but all seem to yield the
>>>> same issue. Even the 0.9.0 tar.gz download is exhibiting these issues and I
>>>> don't think that is actually using cassandra jar files. I might also look at
>>>> the version of Hadoop I have set -0 currently I have hadoop-0.20.205.0 but
>>>> I'm trying to locate the base antlr Lexer class that defines the "type"
>>>> field but so far no luck - it doesn't exist.
>>>>
>>>>
>>>>
>>>> As in the Hive.g file there is no top level variable for "type".
>>>>
>>>>
>>>>
>>>> I could fall back to CQL but there are a lot of features (e.g. JSON
>>>> parsing) in Hive that I was hoping to make use of.
>>>>
>>>>
>>>>
>>>> I'll also see if I can build just the 'ql' project independently.
>>>>
>>>>
>>>>
>>>> Anthony
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Oct 2, 2012 at 11:04 AM, Edward Capriolo <[EMAIL PROTECTED]>
>>>> wrote:
>>>>
>>>> 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
>>>> <[EMAIL PROTECTED]> 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
>>>>> <[EMAIL PROTECTED]>
>>>>> wrote:
>>>>>>
>>>>>> Try the easy way… Cloudera CDH4 running on Centos 5.8. Can install
>>>>>> everything on one machine.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB