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:
  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/ <hostname>:<port>
    For example:
    bin/ 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.