hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-617) Script to start classes with hadoop and hive environment
Date Tue, 28 Jul 2009 16:14:14 GMT

    [ https://issues.apache.org/jira/browse/HIVE-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736121#action_12736121
] 

Edward Capriolo commented on HIVE-617:
--------------------------------------

TestHive is really not intended for inclusion. The target of the jira is the jar.sh script.
We really don't test any of the sh scripts directly since they require the hadoop environment
to work TestCLIDriver is an emulated environment. We can include TestHive but it is not actually
a test of the jar.sh.

> Script to start classes with hadoop and hive environment
> --------------------------------------------------------
>
>                 Key: HIVE-617
>                 URL: https://issues.apache.org/jira/browse/HIVE-617
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Clients
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>            Priority: Minor
>         Attachments: hive-617.2.patch, hive-617.patch, TestHive.java
>
>
> At times it may be required to write a process that uses both the Hadoop and Hive environment
and API. For example, someone may write an application that uses the HIVE api directly. This
patch will add a more generic --jar extension that can start any class with the proper environment.
 
> RUNJAR=/opt/hive/lib/hive_hwi.jar RUNCLASS=test.TestHive hive --service jar

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


Mime
View raw message