phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-19) Enhance JDBC connection of Phoenix to support connecting to a Secure HBase cluster.
Date Sun, 01 Jun 2014 07:13:01 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014920#comment-14014920
] 

Anil Gupta commented on PHOENIX-19:
-----------------------------------

[~jamestaylor]: I made the changes recommended by you and Gabriel.  I have been working on
this patch on "master-Apache". As per your comment does it mean that i need to check out two
other branches(3.0.0 and 4.0.0) and apply "master-Apache" branch patch on these? I looked
for 3.x and 4.x branches on this page https://github.com/forcedotcom/phoenix but i could not
find any relevant branch. Please let me know how to proceed.

Regarding running JUnits, running with -DnumForkedIT=1 made an impact and i proceeded further.
However, i see these failures now:
Tests run: 73, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.141 sec <<< FAILURE!
- in org.apache.phoenix.compile.QueryCompileTest
testDeleteFromImmutableWithKV(org.apache.phoenix.compile.QueryCompileTest)  Time elapsed:
0.011 sec  <<< ERROR!
java.lang.UnsupportedOperationException: ClientKeyValue does not support a single backing
buffer.
	at org.apache.phoenix.client.ClientKeyValue.getBuffer(ClientKeyValue.java:500)
	at org.apache.phoenix.query.ConnectionlessQueryServicesImpl.updateIndexState(ConnectionlessQueryServicesImpl.java:247)
	at org.apache.phoenix.schema.MetaDataClient.alterIndex(MetaDataClient.java:1689)
	at org.apache.phoenix.schema.MetaDataClient.buildIndex(MetaDataClient.java:453)
	at org.apache.phoenix.schema.MetaDataClient.createIndex(MetaDataClient.java:571)
	at org.apache.phoenix.compile.CreateIndexCompiler$1.execute(CreateIndexCompiler.java:79)
	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableCreateIndexStatement.executeUpdate(PhoenixStatement.java:396)
	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableCreateIndexStatement.execute(PhoenixStatement.java:389)
	at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1029)
	at org.apache.phoenix.compile.QueryCompileTest.testDeleteFromImmutableWithKV(QueryCompileTest.java:1099)

Running org.apache.phoenix.compile.QueryMetaDataTest
Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec - in org.apache.phoenix.compile.QueryMetaDataTest
Running org.apache.phoenix.compile.QueryOptimizerTest
Tests run: 23, Failures: 0, Errors: 18, Skipped: 0, Time elapsed: 0.121 sec <<< FAILURE!
- in org.apache.phoenix.compile.QueryOptimizerTest
testChooseIndexEvenWithSelectionStar(org.apache.phoenix.compile.QueryOptimizerTest)  Time
elapsed: 0.004 sec  <<< ERROR!
java.lang.UnsupportedOperationException: ClientKeyValue does not support a single backing
buffer.
	at org.apache.phoenix.client.ClientKeyValue.getBuffer(ClientKeyValue.java:500)
	at org.apache.phoenix.query.ConnectionlessQueryServicesImpl.updateIndexState(ConnectionlessQueryServicesImpl.java:247)
	at org.apache.phoenix.schema.MetaDataClient.alterIndex(MetaDataClient.java:1689)
	at org.apache.phoenix.schema.MetaDataClient.buildIndex(MetaDataClient.java:453)
	at org.apache.phoenix.schema.MetaDataClient.createIndex(MetaDataClient.java:571)
	at org.apache.phoenix.compile.CreateIndexCompiler$1.execute(CreateIndexCompiler.java:79)
	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableCreateIndexStatement.executeUpdate(PhoenixStatement.java:396)
	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableCreateIndexStatement.execute(PhoenixStatement.java:389)
	at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1029)
	at org.apache.phoenix.compile.QueryOptimizerTest.testChooseIndexEvenWithSelectionStar(QueryOptimizerTest.java:147)

> Enhance JDBC connection of Phoenix to support connecting to a Secure HBase cluster.
> -----------------------------------------------------------------------------------
>
>                 Key: PHOENIX-19
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-19
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Anil Gupta
>              Labels: hbase, jdbc, secure
>             Fix For: 3.0.0
>
>         Attachments: SecureClusterConnectTest.java, phoenix-19-master-apache.patch, phoenix-19.patch
>
>
> This is being moved from github https://github.com/forcedotcom/phoenix/issues/550 to
JIRA.
> As per my discussion with James Taylor over here https://groups.google.com/forum/#!searchin/phoenix-hbase-user/secure$20cluster/phoenix-hbase-user/XHg2wXK4Hqo/qVTm92WLxUkJ
> and some other email exchanges. This ticket is to enhance the JDBC driver of phoenix
so that user can pass keytab and principal to connect to a secure cluster.
> As per our discussion over email, could you please outline the changes required to make
this enhancement?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message