You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Sichi (JIRA)" <ji...@apache.org> on 2011/02/01 23:33:28 UTC

[jira] Updated: (HIVE-1896) HBase and Contrib JAR names are missing version numbers

     [ https://issues.apache.org/jira/browse/HIVE-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Sichi updated HIVE-1896:
-----------------------------

    Status: Open  (was: Patch Available)

testCliDriver_java_mr_example is failing due to the expanded paths in the .q.out file; these will need a masking pattern.

    [junit] Begin query: java_mr_example.q
    [junit] diff -a -I file: -I pfile: -I hdfs: -I /tmp/ -I invalidscheme: -I lastUpdateTime -I lastAccessTime -I [Oo]wner -I CreateTime -I LastAccessTime -I Location -I transient_lastDdlTime -I last_modified_ -I java.lang.RuntimeException -I at org -I at sun -I at java -I at junit -I Caused by: -I LOCK_QUERYID: -I grantTime -I [.][.][.] [0-9]* more /data/users/jsichi/open/test-trunk/build/contrib/test/logs/contribclientpositive/java_mr_example.q.out /data/users/jsichi/open/test-trunk/contrib/src/test/results/clientpositive/java_mr_example.q.out
    [junit] 4c4
    [junit] <  USING 'java -cp /data/users/jsichi/open/test-trunk/build/contrib/hive-contrib-0.7.0-SNAPSHOT.jar org.apache.hadoop.hive.contrib.mr.example.IdentityMapper'
    [junit] ---
    [junit] >  USING 'java -cp /Users/carl/Work/repos/hive-rev/build/contrib/hive-contrib-0.7.0-SNAPSHOT.jar org.apache.hadoop.hive.contrib.mr.example.IdentityMapper'
    [junit] 8c8
    [junit] <    USING 'java -cp /data/users/jsichi/open/test-trunk/build/contrib/hive-contrib-0.7.0-SNAPSHOT.jar org.apache.hadoop.hive.contrib.mr.example.WordCountReduce'
    [junit] ---
    [junit] >    USING 'java -cp /Users/carl/Work/repos/hive-rev/build/contrib/hive-contrib-0.7.0-SNAPSHOT.jar org.apache.hadoop.hive.contrib.mr.example.WordCountReduce'
    [junit] 16c16
    [junit] <  USING 'java -cp /data/users/jsichi/open/test-trunk/build/contrib/hive-contrib-0.7.0-SNAPSHOT.jar org.apache.hadoop.hive.contrib.mr.example.IdentityMapper'
    [junit] ---
    [junit] >  USING 'java -cp /Users/carl/Work/repos/hive-rev/build/contrib/hive-contrib-0.7.0-SNAPSHOT.jar org.apache.hadoop.hive.contrib.mr.example.IdentityMapper'
    [junit] 20c20
    [junit] <    USING 'java -cp /data/users/jsichi/open/test-trunk/build/contrib/hive-contrib-0.7.0-SNAPSHOT.jar org.apache.hadoop.hive.contrib.mr.example.WordCountReduce'
    [junit] ---
    [junit] >    USING 'java -cp /Users/carl/Work/repos/hive-rev/build/contrib/hive-contrib-0.7.0-SNAPSHOT.jar org.apache.hadoop.hive.contrib.mr.example.WordCountReduce'
    [junit] Exception: Client execution results failed with error code = 1
    [junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs.
    [junit] junit.framework.AssertionFailedError: Client execution results failed with error code = 1
    [junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs.
    [junit] 	at junit.framework.Assert.fail(Assert.java:47)
    [junit] 	at org.apache.hadoop.hive.cli.TestContribCliDriver.testCliDriver_java_mr_example(TestContribCliDriver.java:250)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit] 	at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit] 	at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit] 	at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit] 	at junit.framework.TestResult.run(TestResult.java:109)
    [junit] 	at junit.framework.TestCase.run(TestCase.java:118)
    [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit] 	at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:931)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:785)


> HBase and Contrib JAR names are missing version numbers
> -------------------------------------------------------
>
>                 Key: HIVE-1896
>                 URL: https://issues.apache.org/jira/browse/HIVE-1896
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.7.0
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>         Attachments: HIVE-1896.1.patch.txt
>
>
> Also, does anyone know why the hbase and contrib JARs use underscores
> instead of dashes in their names? Can I change this or will it break something?
> {code}
> ./build/dist/lib/hive-anttasks-0.7.0-SNAPSHOT.jar
> ./build/dist/lib/hive-cli-0.7.0-SNAPSHOT.jar
> ./build/dist/lib/hive-common-0.7.0-SNAPSHOT.jar
> ./build/dist/lib/hive-exec-0.7.0-SNAPSHOT.jar
> ./build/dist/lib/hive-hwi-0.7.0-SNAPSHOT.jar
> ./build/dist/lib/hive-jdbc-0.7.0-SNAPSHOT.jar
> ./build/dist/lib/hive-metastore-0.7.0-SNAPSHOT.jar
> ./build/dist/lib/hive-serde-0.7.0-SNAPSHOT.jar
> ./build/dist/lib/hive-service-0.7.0-SNAPSHOT.jar
> ./build/dist/lib/hive-shims-0.7.0-SNAPSHOT.jar
> ./build/dist/lib/hive_contrib.jar                                   <------
> ./build/dist/lib/hive_hbase-handler.jar                     <------
> {code}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira