Updated on 2024-06-21 GMT+08:00

Compiling and Running Applications

Scenario

You can run applications in the Windows development environment after application code development is complete.

Procedure

  • HBase clusters with the encryption stream disabled

    In the development environment (for example, Eclipse), right-click TestMain.java and choose Run as > Java Application from the shortcut menu to run the corresponding application project.

  • HBase clusters with the encryption stream enabled

    In the development environment (for example, Eclipse), right-click TestMain.java, choose Run as > Run Configurations, add the environment variable "-Dzookeeper.clientCnxnSocket=org.apache.zookeeper.ClientCnxnSocketNetty -Dzookeeper.client.secure=true", and run the corresponding application project.