Yes. Tables are not created automatically if they don't exist. So, need to create tables before launching the job.
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
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.
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.
On Tue, Nov 22, 2011 at 10:49, Avery Ching <firstname.lastname@example.org> wrote:
I noticed that HCatOutputFormat uses Hadoop security classes
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?