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
<anthony.ikeda....@gmail.com> 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 <edlinuxg...@gmail.com> 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
>> <anthony.ikeda....@gmail.com> 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 <chuck.conn...@nuance.com>
>>> 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:anthony.ikeda....@gmail.com]
>>>> Sent: Tuesday, October 02, 2012 2:12 PM
>>>> To: user@hive.apache.org
>>>> 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 <edlinuxg...@gmail.com>
>>>> 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
>>>> <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
>>>
>>>

Reply via email to