Top
Interstage Big Data Complex Event Processing Server V1.0.0 User's Guide
Interstage

5.6.2 Providing Data

Provide the data required for rule operation.

Event data (for testing)

Store event data (for testing) in the event sender system.

If an event sender sample program is to be used as the event sender application, store this data in the CEP Server.

Log storage area

Create a directory to be used as the log storage area, and set the write permission for the engine execution user created during installation. This task is usually performed by the system administrator of the CEP Server.

Information

If the directory to be used as the log storage area does not exist, it will be generated automatically at logging.

Use the engine execution user permission to create the directory.

Example

Directory creation

This is an example of creating a directory when the engine execution user and group are "isbdcep".

Log in as a superuser and execute the hadoop command to perform these tasks.

If a user-defined directory name is specified in the directory element in the engine configuration file

Create a directory with the specified name in the root directory of the Hadoop file system.

Change the owner of created directory to give write permissions to the engine execution user.

The log storage area to be specified in the event type definition or logging listener will be created automatically.

Below is an example when "hadoop" is specified in the directory element.

# hadoop fs -mkdir /hadoop <ENTER>
# hadoop fs -chown isbdcep:isbdcep /hadoop <ENTER>

If a slash (/) only is specified in the directory element in the engine configuration file

No further action is required if the engine execution user can write to the root directory of the Hadoop file system.

If the engine execution user does not have write permissions, create a directory with the same name as the log storage area to be specified in the event type definition or logging listener.

Change the owner of created directory to give write permissions to the engine execution user.

Below is an example when "/tmp" is specified as the log storage area to be specified in the event type definition or logging listener.

# hadoop fs -mkdir /tmp <ENTER>
# hadoop fs -chown isbdcep:isbdcep /tmp <ENTER>
Master data

Store a schema file and data files in the path specified in the master definition.

The stored files must have the file read permission set for the engine execution user created during installation.

XTP cache

If a new XTP cache is to be provided, use the cache access application for update that was developed separately to store the initial data in the cache.

Note that the XTP Server node must be set beforehand and a cache to be used as the storage destination must also be created beforehand. Refer to the Interstage eXtreme Transaction Processing Server manuals for information on how to create a cache.

If an existing cache is to be used as it is, no further action required.