When using TS packages, riak-admin is crippled for defining bucket types because of the need to use `su` to the `riak` user. As seen below from `sh -x`, the JSON is not wrapped properly, and the shell complains. ``` exec su - riak -c '/usr/sbin/riak-admin bucket-type create testone \{\"props\":\{\"table_def\":\"CREATE TABLE testone (field1 varchar not null, field2 varchar not null, time timestamp not null, PRIMARY KEY((field1, field2, quantum(time, 15, s)), field1, field2, time))\"\}\}' ```
When using TS packages, riak-admin is crippled for defining bucket types because of the need to use
suto theriakuser.As seen below from
sh -x, the JSON is not wrapped properly, and the shell complains.