You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Stephen Watt (JIRA)" <ji...@apache.org> on 2010/09/16 20:01:35 UTC

[jira] Created: (HIVE-1646) Hive 0.5 Build Crashing

Hive 0.5 Build Crashing
-----------------------

                 Key: HIVE-1646
                 URL: https://issues.apache.org/jira/browse/HIVE-1646
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Testing Infrastructure
    Affects Versions: 0.5.0
         Environment: SLES 10 SP2, SLES 11, RHEL 5.4, ANT 1.8.1 and ANT 1.7.1, SUN JDK 1.6.14
            Reporter: Stephen Watt
             Fix For: 0.5.1


I've tried this on a variety of configurations. Operating Systems SLES 10 SP2, SLES 11, RHEL 5.4 on a variety of machines using both ANT 1.8.1 and ANT 1.7.1 and SUN JDK 1.6.14. I've tried building this by going to the Hive Release page and download hive-0.5.0-src and using that. I've tried building by obtaining the branch tag release using svn checkout http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.5.0/ hive-0.5.0-dev. Always the same thing:

When I run the Hive 0.5 build it runs for just under 2 hours and then crashes with the following message (tail end of ant.log):
- - -
    [junit] diff /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build/ql/test/logs/negative/wrong_distinct2.q.out /home/hive/hive-0.5.0-build/hive-0.5.0-dev/ql/src/test/results/compiler/errors/wrong_distinct2.q.out
    [junit] Done query: wrong_distinct2.q
    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 90.974 sec
    [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.525 sec

BUILD FAILED
/home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:151: The following error occurred while executing this line:
/home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:91: The following error occurred while executing this line:
/home/hive/hive-0.5.0-build/hive-0.5.0-dev/build-common.xml:327: Tests failed!

Total time: 94 minutes 43 seconds
- - -

My build script is very simplistic :

#!/bin/sh

# Set Build Dependencies
set PATH=$PATH:/home/hive/Java-Versions/jdk1.6.0_14/bin/

export JAVA_HOME=/home/hive/Java-Versions/jdk1.6.0_14
export BUILD_DIR=/home/hive/hive-0.5.0-build
export ANT_HOME=$BUILD_DIR/apache-ant-1.8.1
export HIVE_INSTALL=$BUILD_DIR/hive-0.5.0-dev/
export PATH=$PATH:$ANT_HOME/bin

# Run Build and Unit Test
cd $HIVE_INSTALL

ant clean test tar -logfile ant.log

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1646) Hive 0.5 Build Crashing

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-1646:
---------------------------------

    Fix Version/s:     (was: 0.5.1)

> Hive 0.5 Build Crashing
> -----------------------
>
>                 Key: HIVE-1646
>                 URL: https://issues.apache.org/jira/browse/HIVE-1646
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.5.0
>         Environment: SLES 10 SP2, SLES 11, RHEL 5.4, ANT 1.8.1 and ANT 1.7.1, SUN JDK 1.6.14
>            Reporter: Stephen Watt
>
> I've tried this on a variety of configurations. Operating Systems SLES 10 SP2, SLES 11, RHEL 5.4 on a variety of machines using both ANT 1.8.1 and ANT 1.7.1 and SUN JDK 1.6.14. I've tried building this by going to the Hive Release page and download hive-0.5.0-src and using that. I've tried building by obtaining the branch tag release using svn checkout http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.5.0/ hive-0.5.0-dev. Always the same thing:
> When I run the Hive 0.5 build it runs for just under 2 hours and then crashes with the following message (tail end of ant.log):
> - - -
>     [junit] diff /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build/ql/test/logs/negative/wrong_distinct2.q.out /home/hive/hive-0.5.0-build/hive-0.5.0-dev/ql/src/test/results/compiler/errors/wrong_distinct2.q.out
>     [junit] Done query: wrong_distinct2.q
>     [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 90.974 sec
>     [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.525 sec
> BUILD FAILED
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:151: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:91: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build-common.xml:327: Tests failed!
> Total time: 94 minutes 43 seconds
> - - -
> My build script is very simplistic :
> #!/bin/sh
> # Set Build Dependencies
> set PATH=$PATH:/home/hive/Java-Versions/jdk1.6.0_14/bin/
> export JAVA_HOME=/home/hive/Java-Versions/jdk1.6.0_14
> export BUILD_DIR=/home/hive/hive-0.5.0-build
> export ANT_HOME=$BUILD_DIR/apache-ant-1.8.1
> export HIVE_INSTALL=$BUILD_DIR/hive-0.5.0-dev/
> export PATH=$PATH:$ANT_HOME/bin
> # Run Build and Unit Test
> cd $HIVE_INSTALL
> ant clean test tar -logfile ant.log

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1646) Hive 0.5 Build Crashing

Posted by "Steven Wong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910266#action_12910266 ] 

Steven Wong commented on HIVE-1646:
-----------------------------------

A suggestion: Search through your ant test output to look for nonzero values of "Failures:" or "Errors:". That will tell you which test class(es) failed. Suppose you find that TestCliDriver failed. Then look at the file TEST-org.apache.hadoop.hive.cli.TestCliDriver.xml to identify which specific test case(s) failed. (I don't remember the exact location of the file, but you can find it somewhere under build.)

Not sure if this is related, but when I ran ant test on trunk on my Mac OS X, 2 test cases failed because they called sed, and OS X's sed behaved differently than Linux's sed. I had to change the test cases a little for them to pass (not committed yet).


> Hive 0.5 Build Crashing
> -----------------------
>
>                 Key: HIVE-1646
>                 URL: https://issues.apache.org/jira/browse/HIVE-1646
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.5.0
>         Environment: SLES 10 SP2, SLES 11, RHEL 5.4, ANT 1.8.1 and ANT 1.7.1, SUN JDK 1.6.14
>            Reporter: Stephen Watt
>             Fix For: 0.5.1
>
>
> I've tried this on a variety of configurations. Operating Systems SLES 10 SP2, SLES 11, RHEL 5.4 on a variety of machines using both ANT 1.8.1 and ANT 1.7.1 and SUN JDK 1.6.14. I've tried building this by going to the Hive Release page and download hive-0.5.0-src and using that. I've tried building by obtaining the branch tag release using svn checkout http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.5.0/ hive-0.5.0-dev. Always the same thing:
> When I run the Hive 0.5 build it runs for just under 2 hours and then crashes with the following message (tail end of ant.log):
> - - -
>     [junit] diff /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build/ql/test/logs/negative/wrong_distinct2.q.out /home/hive/hive-0.5.0-build/hive-0.5.0-dev/ql/src/test/results/compiler/errors/wrong_distinct2.q.out
>     [junit] Done query: wrong_distinct2.q
>     [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 90.974 sec
>     [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.525 sec
> BUILD FAILED
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:151: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:91: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build-common.xml:327: Tests failed!
> Total time: 94 minutes 43 seconds
> - - -
> My build script is very simplistic :
> #!/bin/sh
> # Set Build Dependencies
> set PATH=$PATH:/home/hive/Java-Versions/jdk1.6.0_14/bin/
> export JAVA_HOME=/home/hive/Java-Versions/jdk1.6.0_14
> export BUILD_DIR=/home/hive/hive-0.5.0-build
> export ANT_HOME=$BUILD_DIR/apache-ant-1.8.1
> export HIVE_INSTALL=$BUILD_DIR/hive-0.5.0-dev/
> export PATH=$PATH:$ANT_HOME/bin
> # Run Build and Unit Test
> cd $HIVE_INSTALL
> ant clean test tar -logfile ant.log

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1646) Hive 0.5 Build Crashing

Posted by "Steven Wong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910285#action_12910285 ] 

Steven Wong commented on HIVE-1646:
-----------------------------------

I ran ant package and ant test as 2 separate commands. The former succeeded, the latter failed. The last few output lines of my ant test are:

    [junit] Done query: wrong_distinct2.q
    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 340.872 sec
    [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.498 sec
    [junit] Running org.apache.hadoop.hive.ql.udf.TestUDFDateAdd
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.264 sec
    [junit] Running org.apache.hadoop.hive.ql.udf.TestUDFDateDiff
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.214 sec
    [junit] Running org.apache.hadoop.hive.ql.udf.TestUDFDateSub
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.147 sec

BUILD FAILED
/Users/swong/dev/svn/asf/hadoop/hive/trunk/build.xml:168: The following error occurred while executing this line:
/Users/swong/dev/svn/asf/hadoop/hive/trunk/build.xml:105: The following error occurred while executing this line:
/Users/swong/dev/svn/asf/hadoop/hive/trunk/build-common.xml:446: Tests failed!

Total time: 190 minutes 53 seconds


> Hive 0.5 Build Crashing
> -----------------------
>
>                 Key: HIVE-1646
>                 URL: https://issues.apache.org/jira/browse/HIVE-1646
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.5.0
>         Environment: SLES 10 SP2, SLES 11, RHEL 5.4, ANT 1.8.1 and ANT 1.7.1, SUN JDK 1.6.14
>            Reporter: Stephen Watt
>             Fix For: 0.5.1
>
>
> I've tried this on a variety of configurations. Operating Systems SLES 10 SP2, SLES 11, RHEL 5.4 on a variety of machines using both ANT 1.8.1 and ANT 1.7.1 and SUN JDK 1.6.14. I've tried building this by going to the Hive Release page and download hive-0.5.0-src and using that. I've tried building by obtaining the branch tag release using svn checkout http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.5.0/ hive-0.5.0-dev. Always the same thing:
> When I run the Hive 0.5 build it runs for just under 2 hours and then crashes with the following message (tail end of ant.log):
> - - -
>     [junit] diff /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build/ql/test/logs/negative/wrong_distinct2.q.out /home/hive/hive-0.5.0-build/hive-0.5.0-dev/ql/src/test/results/compiler/errors/wrong_distinct2.q.out
>     [junit] Done query: wrong_distinct2.q
>     [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 90.974 sec
>     [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.525 sec
> BUILD FAILED
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:151: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:91: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build-common.xml:327: Tests failed!
> Total time: 94 minutes 43 seconds
> - - -
> My build script is very simplistic :
> #!/bin/sh
> # Set Build Dependencies
> set PATH=$PATH:/home/hive/Java-Versions/jdk1.6.0_14/bin/
> export JAVA_HOME=/home/hive/Java-Versions/jdk1.6.0_14
> export BUILD_DIR=/home/hive/hive-0.5.0-build
> export ANT_HOME=$BUILD_DIR/apache-ant-1.8.1
> export HIVE_INSTALL=$BUILD_DIR/hive-0.5.0-dev/
> export PATH=$PATH:$ANT_HOME/bin
> # Run Build and Unit Test
> cd $HIVE_INSTALL
> ant clean test tar -logfile ant.log

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1646) Hive 0.5 Build Crashing

Posted by "Stephen Watt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910278#action_12910278 ] 

Stephen Watt commented on HIVE-1646:
------------------------------------

@Steven thanks for the comment. When a build is successful I would it expect it to complete, and then provide a report of which test cases failed. You can then use that to debug each test case individually in eclipse. This is at least the way it works with the Hadoop build. With this Hive build, it appears the actual build is crashing as it never gets to the point where the build completes and it provides the ant build report. I would expect for an official Hive release for the build to at least complete without crashing, even if there are one or two test cases that fail. 

Does your build on OS/X actually complete and you see the build report? i.e.  You are not seeing this failure message?
/home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:151: The following error occurred while executing this line:
/home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:91: The following error occurred while executing this line:
/home/hive/hive-0.5.0-build/hive-0.5.0-dev/build-common.xml:327: Tests failed!

> Hive 0.5 Build Crashing
> -----------------------
>
>                 Key: HIVE-1646
>                 URL: https://issues.apache.org/jira/browse/HIVE-1646
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.5.0
>         Environment: SLES 10 SP2, SLES 11, RHEL 5.4, ANT 1.8.1 and ANT 1.7.1, SUN JDK 1.6.14
>            Reporter: Stephen Watt
>             Fix For: 0.5.1
>
>
> I've tried this on a variety of configurations. Operating Systems SLES 10 SP2, SLES 11, RHEL 5.4 on a variety of machines using both ANT 1.8.1 and ANT 1.7.1 and SUN JDK 1.6.14. I've tried building this by going to the Hive Release page and download hive-0.5.0-src and using that. I've tried building by obtaining the branch tag release using svn checkout http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.5.0/ hive-0.5.0-dev. Always the same thing:
> When I run the Hive 0.5 build it runs for just under 2 hours and then crashes with the following message (tail end of ant.log):
> - - -
>     [junit] diff /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build/ql/test/logs/negative/wrong_distinct2.q.out /home/hive/hive-0.5.0-build/hive-0.5.0-dev/ql/src/test/results/compiler/errors/wrong_distinct2.q.out
>     [junit] Done query: wrong_distinct2.q
>     [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 90.974 sec
>     [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.525 sec
> BUILD FAILED
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:151: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:91: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build-common.xml:327: Tests failed!
> Total time: 94 minutes 43 seconds
> - - -
> My build script is very simplistic :
> #!/bin/sh
> # Set Build Dependencies
> set PATH=$PATH:/home/hive/Java-Versions/jdk1.6.0_14/bin/
> export JAVA_HOME=/home/hive/Java-Versions/jdk1.6.0_14
> export BUILD_DIR=/home/hive/hive-0.5.0-build
> export ANT_HOME=$BUILD_DIR/apache-ant-1.8.1
> export HIVE_INSTALL=$BUILD_DIR/hive-0.5.0-dev/
> export PATH=$PATH:$ANT_HOME/bin
> # Run Build and Unit Test
> cd $HIVE_INSTALL
> ant clean test tar -logfile ant.log

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1646) Hive 0.5 Build Crashing

Posted by "Steven Wong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910400#action_12910400 ] 

Steven Wong commented on HIVE-1646:
-----------------------------------

@Stephen I just looked at the saved output of my past ant runs. It hardly took any time. :)

Ant test will fail if any test case fails.


> Hive 0.5 Build Crashing
> -----------------------
>
>                 Key: HIVE-1646
>                 URL: https://issues.apache.org/jira/browse/HIVE-1646
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.5.0
>         Environment: SLES 10 SP2, SLES 11, RHEL 5.4, ANT 1.8.1 and ANT 1.7.1, SUN JDK 1.6.14
>            Reporter: Stephen Watt
>             Fix For: 0.5.1
>
>
> I've tried this on a variety of configurations. Operating Systems SLES 10 SP2, SLES 11, RHEL 5.4 on a variety of machines using both ANT 1.8.1 and ANT 1.7.1 and SUN JDK 1.6.14. I've tried building this by going to the Hive Release page and download hive-0.5.0-src and using that. I've tried building by obtaining the branch tag release using svn checkout http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.5.0/ hive-0.5.0-dev. Always the same thing:
> When I run the Hive 0.5 build it runs for just under 2 hours and then crashes with the following message (tail end of ant.log):
> - - -
>     [junit] diff /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build/ql/test/logs/negative/wrong_distinct2.q.out /home/hive/hive-0.5.0-build/hive-0.5.0-dev/ql/src/test/results/compiler/errors/wrong_distinct2.q.out
>     [junit] Done query: wrong_distinct2.q
>     [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 90.974 sec
>     [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.525 sec
> BUILD FAILED
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:151: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:91: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build-common.xml:327: Tests failed!
> Total time: 94 minutes 43 seconds
> - - -
> My build script is very simplistic :
> #!/bin/sh
> # Set Build Dependencies
> set PATH=$PATH:/home/hive/Java-Versions/jdk1.6.0_14/bin/
> export JAVA_HOME=/home/hive/Java-Versions/jdk1.6.0_14
> export BUILD_DIR=/home/hive/hive-0.5.0-build
> export ANT_HOME=$BUILD_DIR/apache-ant-1.8.1
> export HIVE_INSTALL=$BUILD_DIR/hive-0.5.0-dev/
> export PATH=$PATH:$ANT_HOME/bin
> # Run Build and Unit Test
> cd $HIVE_INSTALL
> ant clean test tar -logfile ant.log

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1646) Hive 0.5 Build Crashing

Posted by "Stephen Watt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910335#action_12910335 ] 

Stephen Watt commented on HIVE-1646:
------------------------------------

@Steven Many thanks for taking the time to reproduce the error ! I greatly appreciate it.

I ran the ant targets individually and like yourself, the "package" and "tar" targets works just fine for me also. I am also seeing the failure occurring in the "test" target. I did a bit more digging and ran the dependency targets for "test" (clean-test and jar) and they completed successfully as well. This leaves me to believe that the build failure is occurring with the <iterate target="test"/> command below:

  <target name="test"
          depends="clean-test,jar"
          description="Run tests">
    <iterate target="test"/>
    <iterate-cpp target="test"/>
  </target>

> Hive 0.5 Build Crashing
> -----------------------
>
>                 Key: HIVE-1646
>                 URL: https://issues.apache.org/jira/browse/HIVE-1646
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.5.0
>         Environment: SLES 10 SP2, SLES 11, RHEL 5.4, ANT 1.8.1 and ANT 1.7.1, SUN JDK 1.6.14
>            Reporter: Stephen Watt
>             Fix For: 0.5.1
>
>
> I've tried this on a variety of configurations. Operating Systems SLES 10 SP2, SLES 11, RHEL 5.4 on a variety of machines using both ANT 1.8.1 and ANT 1.7.1 and SUN JDK 1.6.14. I've tried building this by going to the Hive Release page and download hive-0.5.0-src and using that. I've tried building by obtaining the branch tag release using svn checkout http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.5.0/ hive-0.5.0-dev. Always the same thing:
> When I run the Hive 0.5 build it runs for just under 2 hours and then crashes with the following message (tail end of ant.log):
> - - -
>     [junit] diff /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build/ql/test/logs/negative/wrong_distinct2.q.out /home/hive/hive-0.5.0-build/hive-0.5.0-dev/ql/src/test/results/compiler/errors/wrong_distinct2.q.out
>     [junit] Done query: wrong_distinct2.q
>     [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 90.974 sec
>     [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.525 sec
> BUILD FAILED
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:151: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:91: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build-common.xml:327: Tests failed!
> Total time: 94 minutes 43 seconds
> - - -
> My build script is very simplistic :
> #!/bin/sh
> # Set Build Dependencies
> set PATH=$PATH:/home/hive/Java-Versions/jdk1.6.0_14/bin/
> export JAVA_HOME=/home/hive/Java-Versions/jdk1.6.0_14
> export BUILD_DIR=/home/hive/hive-0.5.0-build
> export ANT_HOME=$BUILD_DIR/apache-ant-1.8.1
> export HIVE_INSTALL=$BUILD_DIR/hive-0.5.0-dev/
> export PATH=$PATH:$ANT_HOME/bin
> # Run Build and Unit Test
> cd $HIVE_INSTALL
> ant clean test tar -logfile ant.log

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HIVE-1646) Hive 0.5 Build Crashing

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach resolved HIVE-1646.
----------------------------------

    Resolution: Won't Fix

> Hive 0.5 Build Crashing
> -----------------------
>
>                 Key: HIVE-1646
>                 URL: https://issues.apache.org/jira/browse/HIVE-1646
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.5.0
>         Environment: SLES 10 SP2, SLES 11, RHEL 5.4, ANT 1.8.1 and ANT 1.7.1, SUN JDK 1.6.14
>            Reporter: Stephen Watt
>
> I've tried this on a variety of configurations. Operating Systems SLES 10 SP2, SLES 11, RHEL 5.4 on a variety of machines using both ANT 1.8.1 and ANT 1.7.1 and SUN JDK 1.6.14. I've tried building this by going to the Hive Release page and download hive-0.5.0-src and using that. I've tried building by obtaining the branch tag release using svn checkout http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.5.0/ hive-0.5.0-dev. Always the same thing:
> When I run the Hive 0.5 build it runs for just under 2 hours and then crashes with the following message (tail end of ant.log):
> - - -
>     [junit] diff /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build/ql/test/logs/negative/wrong_distinct2.q.out /home/hive/hive-0.5.0-build/hive-0.5.0-dev/ql/src/test/results/compiler/errors/wrong_distinct2.q.out
>     [junit] Done query: wrong_distinct2.q
>     [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 90.974 sec
>     [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.525 sec
> BUILD FAILED
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:151: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:91: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build-common.xml:327: Tests failed!
> Total time: 94 minutes 43 seconds
> - - -
> My build script is very simplistic :
> #!/bin/sh
> # Set Build Dependencies
> set PATH=$PATH:/home/hive/Java-Versions/jdk1.6.0_14/bin/
> export JAVA_HOME=/home/hive/Java-Versions/jdk1.6.0_14
> export BUILD_DIR=/home/hive/hive-0.5.0-build
> export ANT_HOME=$BUILD_DIR/apache-ant-1.8.1
> export HIVE_INSTALL=$BUILD_DIR/hive-0.5.0-dev/
> export PATH=$PATH:$ANT_HOME/bin
> # Run Build and Unit Test
> cd $HIVE_INSTALL
> ant clean test tar -logfile ant.log

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1646) Hive 0.5 Build Crashing

Posted by "Stephen Watt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916336#action_12916336 ] 

Stephen Watt commented on HIVE-1646:
------------------------------------

I finally have this working. Apparently, the src tree from the Release TAR is what does not build. i.e. the tarball you get from "Hive Downloads". If you go ahead and do an svn checkout of "http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.5.0/" it will build. For the record, I was using ANT 1.8.1 and SUN JDK 1.6.14 

I'm going to leave this open as there is still an issue as the Tarball is clearly different to the tagged release.

> Hive 0.5 Build Crashing
> -----------------------
>
>                 Key: HIVE-1646
>                 URL: https://issues.apache.org/jira/browse/HIVE-1646
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.5.0
>         Environment: SLES 10 SP2, SLES 11, RHEL 5.4, ANT 1.8.1 and ANT 1.7.1, SUN JDK 1.6.14
>            Reporter: Stephen Watt
>             Fix For: 0.5.1
>
>
> I've tried this on a variety of configurations. Operating Systems SLES 10 SP2, SLES 11, RHEL 5.4 on a variety of machines using both ANT 1.8.1 and ANT 1.7.1 and SUN JDK 1.6.14. I've tried building this by going to the Hive Release page and download hive-0.5.0-src and using that. I've tried building by obtaining the branch tag release using svn checkout http://svn.apache.org/repos/asf/hadoop/hive/tags/release-0.5.0/ hive-0.5.0-dev. Always the same thing:
> When I run the Hive 0.5 build it runs for just under 2 hours and then crashes with the following message (tail end of ant.log):
> - - -
>     [junit] diff /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build/ql/test/logs/negative/wrong_distinct2.q.out /home/hive/hive-0.5.0-build/hive-0.5.0-dev/ql/src/test/results/compiler/errors/wrong_distinct2.q.out
>     [junit] Done query: wrong_distinct2.q
>     [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 90.974 sec
>     [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.525 sec
> BUILD FAILED
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:151: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build.xml:91: The following error occurred while executing this line:
> /home/hive/hive-0.5.0-build/hive-0.5.0-dev/build-common.xml:327: Tests failed!
> Total time: 94 minutes 43 seconds
> - - -
> My build script is very simplistic :
> #!/bin/sh
> # Set Build Dependencies
> set PATH=$PATH:/home/hive/Java-Versions/jdk1.6.0_14/bin/
> export JAVA_HOME=/home/hive/Java-Versions/jdk1.6.0_14
> export BUILD_DIR=/home/hive/hive-0.5.0-build
> export ANT_HOME=$BUILD_DIR/apache-ant-1.8.1
> export HIVE_INSTALL=$BUILD_DIR/hive-0.5.0-dev/
> export PATH=$PATH:$ANT_HOME/bin
> # Run Build and Unit Test
> cd $HIVE_INSTALL
> ant clean test tar -logfile ant.log

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.