incubator-hcatalog-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashutosh Chauhan <hashut...@apache.org>
Subject Re: HCatOutputFormat uses Hadoop security
Date Wed, 23 Nov 2011 01:06:47 GMT
Yes. Tables are not created automatically if they don't exist. So, need to
create tables before launching the job.

Ashutosh
On Tue, Nov 22, 2011 at 17:02, Avery Ching <aching@apache.org> wrote:

>  HCATALOG-10 works for me, but I have a new question.  I got the error
>
> Exception in thread "main" org.apache.hcatalog.common.HCatException : 2001
> : Error setting output information. Cause : NoSuchObjectException
>
> from
>
>     at
> org.apache.hcatalog.mapreduce.HCatOutputFormat.setOutput(HCatOutputFormat.java:184)
>
> Seems like the table needs to be created first?
>
> After looking at
> src/test/org/apache/hcatalog/mapreduce/HCatMapReduceTest.java, it appears
> so, but I just wanted to confirm that was a good example.
>
> Thanks,
>
> Avery
>
> On 11/22/11 10:53 AM, Ashutosh Chauhan wrote:
>
> There is some work going on at
> https://issues.apache.org/jira/browse/HCATALOG-10 for it.
>
> Ashutosh
> On Tue, Nov 22, 2011 at 10:49, Avery Ching <aching@apache.org> wrote:
>
>> Hi,
>>
>> I noticed that HCatOutputFormat uses Hadoop security classes
>>
>> import org.apache.hadoop.security.UserGroupInformation;
>> import org.apache.hadoop.security.token.Token;
>> import org.apache.hadoop.security.token.TokenIdentifier;
>> import org.apache.hadoop.security.token.TokenSelector;
>> import
>> org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier;
>>
>> This causes problems for non-secure versions of Hadoop.
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/hadoop/security/token/TokenSelector
>>
>> Are there any plans to support non-secure versions of Hadoop?
>>
>> Avery
>>
>
>
>
>

Mime
View raw message