Class HbaseIntegTestHandler

  • All Implemented Interfaces:
    com.amazonaws.services.lambda.runtime.RequestStreamHandler

    public class HbaseIntegTestHandler
    extends Object
    implements com.amazonaws.services.lambda.runtime.RequestStreamHandler
    This Lambda function handler is only used within the HBase integration tests. The Lambda function, when invoked, will generate a HBase database/namespace, table, and insert values. The invocation of the Lambda function must include the following environment variables: default_hbase - The connection string used to connect to the HBase instance (e.g. ec2-000-000-000-000.compute-1.amazonaws.com:50075:2081). database_name - The HBase database/namespace name. table_name - The HBase table name.
    • Constructor Detail

      • HbaseIntegTestHandler

        public HbaseIntegTestHandler()
    • Method Detail

      • handleRequest

        public final void handleRequest​(InputStream inputStream,
                                        OutputStream outputStream,
                                        com.amazonaws.services.lambda.runtime.Context context)
        Specified by:
        handleRequest in interface com.amazonaws.services.lambda.runtime.RequestStreamHandler