Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4738

saveVersion.sh could write a package-info.java that cannot be compiled when used with git

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.20.0
    • build
    • None
    • Reviewed

    Description

      When git is being used, the saveVersion.sh script generates a revision based on git log as follows:
      revision=`git log -1 --pretty=oneline`
      This revision is used to generate the HadoopVersionAnnotation in the package-info file. If the revision string contains quotes this will result in a compile time error.

      Attachments

        1. 4738-0.patch
          0.4 kB
          Christopher Douglas

        Activity

          People

            cdouglas Christopher Douglas
            yhemanth Hemanth Yamijala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: