phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: Still having issues
Date Thu, 16 Feb 2017 19:08:09 GMT
If you are using CDH, Phoenix has to be patched to work with Cloudera's
HBase derivative. You might try https://github.com/
chiastic-security/phoenix-for-cloudera/tree/4.9-HBase-1.2-cdh5.9
<https://github.com/chiastic-security/phoenix-for-cloudera/tree/4.9-HBase-1.2-cdh5.9?files=1>

Check out this tree and build. The procedure for building is the same (
https://phoenix.apache.org/building.html) This will pick up Cloudera's
artifacts and produce a binary compatible result.

On Thu, Feb 16, 2017 at 7:53 AM, Josh Mahonin <jmahonin@gmail.com> wrote:

> It still seems that Spark is unable to find all of the Phoenix/HBase
> classes that are necessary.
>
> As a reference, I've got a Docker image that might help:
>
> https://github.com/jmahonin/docker-phoenix/tree/phoenix_spark
>
> The versions of Phoenix and Spark it uses are a bit out of date, but it
> shows the necessary classes and settings to make Spark happy.
>
> Good luck!
>
> Josh
>
> On Thu, Feb 16, 2017 at 4:10 AM, Dequn Zhang <d.q.zhang.chn@gmail.com>
> wrote:
>
>> Please check whether your table is created by Phoenix( means this table
>> is not a *Mapping* ) , you can follow the sample on phoenix official
>> site, only need *change the version to the latest*, use *phoenix-client*
>> instead, and promise *Schema Corresponding*. Create a new table to test,
>> use simple data, *be independent to your business*.
>>
>> We don’t know your background and code, so that’s all I can help you.
>>
>>
>> On 16 February 2017 at 16:57:26, Nimrod Oren (
>> nimrod.oren@veracity-group.com) wrote:
>>
>> org.apache.hadoop.hbase.HTableDescriptor.setValue
>>
>>
>


-- 
Best regards,

   - Andy

If you are given a choice, you believe you have acted freely. - Raymond
Teller (via Peter Watts)

Mime
View raw message