Error while trying to debug Hive: "Cannot load this JVM TI agent twice..."

2015-02-11 Thread Luke Lovett
Hello Hive User Mailing List, I'm trying to debug a custom InputFormat that I'm using in Hive. I'm using version 0.12.0 of Hive and Hadoop 2.4.1. I'm having trouble attaching a debugger to my InputFormat class inside the Hive server. My session looks like this: $ ./hive-0.12.0/bin/hive --de

CombineHiveInputFormat does not call getSplits on custom InputFormat

2015-02-19 Thread Luke Lovett
I'm working on defining a custom InputFormat and OutputFormat for use with Hive. I'd like tables using these IF/OF to be native tables, so that I can LOAD DATA and INSERT INTO them. However, I'm finding that with the default CombineHiveInputFormat, the getSplits method of my InputFormat is not

Testing a HiveStoragePredicateHandler

2015-09-02 Thread Luke Lovett
I'm writing a HiveStoragePredicateHandler, and I'm trying to figure out the most appropriate way to write unit tests for the decomposePredicate method. I'm seeking advice for the best way to do this. The way I see it, there seem to be two obvious approaches: 1. Write a query as a string. Run it th