You're missing a colon between the port and root znode in your JDBC URL.
From http://phoenix.apache.org/
```
jdbc:phoenix [ : [ : [ : [
: [ : ] ] ] ] ]
```
On 7/23/20 4:24 AM, Istvan Toth wrote:
The code looks OK.
Check that you can resolve the name of, and have IP connectivity to
*each
The code looks OK.
Check that you can resolve the name of, and have IP connectivity to
*each *HBase
host (master/regionserver) in the cluster.
regards
Istvan
On Wed, Jul 22, 2020 at 3:01 PM 黄乐平 <18702515...@163.com> wrote:
> My code is like this:
>
> public class PhoenixDemo {
>
> public
My code is like this:
public class PhoenixDemo {
public static void main(String[] args) {
Connection connection = null;
Statement statement = null;
ResultSet rs = null;
PreparedStatement ps = null;
org.apache.hadoop.conf.Configuration conf = null;