)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at junit.framework.TestSuite.createTest(TestSuite.java:131)
at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
at junit.framework.TestSuite.init(TestSuite.java:75)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at junit.framework.TestSuite.createTest(TestSuite.java:131)
at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
at junit.framework.TestSuite.init(TestSuite.java:75)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: java.lang.RuntimeException: Encountered throwable
at
org.apache.hadoop.hive.ql.exec.TestExecDriver.clinit(TestExecDriver.java:113)
... 13 more
==
regards,
Shyam
--- On Tue, 2/3/09, Ashish Thusoo athu...@facebook.com wrote:
From: Ashish Thusoo athu...@facebook.com
Subject: RE: Eclipse run fails !!
To: Shyam Sarkar shyam_sar...@yahoo.com, hive-dev@hadoop.apache.org
hive-dev@hadoop.apache.org
Date: Tuesday, February 3, 2009, 1:46 PM
Hi Shyam,
I can certainly say that 0.17.0 should work with eclipse. I
have been doing that for a while.
Maybe we can concentrate on fixing why you are not able to
create a table in hdfs. I am not sure why you could not
create the /user/hive/warehouse directory in 0.17. Are you
saying that
hadoop dfs -mkdir /user/facebook/hive
does not work for you? Can you send out the output when you
run this command.
Ashish
PS: using -Dhadoop.versoion=0.17.0 for all the
commands that are given in the wiki should make things work
in eclipse.
-Original Message-
From: Shyam Sarkar [mailto:shyam_sar...@yahoo.com]
Sent: Tuesday, February 03, 2009 12:00 PM
To: hive-dev@hadoop.apache.org; Ashish Thusoo
Subject: RE: Eclipse run fails !!
Dear Ashish,
For the last few days I tried eclipse 3.4.1 with 0.17.2.1
version and got the same errors with run-run. Then I
looked into bin/hive command and found that it could not
create table in HDFS. The reason was that I could not create
/user/hive/warehouse directory inside HDFS. It was using
Linux FS.
This is why I switched to 0.19.0 where directories in HDFS
can be created.
Could you please tell me which exact version of hadoop will
work fine with eclipse runs ? I want to get rid of errors
in project itself (before any run).
Regards,
Shyam
--- On Tue, 2/3/09, Ashish Thusoo
athu...@facebook.com wrote:
From: Ashish Thusoo athu...@facebook.com
Subject: RE: Eclipse run fails !!
To: hive-dev@hadoop.apache.org
hive-dev@hadoop.apache.org,
shyam_sar...@yahoo.com
shyam_sar...@yahoo.com
Date: Tuesday, February 3, 2009, 11:38 AM Hi Shyam,
We have not really tried the eclipse stuff for 0.19.0.
Is it possible
for you to use 0.17.0 for now, while we figure this
out...
Ashish
-Original Message-
From: Shyam Sarkar [mailto:shyam_sar...@yahoo.com]
Sent: Tuesday, February 03, 2009 11:26 AM
To: hive-dev@hadoop.apache.org
Subject: Eclipse run fails !!
Hello,
I have hive project loaded inside eclipse 3.4.1