Starting Phoenix

To start Phoenix, complete the following steps:
  1. Optionally, run the following command to identify your Zookeeper quorum:
    maprcli node listzookeepers
    Example output:
    centos1:5181,centos2:5181,centos3:5181
  2. Navigate to the phoenix-3.0.0-incubating directory:
    cd phoenix-3.0.0-incubating
  3. Run the following command, indicating a Zookeeper node, to launch SQLLine:
    bin/sqlline.py <hostname>:<port>
    For example:
    bin/sqlline.py centos1:5181
When SQLLine starts, the following prompt displays:
0: jdbc:phoenix:<hostname>:<port>>

Now you can use Phoenix to query and manage HBase tables.