[ 
https://issues.apache.org/jira/browse/PHOENIX-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Toth updated PHOENIX-6633:
---------------------------------
    Description: 
We require explicitly specifying the ZK URL for the Phoenix-Spark connector.
Since having hbase-site.xml on the classpath is required by Phoenix anyway, we 
could use the quorum from hbase-site.xml as default, which would make life 
easier for users.

Phoenix already handles this, we just need to remove the check, and adopt the 
JDBC URL not to specify the ZK quorum if missing.

The current zkUrl code also acts as an aritificial limitation on using the new 
zookeeperless Hbase registries from Spark.
We need to deprecate zkUrl, and add a new jdbcUrl property, which is simply 
passed to Phoenix without further processing.

  was:
We require explicitly specifying the ZK URL for the Phoenix-Spark connector.
Since having hbase-site.xml on the classpath is required by Phoenix anyway, we 
could use the quorum from hbase-site.xml as default, which would make life 
easier for users.

Phoenix already handles this, we just need to remove the check, and adopt the 
JDBC URL not to specify the ZK quorum if missing.


> Make ZOOKEEPER_URL optional for Phoenix-Spark connector
> -------------------------------------------------------
>
>                 Key: PHOENIX-6633
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6633
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Minor
>
> We require explicitly specifying the ZK URL for the Phoenix-Spark connector.
> Since having hbase-site.xml on the classpath is required by Phoenix anyway, 
> we could use the quorum from hbase-site.xml as default, which would make life 
> easier for users.
> Phoenix already handles this, we just need to remove the check, and adopt the 
> JDBC URL not to specify the ZK quorum if missing.
> The current zkUrl code also acts as an aritificial limitation on using the 
> new zookeeperless Hbase registries from Spark.
> We need to deprecate zkUrl, and add a new jdbcUrl property, which is simply 
> passed to Phoenix without further processing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to