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 <[email protected]
<mailto:[email protected]>> 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