Can you compile HIVE successfully now? You need to modify some settingsaccording to your error information.Maybe you can use the release version to avoid the error.

Tim2013/11/5 金杰 <[EMAIL PROTECTED]>

> I got it.>> I need to run "mvn install -DskipTests" before I run "mvn install">> Are there any documents that I can follow to help me compile or reading> hive code?> The documents on> https://cwiki.apache.org/confluence/display/Hive/DeveloperGuide seems to> be outdated.>>>>> Best Regards> 金杰 (Jay Jin)>>> On Tue, Nov 5, 2013 at 9:31 PM, 金杰 <[EMAIL PROTECTED]> wrote:>>> Hi, All>>>> When I try to compile the latest code of hive using "mvn install">> I got these messages. How to pass these unit tests? Did I miss something?>>>> I was compiling the code on ubuntu 13.04>> And my JAVA_HOME is set:>> $ echo $JAVA_HOME>> /usr/lib/jvm/java-6-oracle/>>>>>> Running org.apache.hadoop.hive.ql.exec.TestExecDriver>> Tests run: 8, Failures: 8, Errors: 0, Skipped: 0, Time elapsed: 16.951>> sec <<< FAILURE! - in org.apache.hadoop.hive.ql.exec.TestExecDriver>> testMapPlan1(org.apache.hadoop.hive.ql.exec.TestExecDriver) Time>> elapsed: 1.205 sec <<< FAILURE!>> junit.framework.AssertionFailedError: expected:<true> but was:<false>>> at junit.framework.Assert.fail(Assert.java:50)>> at junit.framework.Assert.failNotEquals(Assert.java:287)>> at junit.framework.Assert.assertEquals(Assert.java:67)>> at junit.framework.Assert.assertEquals(Assert.java:147)>> at junit.framework.Assert.assertEquals(Assert.java:153)>> at>> org.apache.hadoop.hive.ql.exec.TestExecDriver.executePlan(TestExecDriver.java:465)>> at>> org.apache.hadoop.hive.ql.exec.TestExecDriver.testMapPlan1(TestExecDriver.java:474)>>>> More error message is skipped.>>>>>> Best Regards>> 金杰 (Jay Jin)>>>>

The new instructions for using maven are here -https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQI have updated thehttps://cwiki.apache.org/confluence/display/Hive/DeveloperGuide withlink to above document. But it still needs cleanup.On Tue, Nov 5, 2013 at 7:46 AM, Tim Chou <[EMAIL PROTECTED]> wrote:> Hi Jie,>> Can you compile HIVE successfully now? You need to modify some settings> according to your error information.> Maybe you can use the release version to avoid the error.>> Tim>>> 2013/11/5 金杰 <[EMAIL PROTECTED]>>>>> I got it.>>>> I need to run "mvn install -DskipTests" before I run "mvn install">>>> Are there any documents that I can follow to help me compile or reading>> hive code?>> The documents on>> https://cwiki.apache.org/confluence/display/Hive/DeveloperGuide seems to be>> outdated.>>>>>>>>>> Best Regards>> 金杰 (Jay Jin)>>>>>> On Tue, Nov 5, 2013 at 9:31 PM, 金杰 <[EMAIL PROTECTED]> wrote:>>>>>> Hi, All>>>>>> When I try to compile the latest code of hive using "mvn install">>> I got these messages. How to pass these unit tests? Did I miss something?>>>>>> I was compiling the code on ubuntu 13.04>>> And my JAVA_HOME is set:>>> $ echo $JAVA_HOME>>> /usr/lib/jvm/java-6-oracle/>>>>>>>>> Running org.apache.hadoop.hive.ql.exec.TestExecDriver>>> Tests run: 8, Failures: 8, Errors: 0, Skipped: 0, Time elapsed: 16.951>>> sec <<< FAILURE! - in org.apache.hadoop.hive.ql.exec.TestExecDriver>>> testMapPlan1(org.apache.hadoop.hive.ql.exec.TestExecDriver) Time>>> elapsed: 1.205 sec <<< FAILURE!>>> junit.framework.AssertionFailedError: expected:<true> but was:<false>>>> at junit.framework.Assert.fail(Assert.java:50)>>> at junit.framework.Assert.failNotEquals(Assert.java:287)>>> at junit.framework.Assert.assertEquals(Assert.java:67)>>> at junit.framework.Assert.assertEquals(Assert.java:147)>>> at junit.framework.Assert.assertEquals(Assert.java:153)>>> at>>> org.apache.hadoop.hive.ql.exec.TestExecDriver.executePlan(TestExecDriver.java:465)>>> at>>> org.apache.hadoop.hive.ql.exec.TestExecDriver.testMapPlan1(TestExecDriver.java:474)>>>>>> More error message is skipped.>>>>>>>>> Best Regards>>> 金杰 (Jay Jin)>>>>>

-- CONFIDENTIALITY NOTICENOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.

The code is trying to read /tmp directory. But, in my /tmp directory, thereis a file name "fcitx-socket-:0".Accroding to this issuehttps://issues.apache.org/jira/browse/HADOOP-7945 hadoopdid not allow ":" in filename.The code print following message:

You can use System.getProperty("test.tmp.dir") instead of '/tmp' . That ismore portable.It would be wonderful if you can create a new issue in hive jira (https://issues.apache.org/jira/browse/HIVE) and attach a patch with thischange!

CONFIDENTIALITY NOTICENOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.

NEW: Monitor These Apps!

All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by Sematext