hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Lu <...@apache.org>
Subject Re: No svn revision corresponding to hadoop-0.23.0-src.tar.gz contents?
Date Thu, 24 Nov 2011 19:00:10 GMT
The confusion arises from the unfortunate conceptual conflation of
artifact reference and artifact provenance.

Maven version is technically for artifact reference. For released
artifacts, the reference has a 1-1 mapping to particular revision/tag
(provenance) in the repository. SNAPSHOT is very much misunderstood by
many, because it's a pure reference to latest artifacts in a
particular branch and meaningless for provenance purpose. If a
downstream project choose to use SNAPSHOT references, it choose to
give up the provenance property of released artifacts in favor of the
convenience of the reference.

Fortunately, artifact provenance can be comprehensively solved by
HADOOP-7368. I welcome feedback on that particular JIRA.


On Thu, Nov 24, 2011 at 4:41 AM, Steve Loughran <stevel@apache.org> wrote:
> I'd prefer to see some stable artifacts with names like 0.23.0-alpha1, or
> 0.20.0-r5545 where the SVN revision is included
> Why?
> Because -SNAPSHOT is pretty much meaningless.
> 1. At build time it means "the last published version that M2 could be
> bothered to download"
> 2. It's extra meaningless when someone files a bugrep against a SNAPSHOT
> version. Which snapshot? Today's? Yesterdays?
> 3. downstream projects need stable artifacts to build and release against,
> so I can say "here is a version that includes the 0.23.0-r5545 alpha
> release" rather than "here is a version that includes some snapshot artifact
> whose provenance is indeterminate.
> 4. downstream builds will be utterly unreplicable. Just because everything
> compiled on the box at time t1=today, if you take my source tree and try to
> build at time t2 != t1 it may not compile, let alone work.
> I propose that every alpha/beta release has a set of artfacts published to
> the stable maven repo with the same version counter as the .tar.gz
> artifacts. That way I can set hadoop.version=0.23.0-r5545 and have a stable
> build/release process.

View raw message