Re: Load HFiles in Apache Phoenix

2017-10-23 Thread snhir...@gmail.com
On 2017-10-20 17:23, James Taylor wrote: > If you put together a nice example, we can post a link to it from the FAQ. > Sorry, but with open source, the answer is often "go look at the source > code". :-) Hi, James. I've been through the tests and cannot find anything

Re: Load HFiles in Apache Phoenix

2017-10-20 Thread James Taylor
If you put together a nice example, we can post a link to it from the FAQ. Sorry, but with open source, the answer is often "go look at the source code". :-) On Fri, Oct 20, 2017 at 2:13 PM, snhir...@gmail.com wrote: > > > On 2017-10-20 17:07, James Taylor

Re: Load HFiles in Apache Phoenix

2017-10-20 Thread snhir...@gmail.com
On 2017-10-20 17:07, James Taylor wrote: > Load Phoenix into Eclipse and search for references to > PhoenixRuntime.getUncommittedDataIterator(). There's even a unit test does > this. > Ok, I appreciate the response. But I've already encountered the source code

Re: Load HFiles in Apache Phoenix

2017-10-20 Thread James Taylor
Load Phoenix into Eclipse and search for references to PhoenixRuntime.getUncommittedDataIterator(). There's even a unit test does this. On Fri, Oct 20, 2017 at 2:04 PM, snhir...@gmail.com wrote: > > > On 2017-10-20 16:49, James Taylor wrote: > >

Re: Load HFiles in Apache Phoenix

2017-10-20 Thread snhir...@gmail.com
On 2017-10-20 16:49, James Taylor wrote: > Here's a little more info: > https://phoenix.apache.org/faq.html#Why_empty_key_value > > Lot's of hits here too: > http://search-hadoop.com/?project=Phoenix=empty+key+value > > On Fri, Oct 20, 2017 at 1:45 PM, sn5

Re: Load HFiles in Apache Phoenix

2017-10-20 Thread James Taylor
Here's a little more info: https://phoenix.apache.org/faq.html#Why_empty_key_value Lot's of hits here too: http://search-hadoop.com/?project=Phoenix=empty+key+value On Fri, Oct 20, 2017 at 1:45 PM, sn5 wrote: > It would be very helpful to see a complete, working example

Re: Load HFiles in Apache Phoenix

2017-10-20 Thread sn5
It would be very helpful to see a complete, working example (preferably with some comments) of this hfile load technique. Apparently it's a known idiom, but I've spent most of the afternoon searching Google and cannot find a single reference other than this thread. In particular I do not

Re: Load HFiles in Apache Phoenix

2016-04-27 Thread James Taylor
Hi Abel, Yes, you need to either include the empty key value or you need to declare your table as a view instead of a table (in which case it'd be read-only). Thanks, James On Wed, Apr 27, 2016 at 12:17 PM, Abel Fernández wrote: > Hi, > > I am trying to load files in

Load HFiles in Apache Phoenix

2016-04-27 Thread Abel Fernández
Hi, I am trying to load files in Apache Phoenix using HFiles. I do not have a csv so I need to load the Hfiles from a RDD. My problem is that I am not able to see the files using the apache api (select * from...) but when I do a scan of the table I see the files. Do I need to include the empty