Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-159

Case insensitive file/directory name matching will produce errors on M/R jar unpack.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None
    • Environment:

      OSX 10.6.8

      Description

      This only seems to affect platforms where there can be a file/directory naming conflicts
      from case insensitive matches.

      I was able to reproduce running the pseudo-distributed unit tests within OSX.

      This has affected other projects:
      https://issues.apache.org/jira/browse/MAHOUT-780

      I've been able to reproduce this on my local OSX install with the following error:
      https://groups.google.com/a/cloudera.org/group/cdh-user/browse_thread/thread/a201218000e956d3/cc6eca3ef9f80ff8

      Since LICENSE.txt contains the same content as the file LICENSE, I propose we exclude any LICENSE matches found in the unpacked dependency jars
      when the maven assembly phase hits 'jar-with-dependencies'.

      I have a patch which moves the 'jar-with-dependencies' descriptor to an external compile.xml file which has the proper excludes. This might also
      come in handy down the road should any additional tweaks be needed to the compile phase.

        Attachments

        1. compile.xml
          2 kB
          Brian Femiano
        2. GIRAPH-159.patch
          2 kB
          Brian Femiano

          Issue Links

            Activity

              People

              • Assignee:
                bfem Brian Femiano
                Reporter:
                bfem Brian Femiano
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: