Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

hdf sandbox - schema registry

avatar
Super Collaborator

Hi All,

I am running the hdf sandbox and trying to do a sample - couple of challenges

1. how to see the logs - when I ssh into the docker container by ssh root@172.17.0.1 - I don't see any /usr/hdf or /var/log/registry directories

2. while adding a avro schema - gets error ' Given schema is invalid' - attached screenshot

Thanks,

Avijeet


schema-error.png
1 ACCEPTED SOLUTION

avatar
New Member

Hi,

1. You can find logs for Schema Registry under this path : /usr/hdf/current/registry/logs

2. Remove all the spaces you have in the name of your properties and it would be fine

{
  "type" : "record",
  "namespace" : "poc",
  "name" : "Employee",
  "fields" : [
    { "name" : "Name", "type" : "string"},
    { "name" : "Age", "type" : "int"}
    ]
}

View solution in original post

1 REPLY 1

avatar
New Member

Hi,

1. You can find logs for Schema Registry under this path : /usr/hdf/current/registry/logs

2. Remove all the spaces you have in the name of your properties and it would be fine

{
  "type" : "record",
  "namespace" : "poc",
  "name" : "Employee",
  "fields" : [
    { "name" : "Name", "type" : "string"},
    { "name" : "Age", "type" : "int"}
    ]
}