Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 7203 invoked from network); 3 Feb 2009 22:52:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2009 22:52:02 -0000 Received: (qmail 60803 invoked by uid 500); 3 Feb 2009 22:52:02 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 60786 invoked by uid 500); 3 Feb 2009 22:52:02 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 60775 invoked by uid 99); 3 Feb 2009 22:52:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 14:52:02 -0800 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of prasad@facebook.com does not designate 69.63.179.25 as permitted sender) Received: from [69.63.179.25] (HELO mailout-snc1.facebook.com) (69.63.179.25) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 22:51:48 +0000 Received: from mail.thefacebook.com (intlb01.snat.snc1.facebook.com [10.128.203.18] (may be forged)) by pp01.snc1.tfbnw.net (8.14.1/8.14.1) with ESMTP id n13MpQBh023198 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 3 Feb 2009 14:51:26 -0800 Received: from SC-MBXC1.TheFacebook.com ([192.168.18.102]) by sc-hub02.TheFacebook.com ([192.168.18.105]) with mapi; Tue, 3 Feb 2009 14:51:25 -0800 From: Prasad Chakka To: "hive-dev@hadoop.apache.org" , "shyam_sarkar@yahoo.com" Date: Tue, 3 Feb 2009 14:51:24 -0800 Subject: Re: Eclipse run fails !! Thread-Topic: Eclipse run fails !! Thread-Index: AcmGTu62BmPIIjwNSI66+rAFn+pr6gAAWIogAABn4BQ= Message-ID: In-Reply-To: <68B7689C98024D43B4C2709456F0B5200965634D91@SC-MBXC1.TheFacebook.com> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C5AE0A6C12540prasadfacebookcom_" MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7400:2.4.4,1.2.40,4.0.166 definitions=2009-02-03_07:2009-01-29,2009-02-03,2009-02-03 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C5AE0A6C12540prasadfacebookcom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I think there are multiple issues. Please do the following 1. 'ant clean' in hive directory 2. delete project in eclipse 3. Don't change any config values in hive-site.xml (revert your changes t= o fs.default.name etc) and don't start HDFS cluster since in unit tests we = are working on local file system. 4. check what java version is 1.6 5. Follow the steps in the hive eclipse setup wiki with -Dhadoop.version= =3D0.17.2.1 6. Open Eclipse and import the project 7. Open project preferences and make sure that it is using java 6. If it = is not then change it to use java6 (let me know if you need help here). If = you change it then make sure that you rebuild the project by doing a clean 8. Make sure that there are no compilation problems for the hive project = (check 'problems' tab in the bottom panel of Eclipse) 9. Run the Junit test case. It should run without any warning dialogs Let me know which of these steps fail and what is the error. You need not c= hange any files run a junit testcase. Once you are at this point, we can he= lp you in setting up command shell that talks to DFS. Prasad ________________________________ From: Ashish Thusoo Reply-To: Date: Tue, 3 Feb 2009 14:41:12 -0800 To: , Subject: RE: Eclipse run fails !! Actually for running hive through eclipse you don't need to download and st= art hadoop. Hive tests automatically create a local instance of hdfs and ma= p/reduce and are able to run it. The errors that you are getting seem to indicate some jpox plugins missing = in eclipse. Prasad is an expert in that area and can perhaps comment on tha= t... Ashish -----Original Message----- From: Shyam Sarkar [mailto:shyam_sarkar@yahoo.com] Sent: Tuesday, February 03, 2009 2:30 PM To: hive-dev@hadoop.apache.org; Ashish Thusoo Subject: RE: Eclipse run fails !! Dear Ashish, I downloaded hadoop 0.17.0 and tried bin/start-all.sh script. I got one err= or :: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [ssarkar@ayush2 hadoop-0.17.0]$ bin/start-all.sh starting namenode, logging= to /home/ssarkar/hadoop/hadoop-0.17.0/bin/../logs/hadoop-ssarkar-namenode-= ayush2.out ssarkar@localhost's password: localhost: starting datanode, logging to /home/ssarkar/hadoop/hadoop-0.17.0= /bin/../logs/hadoop-ssarkar-datanode-ayush2.out ssarkar@localhost's password: localhost: starting secondarynamenode, logging to /home/ssarkar/hadoop/hado= op-0.17.0/bin/../logs/hadoop-ssarkar-secondarynamenode-ayush2.out localhost: Exception in thread "main" java.lang.NullPointerException localhost: at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils= .java:119) localhost: at org.apache.hadoop.dfs.SecondaryNameNode.(Secondary= NameNode.java:118) localhost: at org.apache.hadoop.dfs.SecondaryNameNode.main(SecondaryNa= meNode.java:495) starting jobtracker, logging to /home/ssarkar/hadoop/hadoop-0.17.0/bin/../l= ogs/hadoop-ssarkar-jobtracker-ayush2.out ssarkar@localhost's password: localhost: starting tasktracker, logging to /home/ssarkar/hadoop/hadoop-0.1= 7.0/bin/../logs/hadoop-ssarkar-tasktracker-ayush2.out [ssarkar@ayush2 hadoop-0.17.0]$ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Next I loaded hive project into eclipse following steps in hive wiki. I tried Run->Run Configurations->JUnit and selected TestTruncate to run but= got the following error :: "Errors exist in required Projest(s): hive Proceed with Launch ?" When I launch I got following errors :: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 09/02/03 14:01:33 INFO metastore.HiveMetaStore: 0: Opening raw store with i= mplemenation class:org.apache.hadoop.hive.metastore.ObjectStore 09/02/03 14:01:33 INFO metastore.ObjectStore: ObjectStore, initialize calle= d 09/02/03 14:01:33 INFO metastore.ObjectStore: found resource jpox.propertie= s at file:/home/ssarkar/hive/conf/jpox.properties 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.views" = not registered, but plugin "org.eclipse.jdt.junit" defined in file:/home/ss= arkar/eclipse/eclipse32_3.4.1_working/configuration/org.eclipse.osgi/bundle= s/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.perspec= tiveExtensions" not registered, but plugin "org.eclipse.jdt.junit" defined = in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.ecl= ipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.prefere= ncePages" not registered, but plugin "org.eclipse.jdt.junit" defined in fil= e:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.eclipse.o= sgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.keyword= s" not registered, but plugin "org.eclipse.jdt.junit" defined in file:/home= /ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.eclipse.osgi/bun= dles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.debug.core= .launchConfigurationTypes" not registered, but plugin "org.eclipse.jdt.juni= t" defined in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configurat= ion/org.eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.debug.core= .launchConfigurationComparators" not registered, but plugin "org.eclipse.jd= t.junit" defined in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/conf= iguration/org.eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to = it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.debug.ui.l= aunchConfigurationTypeImages" not registered, but plugin "org.eclipse.jdt.j= unit" defined in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configu= ration/org.eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.debug.ui.l= aunchConfigurationTabGroups" not registered, but plugin "org.eclipse.jdt.ju= nit" defined in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configur= ation/org.eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.newWiza= rds" not registered, but plugin "org.eclipse.jdt.junit" defined in file:/ho= me/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.eclipse.osgi/b= undles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.popupMe= nus" not registered, but plugin "org.eclipse.jdt.junit" defined in file:/ho= me/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.eclipse.osgi/b= undles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.actionS= ets" not registered, but plugin "org.eclipse.jdt.junit" defined in file:/ho= me/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.eclipse.osgi/b= undles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.actionS= etPartAssociations" not registered, but plugin "org.eclipse.jdt.junit" defi= ned in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org= .eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.debug.ui.l= aunchShortcuts" not registered, but plugin "org.eclipse.jdt.junit" defined = in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.ecl= ipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.jdt.core.c= lasspathVariableInitializer" not registered, but plugin "org.eclipse.jdt.ju= nit" defined in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configur= ation/org.eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.jdt.ui.qui= ckFixProcessors" not registered, but plugin "org.eclipse.jdt.junit" defined= in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.ec= lipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.jdt.ui.cla= sspathFixProcessors" not registered, but plugin "org.eclipse.jdt.junit" def= ined in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/or= g.eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.ide.mar= kerResolution" not registered, but plugin "org.eclipse.jdt.junit" defined i= n file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.ecli= pse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.core.expre= ssions.propertyTesters" not registered, but plugin "org.eclipse.jdt.junit" = defined in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configuration= /org.eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ltk.core.r= efactoring.renameParticipants" not registered, but plugin "org.eclipse.jdt.= junit" defined in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/config= uration/org.eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it= . 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.command= s" not registered, but plugin "org.eclipse.jdt.junit" defined in file:/home= /ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.eclipse.osgi/bun= dles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.ui.binding= s" not registered, but plugin "org.eclipse.jdt.junit" defined in file:/home= /ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.eclipse.osgi/bun= dles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.core.runti= me.preferences" not registered, but plugin "org.eclipse.jdt.junit" defined = in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/org.ecl= ipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.jdt.core.c= lasspathContainerInitializer" not registered, but plugin "org.eclipse.jdt.j= unit" defined in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configu= ration/org.eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 WARN JPOX.Plugin: Extension Point "org.eclipse.jdt.ui.cla= sspathContainerPage" not registered, but plugin "org.eclipse.jdt.junit" def= ined in file:/home/ssarkar/eclipse/eclipse32_3.4.1_working/configuration/or= g.eclipse.osgi/bundles/97/1/.cp/META-INF/MANIFEST.MF refers to it. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.ui.ide" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.ui.views" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.jface.text" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.ui.workbench.texteditor" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.ui.editors" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.ui" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.core.expressions" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.core.resources" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.debug.core" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.debug.ui" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.jdt.core" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.jdt.ui" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.core.runtime" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.jdt.launching" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.jdt.debug.ui" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.compare" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.ltk.core.refactoring" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.core.variables" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit" require= s "org.eclipse.ltk.ui.refactoring" but it cannot be resolved. 09/02/03 14:01:33 ERROR JPOX.Plugin: Bundle "org.eclipse.jdt.junit.runtime"= requires "org.junit" but it cannot be resolved. 09/02/03 14:01:33 WARN JPOX.Plugin: Bundle "org.jpox" has an optional depen= dency to "org.eclipse.equinox.registry" but it cannot be resolved 09/02/03 14:01:33 WARN JPOX.Plugin: Bundle "org.jpox" has an optional depen= dency to "org.eclipse.core.runtime" but it cannot be resolved 09/02/03 14:01:33 INFO JPOX.Persistence: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Persistence Configuration =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D 09/02/03 14:01:33 INFO JPOX.Persistence: JPOX Persistence Factory - Vendor:= "JPOX" Version: "1.2.2" 09/02/03 14:01:33 INFO JPOX.Persistence: JPOX Persistence Factory initialis= ed for datastore URL=3D"jdbc:derby:;databaseName=3D../build/test/junit_meta= store_db;create=3Dtrue" driver=3D"org.apache.derby.jdbc.EmbeddedDriver" use= rName=3D"APP" 09/02/03 14:01:33 INFO JPOX.Persistence: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 09/02/03 14:01:35 INFO Datastore.Schema: Initialising Catalog "", Schema "A= PP" using "SchemaTable" auto-start option 09/02/03 14:01:36 INFO Datastore.Schema: Catalog "", Schema "APP" initialis= ed - managing 0 classes 09/02/03 14:01:36 INFO JPOX.JDO: >> Found StoreManager org.jpox.store.rdbms= .RDBMSManager java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.ja= va:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.apache.hadoop.hive.metastore.ObjectStore.getPMF(ObjectStore.= java:180) at org.apache.hadoop.hive.metastore.ObjectStore.getPersistenceManag= er(ObjectStore.java:194) at org.apache.hadoop.hive.metastore.ObjectStore.initialize(ObjectSt= ore.java:124) at org.apache.hadoop.hive.metastore.ObjectStore.setConf(ObjectStore= .java:103) at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.j= ava:54) at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUti= ls.java:82) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(= HiveMetaStore.java:127) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create= DefaultDB(HiveMetaStore.java:143) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(H= iveMetaStore.java:115) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.= (HiveMetaStore.java:100) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.(Hive= MetaStoreClient.java:73) at org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hi= ve.java:785) at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:798) at org.apache.hadoop.hive.ql.metadata.Hive.dropTable(Hive.java:316) at org.apache.hadoop.hive.ql.metadata.Hive.dropTable(Hive.java:300) at org.apache.hadoop.hive.ql.exec.TestExecDriver.(TestExecD= river.java:105) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Me= thod) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons= tructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega= tingConstructorAccessorImpl.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.(TestSuite.java:75) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.ge= tTest(JUnit3TestLoader.java:102) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.lo= adTests(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(Remot= eTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(Remo= teTestRunner.java:196) java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Me= thod) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons= tructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega= tingConstructorAccessorImpl.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.(TestSuite.java:75) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.ge= tTest(JUnit3TestLoader.java:102) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.lo= adTests(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(Remot= eTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(Remo= teTestRunner.java:196) Caused by: java.lang.RuntimeException: Encountered throwable at org.apache.hadoop.hive.ql.exec.TestExecDriver.(TestExecD= river.java:113) ... 13 more =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D regards, Shyam --- On Tue, 2/3/09, Ashish Thusoo wrote: > From: Ashish Thusoo > Subject: RE: Eclipse run fails !! > To: "Shyam Sarkar" , > "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=3D"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_sarkar@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 > wrote: > > > From: Ashish Thusoo > > Subject: RE: Eclipse run fails !! > > To: "hive-dev@hadoop.apache.org" > , > > "shyam_sarkar@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_sarkar@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 and > hadoop 0.19.0 is > > running in the background. I could create tables from > bin/hive > > command. > > But when I try to run->run inside eclipse it says:: > > > > "Errors exist with required project(s): > > > > hive > > > > Proceed with launch ?" > > > > and then it gives many errors. > > > > Can someone please tell me why there are errors in > project hive ? I > > followed all steps correctly from hive wiki. > > > > Regards, > > shyam_sarkar@yahoo.com --_000_C5AE0A6C12540prasadfacebookcom_--