You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (Created) (JIRA)" <ji...@apache.org> on 2011/12/22 01:59:32 UTC

[jira] [Created] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
-----------------------------------------------------------------------------

                 Key: HIVE-2673
                 URL: https://issues.apache.org/jira/browse/HIVE-2673
             Project: Hive
          Issue Type: Bug
          Components: Build Infrastructure
            Reporter: Carl Steinbach
            Assignee: John Sichi
             Fix For: 0.8.1




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

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

Carl Steinbach updated HIVE-2673:
---------------------------------

    Fix Version/s:     (was: 0.8.1)
    
> Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-2673
>                 URL: https://issues.apache.org/jira/browse/HIVE-2673
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>         Attachments: HIVE-2673.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

Posted by "Carl Steinbach (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174537#comment-13174537 ] 

Carl Steinbach commented on HIVE-2673:
--------------------------------------

* Generate eclipse templates and load the project into Eclipse.
* Run the TestJdbc launch configuration, get the following exception:

{noformat}

java.lang.RuntimeException: Failed to load Hive builtin functions
	at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:190)
	at org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.<init>(HiveServer.java:135)
	at org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.<init>(HiveServer.java:121)
	at org.apache.hadoop.hive.jdbc.HiveConnection.<init>(HiveConnection.java:76)
	at org.apache.hadoop.hive.jdbc.HiveDriver.connect(HiveDriver.java:104)
	at java.sql.DriverManager.getConnection(DriverManager.java:582)
	at java.sql.DriverManager.getConnection(DriverManager.java:185)
	at org.apache.hadoop.hive.jdbc.TestJdbcDriver.setUp(TestJdbcDriver.java:87)
	at junit.framework.TestCase.runBare(TestCase.java:132)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:114)
	at java.util.jar.JarFile.<init>(JarFile.java:135)
	at java.util.jar.JarFile.<init>(JarFile.java:72)
	at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72)
	at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
	at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:55)
	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
	at java.net.URL.openStream(URL.java:1010)
	at org.apache.hadoop.hive.ql.exec.FunctionRegistry.registerFunctionsFromPluginJar(FunctionRegistry.java:1196)
	at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:187)
	... 20 more
{noformat}
                
> Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-2673
>                 URL: https://issues.apache.org/jira/browse/HIVE-2673
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Carl Steinbach
>            Assignee: John Sichi
>             Fix For: 0.8.1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

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

Carl Steinbach updated HIVE-2673:
---------------------------------

    Status: Patch Available  (was: Open)
    
> Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-2673
>                 URL: https://issues.apache.org/jira/browse/HIVE-2673
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>             Fix For: 0.8.1
>
>         Attachments: HIVE-2673.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

Posted by "John Sichi (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174605#comment-13174605 ] 

John Sichi commented on HIVE-2673:
----------------------------------

Hmmm, it's because Eclipse is loading BuiltinUtils.class from its own crazy build location instead of from the .jar like it's supposed to:

Should be:

jar:file:/Users/jsichi/open/hive-trunk/build/builtins/hive-builtins-0.9.0-SNAPSHOT.jar!/META-INF/class-info.xml

But is:

jar:file:/Users/jsichi/open/hive-trunk/build/eclipse-classes/!/META-INF/class-info.xml

Do you know how to tell it to load from the jar instead?

                
> Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-2673
>                 URL: https://issues.apache.org/jira/browse/HIVE-2673
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Carl Steinbach
>            Assignee: John Sichi
>             Fix For: 0.8.1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

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

Carl Steinbach updated HIVE-2673:
---------------------------------

    Attachment: HIVE-2673.1.patch.txt
    
> Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-2673
>                 URL: https://issues.apache.org/jira/browse/HIVE-2673
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>             Fix For: 0.8.1
>
>         Attachments: HIVE-2673.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

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

Ashutosh Chauhan updated HIVE-2673:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.0
           Status: Resolved  (was: Patch Available)

+1 Committed to trunk.
                
> Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-2673
>                 URL: https://issues.apache.org/jira/browse/HIVE-2673
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>             Fix For: 0.9.0
>
>         Attachments: HIVE-2673.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

Posted by "Carl Steinbach (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174538#comment-13174538 ] 

Carl Steinbach commented on HIVE-2673:
--------------------------------------

@John: Can you take a look? Thanks!
                
> Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-2673
>                 URL: https://issues.apache.org/jira/browse/HIVE-2673
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Carl Steinbach
>            Assignee: John Sichi
>             Fix For: 0.8.1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

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

Carl Steinbach reassigned HIVE-2673:
------------------------------------

    Assignee: Carl Steinbach  (was: John Sichi)
    
> Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-2673
>                 URL: https://issues.apache.org/jira/browse/HIVE-2673
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>             Fix For: 0.8.1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira