hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <>
Subject [jira] Commented: (HIVE-1405) Implement a .hiverc startup file
Date Fri, 18 Jun 2010 02:28:23 GMT


Edward Capriolo commented on HIVE-1405:

[edward@ec dist]$ echo show tables > a.sql
[edward@ec dist]$ bin/hive
[edward@ec dist]$ chmod a+x a.sql 
[edward@ec dist]$ bin/hive
Hive history file=/tmp/edward/hive_job_log_edward_201006172223_1189860304.txt
[edward@ec dist]$ pwd
[edward@ec dist]$ bin/hive
Hive history file=/tmp/edward/hive_job_log_edward_201006172223_310534855.txt
hive> ! /mnt/data/hive/hive/build/dist/a.sql;
/mnt/data/hive/hive/build/dist/a.sql: line 1: show: command not found
Command failed with exit code = 127

! seems to execute bash commands

Dont we want to execute hive commands inside hive like add jar

> Implement a .hiverc startup file
> --------------------------------
>                 Key: HIVE-1405
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: New Feature
>            Reporter: Jonathan Chang
>            Assignee: John Sichi
> When deploying hive, it would be nice to have a .hiverc file containing statements that
would be automatically run whenever hive is launched.  This way, we can automatically add
JARs, create temporary functions, set flags, etc. for all users quickly. 
> This should ideally be set up like .bashrc and the like with a global version and a user-local

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

View raw message