Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create HBase Dataset ERROR #465

Open
kchen0x opened this issue Feb 7, 2017 · 0 comments
Open

Create HBase Dataset ERROR #465

kchen0x opened this issue Feb 7, 2017 · 0 comments

Comments

@kchen0x
Copy link

kchen0x commented Feb 7, 2017

When I tried to create a HBase dataset:

kite-dataset create dataset:hbase:10.0.1.214:2181/sensor -s sensorRecord.avsc -p partition.json -m map.json

it returns:

IO error: Cannot open schema table

Those are my config files:

schema:

{
  "fields": [
    { "name": "timestamp", "type": "long" },
    { "name": "sensor_group", "type": "string" },
    { "name": "sensor", "type": "string" },
    { "name": "uuid", "type": "string"},
    { "name": "value", "type": "string" },
    { "name": "src", "type": "string"}
  ],
  "name": "sensorRecord",
  "type": "record"
}

partition:

[
  {"type": "identity", "source": "timestamp"},
  {"type": "year",     "source": "timestamp"},
  {"type": "month",    "source": "timestamp"},
  {"type": "day",      "source": "timestamp"},
  {"type": "hour",     "source": "timestamp"}
]

mapping:

[ {
  "source" : "timestamp",
  "type" : "key"
}, {
  "source" : "sensor_group",
  "type" : "column",
  "family" : "v",
  "qualifier" : "sensor_group"
}, {
  "source" : "sensor",
  "type" : "column",
  "family" : "v",
  "qualifier" : "sensor"
}, {
  "source" : "uuid",
  "type" : "column",
  "family" : "v",
  "qualifier" : "uuid"
}, {
  "source" : "value",
  "type" : "column",
  "family" : "v",
  "qualifier" : "value"
}, {
  "source" : "src",
  "type" : "column",
  "family" : "v",
  "qualifier" : "src"
} ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant