HBase programs can be ran directly from your
Eclipse development environment.
About this task
You can use the HBase module through Jaql,
write and run Java™ programs that use the HBase API, and run simple
queries with the HBase
shell.
To run the HBase shell as the user that registered the
InfoSphere BigInsights server:
- Ensure that the user of the operating system
from which you start the HBase shell is the same as the
BigInsights user.
- Configure the operating system user ID to run
on behalf of the BigInsights user. For more information, see Configuring
proxy users for your Hadoop File System.
Procedure
- Write your HBase
Java application in the Java editor.
- Right-click the
Java main class for the program that you want to run. Select .
- Select
BigInsights Java Programs and create a configuration.
- Complete the
fields for the project name and the main class.
- Specify the InfoSphere BigInsights server where the
program runs.
- Click Run. A new console window opens that
shows the output of the program.