Hadoop Common
  1. Hadoop Common
  2. HADOOP-7390

VersionInfo not generated properly in git after unsplit

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The version information generated during the build of common when running from git has revision and branch Unknown. I believe this started after the unsplit:

      @HadoopVersionAnnotation(version="0.22.0-SNAPSHOT", revision="Unknown", branch="Unknown",
      user="tgraves", date="Tue Jun 14 13:39:10 UTC 2011", url="file:///home/tgraves/git/hadoop-common/common",
      srcChecksum="0f78ea668971fe51e7ebf4f97f84eed2")

      The ./src/saveVersion.sh script which generates the package-info.java file with the version info looks for the presence of .git directory and that is now a level up instead of in the common directory.

      1. hadoop-7390.txt
        0.4 kB
        Todd Lipcon

        Activity

        Thomas Graves created issue -
        Todd Lipcon made changes -
        Field Original Value New Value
        Assignee Todd Lipcon [ tlipcon ]
        Todd Lipcon made changes -
        Attachment hadoop-7390.txt [ 12482556 ]
        Todd Lipcon made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Aaron T. Myers made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Joep Rottinghuis made changes -
        Affects Version/s 0.22.0 [ 12314296 ]
        Konstantin Shvachko made changes -
        Fix Version/s 0.22.0 [ 12314296 ]

          People

          • Assignee:
            Todd Lipcon
            Reporter:
            Thomas Graves
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development