Page tree
Skip to end of metadata
Go to start of metadata

Before Launching Aspire

Change the file and add this lines if the Kerberos authentication is going to be used:

# To append packages to the default set of exported system packages,
# set this value.
 ..., \

# The following property makes specified packages from the class path
# available to all bundles. You should avoid using this property.
 ..., \
On this page

Step 1. Launch Aspire and open the Content Source Management Page

Launch Aspire (if it's not already running). See:

Before launching Aspire, you need to change the file and add these lines if the Kerberos authentication is going to be used:

Step 2. Add a new HBase Content Source

To specify exactly what shared folder to crawl, we will need to create a new "Content Source".

To create a new content source:

  1. From the Content Source , click Add Source.
  2. Click HBase Connector.

Step 2a. Specify Basic Information

In the General tab in the Content Source Configuration window, specify basic information for the content source:

  1. Name: Enter a content source name
    • This is any useful name which you decide is a good name for the source. It will be displayed in the content source page, in error messages, etc.
  2. Click on the Scheduled pull-down list and select one of the following: ManuallyPeriodicallyDaily, Weekly or Advanced
    • Aspire can automatically schedule content sources to be crawled on a set schedule, such as once a day, several times a week, or periodically (every N minutes or hours).
      For the purposes of this tutorial, you may want to select Manually and then set up a regular crawling schedule later.
  3. Click on the Action pull-down list to select one of the following: StartStopPause, or Resume
    • This is the action that will be performed for that specific schedule.
  4. Click on the Crawl pull-down list and select one of the following:  FullReal Time, or Cache Groups
    • This will be the type of crawl to execute for that specific schedule.

After selecting Scheduled, specify the details, if applicable:

  • Manually: No additional options.
  • Periodically: Specify the "Run every:" options by entering the number of "hours" and "minutes."
  • Daily: Specify the "Start time:" by clicking on the hours and minutes drop-down lists and selecting options.
  • Weekly: Specify the "Start time:" by clicking on the hours and minutes drop-down lists and selecting options, then clicking on the day checkboxes to specify days of the week to run the crawl.
  • Advanced: Enter a custom CRON Expression (e.g. 0 0 0 ? * *)


You can add more schedules by clicking in the Add New option, and rearrange the order of the schedules.
If you want to disable the content source, clear the Enable check box. This is useful if the folder will be under maintenance and no crawls are wanted during that period of time.
Real Time and Cache Groups crawl will be available depending of the connector.

Step 2b. Specify the Connector Information

In the Connector tab, specify the connection information to crawl the HBase.

  1. Source Name: Enter the source name to use for publishing the document.
  2. Namespace prefix: Enter the prefix of the name space.
  3. Create Namespaces: Select this option if the publisher should attempt to create the namespaces
  4. Configuration type
    1. Use Settings file:
      1. HBase configuration file path: Enter the path that contains the HBase configuration file.
    2. Do not use Settings File
      1. Username: Kerberos User with the permissions to crawl from HBase.
      2. Keytab: Path to the Keytab file to use.
      3. Add resources: Check if you are going to pass Hadoop resources files (hbase-site.xml) to the publisher.
        1. Resource file: Hadoop resource file path.
      4. Add properties: Check if you are going to pass specific Hadoop properties to the publisher.
        1. Name: Hadoop property name.
        2. Value: Hadoop property value.
  5. Slices: The number of slices to use for the crawl.
  6. Retries: The number of times to retry a HBase scan call.
  7. Retry Wait Time: The time in milliseconds to wait before each retry

Step 2c. Specify Workflow Information

In the Workflow tab, specify the workflow steps for the jobs that come out of the crawl. Drag and drop rules to determine which steps an item should follow after being crawled. These rules could include where to publish the document or transformations needed on the data before sending it to a search engine. See Workflow for more information.

  1. For the purpose of this tutorial, drag and drop the Publish To File rule found under the Publishers tab to the onPublish Workflow tree.
  2. Specify a Name and Description for the Publisher.
  3. Click Add.

After completing these steps, click Save and Done. You'll be sent back to the Home page.

Step 2d. HBase settings file

If used, the HBase settings file has the following structure:

        <property name="hbase.zookeeper.quorum"></property>
        <kerberos >
  1. Properties: Put any Hadoop property required
  2. Config Dir: Path where the Hadoop Resources files are located
  3. User: Kerberos User with the permissions to crawl from HBase
  4. Kerberos Keytab: Path to the Keytab file to use

Step 3: Initiate a Full Crawl

Now that the content source is set up, the crawl can be initiated.

  1. Click on the crawl type option to set it to Full.
  2. Click Start.

During the Crawl

During the crawl, you can do the following:
  • Click Refresh on the Content Sources page to view the latest status of the crawl.
    The status will show RUNNING while the crawl is going, and CRAWLED when it is finished.
  • Click Complete to view the number of documents crawled so far, the number of documents submitted, and the number of documents with errors.

If there are errors, you will get a clickable "Error" flag that will take you to a detailed error message page.