Re: Command works inside hive but not outside

2011-10-02 Thread Mark Kerzner
Chinna, I wish it were that simple. This short command works, hive -e 'select * from apache_logs'; but a long command where I load a jar first, doesn't, hive -e 'add jar target/WebLogAnalyzer-1.0-SNAPSHOT-jar-with-dependencies.jar; create temporary function get_browser as "com.shmsoft.weblogana

Re: Command works inside hive but not outside

2011-09-28 Thread Chinna Rao Lalam 72745
Hi Mark, I think 'apache_logs' table created from hive shell and select command is executed from 'hive -e'(outside) so the hive shell process is different and 'hive -e' process is different if derby started in embeded mode(hive by default provided embeded derby) it can't see the tables of oth