-
Notifications
You must be signed in to change notification settings - Fork 63
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
Su invocation is not escaped properly for TS work [JIRA: TOOLS-167] #192
Comments
Valid workaround: su to the |
(discovered by @binarytemple) |
A PR was submitted that should resolve this- see #193 _[posted via JIRA by Greg Cymbalski]_ |
Packages that demonstrate this change are up at s3://builds.basho.com/nightlies/riak-ts/1/centos-6/ _[posted via JIRA by Greg Cymbalski]_ |
Fix looks good to me: [centos@ip-172-31-27-220 ~]$ sudo /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))"}}' WARNING: After activating testone, nodes in this cluster _[posted via JIRA by Paul Hagan]_ |
As reported by a Solaris user on 2.0.7, the fix broke execution on Solaris10:
|
When using TS packages, riak-admin is crippled for defining bucket types because of the need to use
su
to theriak
user.As seen below from
sh -x
, the JSON is not wrapped properly, and the shell complains.The text was updated successfully, but these errors were encountered: