RE: GenericUdf and Jdbc issues

2012-06-01 Thread Maoz Gelbart
GeoIP.java I came to the conclusion that if you add a file to the distributed cache using 'ADD FILE' You can reliably assume it will be in the current working directory and this works. File f = new File(database); I hope this helps. Edward On Tue, May 29, 2012 at 8:35 AM, Maoz Gel

GenericUdf and Jdbc issues

2012-05-29 Thread Maoz Gelbart
Hi all, I am using Hive 0.7.1 over Cloudera's Hadoop distribution 0.20.2 and MapR hdfs distribution 1.1.1. I wrote a GenericUDF packaged as a Jar that attempts to open a local resource during its initialization at initialize(ObjectInspector[] arguments) command. When I run with the CLI, everyth