Thanks, it fix the first issue, the builtin.jar still reference in classpath which cause eclipse complain about it.
2012/5/3 Wataru Yukawa <wyuk...@gmail.com> > Hi > > I also encountered a similar situation. > > please try > > wget > https://issues.apache.org/jira/secure/attachment/12524106/HIVE-2902.3.patch.txt > patch -p0 < HIVE-2902.3.patch.txt > ant clean package eclipse-files > > > see https://issues.apache.org/jira/browse/HIVE-2902 > > Thanks > > 2012/5/3 gemini alex <gemini5201...@gmail.com>: > > Hi, > > seems after HIVE-2990, The eclipse classpath still reference some > jar on > > /build/hadoopcore/ directory. When use > > ant clean-eclipse-files clean package eclipse-files > > it generate : > > <classpathentry kind="lib" > > path="build/hadoopcore/hadoop-0.20.2/hadoop-0.20.2-core.jar"/> > > <classpathentry kind="lib" > > path="build/hadoopcore/hadoop-0.20.2/hadoop-0.20.2-test.jar"/> > > <classpathentry kind="lib" > > path="build/hadoopcore/hadoop-0.20.2/hadoop-0.20.2-tools.jar"/> > > <classpathentry kind="lib" > > path="build/hadoopcore/hadoop-0.20.2/lib/servlet-api-2.5-6.1.14.jar"/> > > <classpathentry kind="lib" > > path="build/hadoopcore/hadoop-0.20.2/lib/jetty-6.1.14.jar"/> > > <classpathentry kind="lib" > > path="build/hadoopcore/hadoop-0.20.2/lib/jetty-util-6.1.14.jar"/> > > <classpathentry kind="lib" > > path="build/hadoopcore/hadoop-0.20.2/lib/commons-codec-1.4.jar"/> > > <classpathentry kind="lib" path="build/hadoopcore/libthrift-0.7.0.jar"/> > > <classpathentry kind="lib" > > path="build/builtins/hive-builtins-0.10.0-SNAPSHOT.jar"/> > > > > also the builtins.jar didn't not build by ant package or maybe it should > not > > be in classpath. After point above jar to right directory manually, it > seems > > that org.apache.hadoop.hive.ql.metadata.formatting.JsonMetaDataFormatter > > didn't not find the correct json package. > > > > Thanks > > Alex >