[jira] [Comment Edited] (PHOENIX-3291) Do not throw return value of Throwables#propagate call

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498278#comment-15498278 ] James Taylor edited comment on PHOENIX-3291 at 9/17/16 5:59 AM:

Re: Decode rowkey

2016-09-16 Thread Anil
HI, Please use the attached utils. let me know if you see any issue. thanks. Regards, Anil On 16 September 2016 at 22:45, Krishna wrote: > Hi, > > Does Phoenix have API for converting a rowkey (made up of multiple > columns) and in ImmutableBytesRow format to split

[jira] [Updated] (PHOENIX-3290) Move and/or combine as many NeedsOwnCluster tests to bring down test run time

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3290: -- Attachment: PHOENIX-3290_v5.patch > Move and/or combine as many NeedsOwnCluster tests to

[jira] [Updated] (PHOENIX-3290) Move and/or combine as many NeedsOwnCluster tests to bring down test run time

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3290: -- Attachment: PHOENIX-3290_v4.patch > Move and/or combine as many NeedsOwnCluster tests to

[jira] [Updated] (PHOENIX-3290) Move and/or combine as many NeedsOwnCluster tests to bring down test run time

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3290: -- Attachment: PHOENIX-3290_v3.patch > Move and/or combine as many NeedsOwnCluster tests to

[jira] [Updated] (PHOENIX-3290) Move and/or combine as many NeedsOwnCluster tests to bring down test run time

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3290: -- Attachment: (was: PHOENIX-3290_WIP.patch) > Move and/or combine as many NeedsOwnCluster

[jira] [Updated] (PHOENIX-3290) Move and/or combine as many NeedsOwnCluster tests to bring down test run time

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3290: -- Attachment: PHOENIX-3290_v2.patch > Move and/or combine as many NeedsOwnCluster tests to

[jira] [Updated] (PHOENIX-3291) Do not throw return value of Throwables#propagate call

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3291: -- Attachment: PHOENIX-3291.patch > Do not throw return value of Throwables#propagate call >

[jira] [Updated] (PHOENIX-3291) Do not throw return value of Throwables#propagate call

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3291: -- Summary: Do not throw return value of Throwables#propagate call (was: Do not throw return

[jira] [Updated] (PHOENIX-3291) Do not throw return value of Throwables#propagate calls

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3291: -- Summary: Do not throw return value of Throwables#propagate calls (was: Do not throw return

[jira] [Created] (PHOENIX-3291) Do not throw return value of Throwables.propagate(e)

2016-09-16 Thread James Taylor (JIRA)
James Taylor created PHOENIX-3291: - Summary: Do not throw return value of Throwables.propagate(e) Key: PHOENIX-3291 URL: https://issues.apache.org/jira/browse/PHOENIX-3291 Project: Phoenix

[jira] [Updated] (PHOENIX-3291) Do not throw return value of Throwables.propagate(e)

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3291: -- Fix Version/s: 4.8.1 4.9.0 > Do not throw return value of

[jira] [Updated] (PHOENIX-3174) Make minor upgrade a manual step

2016-09-16 Thread Samarth Jain (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Samarth Jain updated PHOENIX-3174: -- Attachment: PHOENIX-3174_v4_master.patch Thanks for the review, [~jamestaylor]. Attached is

Re: Decode rowkey

2016-09-16 Thread Jonathan Leech
This would be really useful. The use case I have that is similar is to map Phoenix data to Hive (but the subset of Hive that Impala understands). I imagine it could work by reading the System.catalog table, or connection metadata, and generating Hive create table statements. There would need to

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497639#comment-15497639 ] Julian Hyde commented on PHOENIX-476: - I agree with [~kliew]. The result should be (1, NULL).

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497545#comment-15497545 ] Kevin Liew commented on PHOENIX-476: The SQL92 spec states: {noformat} 4) Let Q be the result of that

[jira] [Updated] (PHOENIX-3290) Move and/or combine as many NeedsOwnCluster tests to bring down test run time

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3290: -- Attachment: PHOENIX-3290_WIP.patch > Move and/or combine as many NeedsOwnCluster tests to

[jira] [Updated] (PHOENIX-3290) Move and/or combine as many NeedsOwnCluster tests to bring down test run time

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3290: -- Attachment: PHOENIX-3290_WIP.patch > Move and/or combine as many NeedsOwnCluster tests to

[jira] [Created] (PHOENIX-3290) Move and/or combine as many NeedsOwnCluster tests to bring down test run time

2016-09-16 Thread James Taylor (JIRA)
James Taylor created PHOENIX-3290: - Summary: Move and/or combine as many NeedsOwnCluster tests to bring down test run time Key: PHOENIX-3290 URL: https://issues.apache.org/jira/browse/PHOENIX-3290

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497244#comment-15497244 ] James Taylor commented on PHOENIX-476: -- If you set a column value with a default back to null, then

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497128#comment-15497128 ] Kevin Liew edited comment on PHOENIX-476 at 9/16/16 7:15 PM: - If we consider

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497128#comment-15497128 ] Kevin Liew edited comment on PHOENIX-476 at 9/16/16 7:16 PM: - If we consider

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497128#comment-15497128 ] Kevin Liew edited comment on PHOENIX-476 at 9/16/16 7:15 PM: - If we consider

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497128#comment-15497128 ] Kevin Liew commented on PHOENIX-476: If we consider the following case: {noformat} create table

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496816#comment-15496816 ] Kevin Liew edited comment on PHOENIX-476 at 9/16/16 7:05 PM: - Thanks for the

[jira] [Commented] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497020#comment-15497020 ] James Taylor commented on PHOENIX-476: -- Thanks for the updated patch, [~kliew]. bq. For non-pk

[jira] [Comment Edited] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496816#comment-15496816 ] Kevin Liew edited comment on PHOENIX-476 at 9/16/16 6:21 PM: - Thanks for the

Re: Decode rowkey

2016-09-16 Thread James Taylor
See http://search-hadoop.com/m/9UY0h2ZCvra1NlgtC1=Re+Extracting+column+values+from+Phoenix+composite+primary+key On Fri, Sep 16, 2016 at 10:46 AM, Jonathan Leech wrote: > This would be really useful. The use case I have that is similar is to map > Phoenix data to Hive (but

Decode rowkey

2016-09-16 Thread Krishna
Hi, Does Phoenix have API for converting a rowkey (made up of multiple columns) and in ImmutableBytesRow format to split into primary key columns? I am performing a scan directly from HBase and would like to convert the rowkey into column values. We used Phoenix standard JDBC API while writing to

[jira] [Created] (PHOENIX-3289) Region servers crashing randomly with "Native memory allocation (malloc) failed to allocate 12288 bytes for committing reserved memory"

2016-09-16 Thread Ankit Singhal (JIRA)
Ankit Singhal created PHOENIX-3289: -- Summary: Region servers crashing randomly with "Native memory allocation (malloc) failed to allocate 12288 bytes for committing reserved memory" Key: PHOENIX-3289 URL:

[jira] [Updated] (PHOENIX-476) Support declaration of DEFAULT in CREATE statement

2016-09-16 Thread Kevin Liew (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Liew updated PHOENIX-476: --- Attachment: PHOENIX-476.2.patch Thanks for the feedback [~jamestaylor]. I attached a patch with

[jira] [Commented] (PHOENIX-3162) TableNotFoundException might be thrown when an index dropped while upserting.

2016-09-16 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496796#comment-15496796 ] Hudson commented on PHOENIX-3162: - SUCCESS: Integrated in Jenkins build Phoenix-4.8-HBase-1.2 #25 (See

[jira] [Commented] (PHOENIX-3159) CachingHTableFactory may close HTable during eviction even if it is getting used for writing by another thread.

2016-09-16 Thread Devaraj Das (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496617#comment-15496617 ] Devaraj Das commented on PHOENIX-3159: -- Will get to it today or over the weekend James >

[jira] [Updated] (PHOENIX-3174) Make minor upgrade a manual step

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-3174: -- Fix Version/s: (was: 4.8.1) > Make minor upgrade a manual step >

[jira] [Commented] (PHOENIX-3159) CachingHTableFactory may close HTable during eviction even if it is getting used for writing by another thread.

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496599#comment-15496599 ] James Taylor commented on PHOENIX-3159: --- [~devaraj] - would it be possible to give this a final

[jira] [Commented] (PHOENIX-3174) Make minor upgrade a manual step

2016-09-16 Thread James Taylor (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496595#comment-15496595 ] James Taylor commented on PHOENIX-3174: --- Also, would it be possible to add some tests in

[jira] [Commented] (PHOENIX-3287) SecureUserConnectionsTest is flapping

2016-09-16 Thread Josh Elser (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496559#comment-15496559 ] Josh Elser commented on PHOENIX-3287: - Oh funny. I'll take a look. Thanks, James! >

[jira] [Commented] (PHOENIX-3261) Phoenix includes a JAXB version that conflicts with CXF 3.0.x dependencies

2016-09-16 Thread Doug Holubek (JIRA)
[ https://issues.apache.org/jira/browse/PHOENIX-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496383#comment-15496383 ] Doug Holubek commented on PHOENIX-3261: --- This issue can be closed. For anyone who might be

[jira] [Created] (PHOENIX-3288) we should be able to fetch Namespace mapping properties from server so that every client doesn't need to provide that

2016-09-16 Thread Ankit Singhal (JIRA)
Ankit Singhal created PHOENIX-3288: -- Summary: we should be able to fetch Namespace mapping properties from server so that every client doesn't need to provide that Key: PHOENIX-3288 URL:

Re: I want to provide a module that provides the unshaded version of the jdbc client.

2016-09-16 Thread Marco Villalobos
TL;DR; Publish a non-shaded version of phoenix client to a maven repository because it would much easier for complex systems to utilize since it is meant to be used as a library. I'll elaborate, because both approaches have their benefits when done correctly. I want to constructively say