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

            Looks good to me, I think we should also patch 2.2 and 3.0 since they also seem affected.

            adelapena Andres de la Peña added a comment - Looks good to me, I think we should also patch 2.2 and 3.0 since they also seem affected.
            polo-language Angelo Polo added a comment -

            Patches for 2.2 and 3.0 attached!

            polo-language Angelo Polo added a comment - Patches for 2.2 and 3.0 attached!

            Great, thanks, nice patches.

            Committed to cassandra-2.2 as 72941b9ec14e64af9e64365027d542b4fff41d81 and merged up to 3.0, 3.11 and trunk.

            adelapena Andres de la Peña added a comment - Great, thanks, nice patches. Committed to cassandra-2.2  as 72941b9ec14e64af9e64365027d542b4fff41d81 and merged up to 3.0 , 3.11 and trunk .

            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: