Skip to content

Instantly share code, notes, and snippets.

@larsgeorge
larsgeorge / _salesdemo_guide.md
Last active June 16, 2020 10:20
Okera Sales Demo Dataset

Okera Sales Demo Dataset

Introduction

This document contains the necessary resources to set up and configure an Okera cluster with the Sales Demo dataset, users, roles and access policies.

Attached are three files:

  • sales_data_sample.cvs - This is the sales demo dataset.
  • salesdemo.sql - The DDL statements to create schema and access policies
lars@DESKTOP-I4MRDRU:~/projects/work/hbase-example/hbase-example$ mvn -q exec:java -Dexec.mainClass="com.larsgeorge.ScanExample"
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.hadoop.hbase.unsafe.HBasePlatformDependent (file:/home/lars/.m2/repository/org/apache/hbase/thirdparty/hbase-unsafe/4.1.1/hbase-unsafe-4.1.1.jar) to method java.nio.Bits.unaligned()
WARNING: Please consider reporting this to the maintainers of org.apache.hadoop.hbase.unsafe.HBasePlatformDependent
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
13:27:14.153 [ReadOnlyZKClient-107-21-193-76.compute-1.amazonaws.com:2181@0x39905349-SendThread()] ERROR org.apache.zookeeper.client.StaticHostProvider - Unable to resolve address: 107-21-193-76.compute-1.amazonaws.com:2181
java.net.UnknownHostException: 107-21-193-76.compute-1.amazonaws.com: Name or service