question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ccm json - Couldn't change permissions to use sstable2json

See original GitHub issue

Getting this error while trying to see the json output of a sstable.

ccm node1 json -k test -c test "C:\Users\user1\Desktop\testjson.txt"

running WARN: Couldn’t change permissions to use sstable2json. WARN: If it didn’t work, you will have to do so manually. [‘C:\Users\user1\.ccm\c2\node1\data0\test\test-71ff922070dc11e7864b5ff09c5396dc\mb-1-big-Data.db’] – mb-1-big-Data.db ----- Traceback (most recent call last): File “E:\Studies\Cassandra\ccm\ccm-master\ccm.py”, line 74, in <module> cmd.run() File “E:\Studies\Cassandra\ccm\ccm-master\ccmlib\cmds\node_cmds.py”, line 487, in run enumerate_keys=self.options.enumerate_keys) File “E:\Studies\Cassandra\ccm\ccm-master\ccmlib\node.py”, line 885, in run_sstable2json subprocess.call(args, env=env, stdout=out_file) File “C:\Program Files\Python27\lib\subprocess.py”, line 522, in call return Popen(*popenargs, **kwargs).wait() File “C:\Program Files\Python27\lib\subprocess.py”, line 710, in init errread, errwrite) File “C:\Program Files\Python27\lib\subprocess.py”, line 958, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified

Python 2.7, Windows 10

Thanks, Dinesh

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ptnapoleoncommented, Aug 1, 2017

As you said in your original comment, the tool can be found at C:\Users\user1\.ccm\repository\3.7\tools\bin\sstabledump

0reactions
dins2k2commented, Jul 31, 2017

Ok. I know it’s a silly question. How should I run sstabledump directly through ccm on windows?

Read more comments on GitHub >

github_iconTop Results From Across the Web

config.json permissions need to be set correctly #3971 - GitHub
I have searched open and closed issues for duplicates Bug Description config.json needs to have its file permissions set correctly.
Read more >
JSON Functions and Operators_MapReduce Service_Component ...
Cast to JSONSELECT CAST(9223372036854775807 AS JSON); -- JSON '9223372036854775807'Cast from JSONSELECT CAST(JSON '[1,23456]' AS ARRAY(INTEGER)); -- [1, 23, ...
Read more >
Can't edit permission JSON on AWS, despite it telling me I can
Looks that you are trying to modify "AWS managed" policy (you can see the small aws logo before the policy name) and that...
Read more >
RHSA-2021:3759 - Security Advisory - Red Hat Customer Portal
https://access.redhat.com/errata/RHSA-2021:3758 ... Additional Changes: ... is missing in provisioning-configuration json object ...
Read more >
DualDAR UEM integration - Samsung Knox Documentation
Since Knox 3.4, the default value for KEY_CONFIG_DE_RESTRICTION is set to false to enhance app stability, which gives system apps write access to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found