Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-12478

cassandra stress still uses CFMetaData.compile()

    XMLWordPrintableJSON

    Details

    • Severity:
      Normal

      Description

      Using CFMetaData.compile() on a client tool causes permission problems. To reproduce:

      • Start cassandra under user cassandra
      • Run chmod -R go-rwx /var/lib/cassandra to deny access to other users.
      • Use a non-root user to run cassandra-stress

      This produces an access denied message on /var/lib/cassandra/commitlog.

      The attached fix uses client-mode functionality.

        Attachments

        1. 0001-Replaced-using-CFMetaData.compile-in-cassandra-stres.patch
          2 kB
          Denis Ranger
        2. 0002-Used-client-instead-of-tool-init.patch
          0.9 kB
          Denis Ranger
        3. cassandra-stress-trunk.patch
          5 kB
          Denis Ranger
        4. cassandra-stress-v2.patch
          5 kB
          Denis Ranger

          Activity

            People

            • Assignee:
              DenisRanger Denis Ranger
              Reporter:
              DenisRanger Denis Ranger
              Authors:
              Denis Ranger
              Reviewers:
              Paulo Motta (Deprecated)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: