Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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
Contributor

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
Contributor

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"}
    ]
}