Ask Your Question
0

only have row key inside my mapr-db json table

asked 2018-09-20 05:02:36 -0500

anonymous user

Anonymous

I don't know if it is a common problem with mapr-db json. I use a Streamsets destination wich is a Mapr-DB json table to push records containing 3 columns. I precise the first column to become a row key. when I go to

mapr dbshell find /tmp/my_table

I only see the row key in json and no others columns

{"_id":"mykey1"} {"_id":"mykey2"} {"_id":"mykey3"} {"_id":"mykey4"} Kindly help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-16 06:06:20 -0500

Ronald M gravatar image

It's related to the column family's access definition. This happened to me as well. The table is being generated by user sdc. When I tried to view the table via Drill, I couldn't see the data. I logged in as mapr.

When I used drill with sdc, I was able to view the contents of the default column family.

Using MCS, update the permissions for the default column family by adding u:mapr.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-09-20 05:02:36 -0500

Seen: 49 times

Last updated: Jan 16