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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      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
          Chris Douglas

          Activity

            People

            • Assignee:
              chris.douglas Chris Douglas
              Reporter:
              yhemanth Hemanth Yamijala
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: