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

Package tools/bin scripts as executable

    XMLWordPrintableJSON

Details

    Description

      The tools/bin scripts aren't packaged as executable in the source distributions, though in the repository the scripts have the right bits.

      This causes, on 3.11.8 for example, the tests in org.apache.cassandra.cql3.EmptyValuesTest to fail:
      java.io.IOException: Cannot run program "tools/bin/sstabledump": error=13, Permission denied

      [junit-timeout] junit.framework.AssertionFailedError: java.io.IOException
      [junit-timeout]         at org.apache.cassandra.cql3.EmptyValuesTest.verify(EmptyValuesTest.java:85)
      [junit-timeout]         at org.apache.cassandra.cql3.EmptyValuesTest.verifyJsonInsert(EmptyValuesTest.java:112)

      See attached patch of build.xml for the trunk and cassandra-3.11 branches.

      Attachments

        Issue Links

          Activity

            People

              polo-language Angelo Polo
              polo-language Angelo Polo
              Angelo Polo
              Andres de la Peña
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: