You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Rob Vesse <rv...@yarcdata.com> on 2012/08/01 00:37:41 UTC
Next point release?
Hey All
Would anyone have an objection to us making a new minor point release in the next week or so?
We'd like to lock down on a stable version of Jena for our product soon and we require fixes that have gone into the 2.9.3 SNAPSHOTS so would like to have a stable 2.9.3 release to rely on rather than having to lock down to a specific snapshot via our internal artifactory setup.
I am willing to have a go at running the release process if Andy/someone else can share instructions for doing this
Thanks,
Rob
Re: Next point release?
Posted by Andy Seaborne <an...@apache.org>.
On 31/07/12 23:37, Rob Vesse wrote:
> Hey All
>
> Would anyone have an objection to us making a new minor point release
> in the next week or so?
>
> We'd like to lock down on a stable version of Jena for our product
> soon and we require fixes that have gone into the 2.9.3 SNAPSHOTS so
> would like to have a stable 2.9.3 release to rely on rather than
> having to lock down to a specific snapshot via our internal
> artifactory setup.
>
> I am willing to have a go at running the release process if
> Andy/someone else can share instructions for doing this
>
> Thanks,
>
> Rob
>
Works for me - both the timescale and the offer of executing the process
The (scrappy:-( ) notes for a release are here:
https://cwiki.apache.org/confluence/display/JENA/ProcessRelease
but if you want to choose a date/time, I can be online to remember all
the things that should have been noted.
I've set the TDB commit write caching to zero for the release as there
needs to be an investigation of stability when its set >0. I'd much
rather release in the safest state.
Andy
Re: Next point release?
Posted by Andy Seaborne <an...@apache.org>.
On 01/08/12 17:15, Stephen Allen wrote:
> +1 on release.
>
>
> On Wed, Aug 1, 2012 at 5:46 AM, Andy Seaborne <an...@apache.org> wrote:
>> Do we want to release after removing (or merely switching off) the
>> NodeCache? TripleCache?
>>
>> As the system seems slightly faster without, I'm minded to switch them off.
>>
>> The Node cache might give a space advantage. But there is another cache
>> (which does make a difference) in RIOT for IRI resolution, and so the string
>> for the IRI is shared for the same IRI input when using RIOT.
>>
>> Integrating RIOT properly into jena-core is ready-to-go but I'm not
>> comfortable doing that juts before a release.
>>
>> Without presuming the decision on the Node cache for this release, I've made
>> minimal changes (Node, Triple) to run without caches. My expectation is
>> that no-one will, or even can, notice the difference from outside. The Node
>> cache can be turned on explicitly.
>>
>
> I'd say totally remove both the Node and Triple caches. Just
> switching off the cache in Node still leaves the create() method
> synchronized, and unnecessary checks into the empty cache on node
> creation.
Yuk to the synchronized!
I'm OK with removal, it does not look hard or risky to simple delete the
code and fix up as it's only one place in one file. Nothing looks like
it requires redesign.
But it's Rob who should have a (social) veto.
Andy
>
> -Stephen
>
Re: Preparing the 2.7.3 Release
Posted by Andy Seaborne <an...@apache.org>.
On 03/08/12 01:23, Rob Vesse wrote:
> Hi All
>
> I will go ahead and prepare the 2.7.3 release tomorrow morning from around
> 10:30 PST onwards
10:30 PDT => 18:30 GMTDT / WEST (Western Europeaan Summer Time)
OK
>
> I have worked through the first few preparatory steps to make sure I am
> ready to go and have a few questions which if anyone is able to answer for
> me ahead of my real release run tomorrow would be super helpful and save
> me bugging people via Skype/email tomorrow:
>
> 1 - Step 5 mentions checking the release artifacts but when I do a dry run
> some of these are not generated. Specifically I only get the top level
> source release, the distribution zips for Jena and Fuseki are not
> generated. Is this an artifact of a dry run or a sign of something going
> wrong?
Something has gone wrong, maybe.
I checked with
mvn release:clean release:prepare -DdryRun -Papache-release
=>
target/jena-2.7.3-SNAPSHOT-source-release.zip
apache-jena/target/apache-jena-2.7.3-SNAPSHOT.zip
jena-fuseki/target/jena-fuseki-0.2.4-SNAPSHOT-distribution.zip
so they are there for me
... in the module location, not the top level "target"
... still snapshot as it's a dry run and the POMs have not been edited.
> 2 - Step 7 says Go and close the staging repo - record the URL. More
> detail on what this means would be extremely helpful, where does the
> staging repo come from, how would I close it and where do I find the URL
Sign-in to Nexus [https://repository.apache.org/index.html]
The LHS now has "Build Promotion" box.
Click 'Staging Repositories'
org.apache.jena-N should be there (with "u:"=>your id)
'Close' is an option above.
(be careful - the buttons for very different things are close together!)
> 3 - Step 11 says Go and clean up your local repo - which repo and what
> clean up?
Your ~/.m2
It has the not-yet-official build in it. But if your continuing to work
over the vote days, you don't want that version. And the version it
will become isn't maven-findable for anyone else, or you on another
machine, unless you mess around with repo settings.
> 4 - Step 13 says Rebuild the jena development build - I assume this means
> go prod Jenkins?
Yes. The "development build" job.
It means the snapshots will be the +0.0.1 updated snapshots now.
>
> 5 - Where is our project KEYS file kept so I can add my key to it since
> the release will be signed with my key which currently isn't in there
https://svn.apache.org/repos/asf/jena/dist/
=>
KEYS
and the shell script to produce the dist/ area.
(needs editing to use)
> Thanks,
>
> Rob
Andy
Preparing the 2.7.3 Release
Posted by Rob Vesse <rv...@yarcdata.com>.
Hi All
I will go ahead and prepare the 2.7.3 release tomorrow morning from around
10:30 PST onwards
I have worked through the first few preparatory steps to make sure I am
ready to go and have a few questions which if anyone is able to answer for
me ahead of my real release run tomorrow would be super helpful and save
me bugging people via Skype/email tomorrow:
1 - Step 5 mentions checking the release artifacts but when I do a dry run
some of these are not generated. Specifically I only get the top level
source release, the distribution zips for Jena and Fuseki are not
generated. Is this an artifact of a dry run or a sign of something going
wrong?
2 - Step 7 says Go and close the staging repo - record the URL. More
detail on what this means would be extremely helpful, where does the
staging repo come from, how would I close it and where do I find the URL
3 - Step 11 says Go and clean up your local repo - which repo and what
clean up?
4 - Step 13 says Rebuild the jena development build - I assume this means
go prod Jenkins?
5 - Where is our project KEYS file kept so I can add my key to it since
the release will be signed with my key which currently isn't in there
Thanks,
Rob
On 8/1/12 1:54 PM, "Rob Vesse" <rv...@cray.com> wrote:
>Ok great,
>
>
>I will likely try and do a RAT run later today/tomorrow with the aim being
>to produce the actual release candidate for a vote on Friday
>
>Rob
>
>On 8/1/12 12:28 PM, "Andy Seaborne" <an...@apache.org> wrote:
>
>>On 01/08/12 17:15, Stephen Allen wrote:
>>> +1 on release.
>>>
>>>
>>> On Wed, Aug 1, 2012 at 5:46 AM, Andy Seaborne <an...@apache.org> wrote:
>>>> Do we want to release after removing (or merely switching off) the
>>>> NodeCache? TripleCache?
>>>>
>>>> As the system seems slightly faster without, I'm minded to switch them
>>>>off.
>>>>
>>>> The Node cache might give a space advantage. But there is another
>>>>cache
>>>> (which does make a difference) in RIOT for IRI resolution, and so the
>>>>string
>>>> for the IRI is shared for the same IRI input when using RIOT.
>>>>
>>>> Integrating RIOT properly into jena-core is ready-to-go but I'm not
>>>> comfortable doing that juts before a release.
>>>>
>>>> Without presuming the decision on the Node cache for this release,
>>>>I've made
>>>> minimal changes (Node, Triple) to run without caches. My expectation
>>>>is
>>>> that no-one will, or even can, notice the difference from outside.
>>>>The Node
>>>> cache can be turned on explicitly.
>>>>
>>>
>>> I'd say totally remove both the Node and Triple caches. Just
>>> switching off the cache in Node still leaves the create() method
>>> synchronized, and unnecessary checks into the empty cache on node
>>> creation.
>>
>>Done.
>>
>>The word 'synchronized' does not appear in Node.java anymore.
>>
>>A quick-and-dirty test: parsing BSBM 25M from compressed :: 132K TPS
>>(2.7.2 jars) -> 136K (with changes, and some classes not jars)
>>
>> Andy
>>
>>>
>>> -Stephen
>>>
>>
>
Re: Next point release?
Posted by Rob Vesse <rv...@yarcdata.com>.
Ok great,
I will likely try and do a RAT run later today/tomorrow with the aim being
to produce the actual release candidate for a vote on Friday
Rob
On 8/1/12 12:28 PM, "Andy Seaborne" <an...@apache.org> wrote:
>On 01/08/12 17:15, Stephen Allen wrote:
>> +1 on release.
>>
>>
>> On Wed, Aug 1, 2012 at 5:46 AM, Andy Seaborne <an...@apache.org> wrote:
>>> Do we want to release after removing (or merely switching off) the
>>> NodeCache? TripleCache?
>>>
>>> As the system seems slightly faster without, I'm minded to switch them
>>>off.
>>>
>>> The Node cache might give a space advantage. But there is another
>>>cache
>>> (which does make a difference) in RIOT for IRI resolution, and so the
>>>string
>>> for the IRI is shared for the same IRI input when using RIOT.
>>>
>>> Integrating RIOT properly into jena-core is ready-to-go but I'm not
>>> comfortable doing that juts before a release.
>>>
>>> Without presuming the decision on the Node cache for this release,
>>>I've made
>>> minimal changes (Node, Triple) to run without caches. My expectation
>>>is
>>> that no-one will, or even can, notice the difference from outside.
>>>The Node
>>> cache can be turned on explicitly.
>>>
>>
>> I'd say totally remove both the Node and Triple caches. Just
>> switching off the cache in Node still leaves the create() method
>> synchronized, and unnecessary checks into the empty cache on node
>> creation.
>
>Done.
>
>The word 'synchronized' does not appear in Node.java anymore.
>
>A quick-and-dirty test: parsing BSBM 25M from compressed :: 132K TPS
>(2.7.2 jars) -> 136K (with changes, and some classes not jars)
>
> Andy
>
>>
>> -Stephen
>>
>
Re: Next point release?
Posted by Andy Seaborne <an...@apache.org>.
On 01/08/12 17:15, Stephen Allen wrote:
> +1 on release.
>
>
> On Wed, Aug 1, 2012 at 5:46 AM, Andy Seaborne <an...@apache.org> wrote:
>> Do we want to release after removing (or merely switching off) the
>> NodeCache? TripleCache?
>>
>> As the system seems slightly faster without, I'm minded to switch them off.
>>
>> The Node cache might give a space advantage. But there is another cache
>> (which does make a difference) in RIOT for IRI resolution, and so the string
>> for the IRI is shared for the same IRI input when using RIOT.
>>
>> Integrating RIOT properly into jena-core is ready-to-go but I'm not
>> comfortable doing that juts before a release.
>>
>> Without presuming the decision on the Node cache for this release, I've made
>> minimal changes (Node, Triple) to run without caches. My expectation is
>> that no-one will, or even can, notice the difference from outside. The Node
>> cache can be turned on explicitly.
>>
>
> I'd say totally remove both the Node and Triple caches. Just
> switching off the cache in Node still leaves the create() method
> synchronized, and unnecessary checks into the empty cache on node
> creation.
Done.
The word 'synchronized' does not appear in Node.java anymore.
A quick-and-dirty test: parsing BSBM 25M from compressed :: 132K TPS
(2.7.2 jars) -> 136K (with changes, and some classes not jars)
Andy
>
> -Stephen
>
Re: Next point release?
Posted by Andy Seaborne <an...@apache.org>.
On 01/08/12 17:45, Rob Vesse wrote:
> Ok, I will get back to you on when would be a good time for me to attempt
> a release
Ack
> It will most likely be Friday at the earliest if not next week, the
> instructions look fairly followable. There are a couple of bits that look
> a little iffy so if you are able to be online for some of the time to
> answer questions that'd be great.
>
> On the point of running RAT on the codebase what version of RAT are you
> using and what command exactly are you running to do that? (I've played
> with RAT previously and it seems to have a lot of options and be very slow)
Are there? I haven't bothered and I just run
java --jar ratjar . > ../R
a few seconds.
and look in R (which must be outside the tree :-)
No jars have changed IIRC so all that needs checking is java files, and
a quick whiz over tests to make manifests have not lost their license.
Small test files are not licensed directly (losst are copies of W3C ones
anyway). There should be N&L in the testing area.
Andy
>
> Rob
>
>
> On 8/1/12 9:15 AM, "Stephen Allen" <sa...@apache.org> wrote:
>
>> +1 on release.
>>
>>
>> On Wed, Aug 1, 2012 at 5:46 AM, Andy Seaborne <an...@apache.org> wrote:
>>> Do we want to release after removing (or merely switching off) the
>>> NodeCache? TripleCache?
>>>
>>> As the system seems slightly faster without, I'm minded to switch them
>>> off.
>>>
>>> The Node cache might give a space advantage. But there is another cache
>>> (which does make a difference) in RIOT for IRI resolution, and so the
>>> string
>>> for the IRI is shared for the same IRI input when using RIOT.
>>>
>>> Integrating RIOT properly into jena-core is ready-to-go but I'm not
>>> comfortable doing that juts before a release.
>
>
> Yep I agree with that, presumably we probably want to do a slightly bigger
> version bump for that I.e. move to Jena 2.8.0 since that's a fairly
> substantial change
>
>>>
>>> Without presuming the decision on the Node cache for this release, I've
>>> made
>>> minimal changes (Node, Triple) to run without caches. My expectation is
>>> that no-one will, or even can, notice the difference from outside. The
>>> Node
>>> cache can be turned on explicitly.
>>>
>>
>> I'd say totally remove both the Node and Triple caches. Just
>> switching off the cache in Node still leaves the create() method
>> synchronized, and unnecessary checks into the empty cache on node
>> creation.
>>
>> -Stephen
>
Re: Next point release?
Posted by Rob Vesse <rv...@yarcdata.com>.
Ok, I will get back to you on when would be a good time for me to attempt
a release
It will most likely be Friday at the earliest if not next week, the
instructions look fairly followable. There are a couple of bits that look
a little iffy so if you are able to be online for some of the time to
answer questions that'd be great.
On the point of running RAT on the codebase what version of RAT are you
using and what command exactly are you running to do that? (I've played
with RAT previously and it seems to have a lot of options and be very slow)
Rob
On 8/1/12 9:15 AM, "Stephen Allen" <sa...@apache.org> wrote:
>+1 on release.
>
>
>On Wed, Aug 1, 2012 at 5:46 AM, Andy Seaborne <an...@apache.org> wrote:
>> Do we want to release after removing (or merely switching off) the
>> NodeCache? TripleCache?
>>
>> As the system seems slightly faster without, I'm minded to switch them
>>off.
>>
>> The Node cache might give a space advantage. But there is another cache
>> (which does make a difference) in RIOT for IRI resolution, and so the
>>string
>> for the IRI is shared for the same IRI input when using RIOT.
>>
>> Integrating RIOT properly into jena-core is ready-to-go but I'm not
>> comfortable doing that juts before a release.
Yep I agree with that, presumably we probably want to do a slightly bigger
version bump for that I.e. move to Jena 2.8.0 since that's a fairly
substantial change
>>
>> Without presuming the decision on the Node cache for this release, I've
>>made
>> minimal changes (Node, Triple) to run without caches. My expectation is
>> that no-one will, or even can, notice the difference from outside. The
>>Node
>> cache can be turned on explicitly.
>>
>
>I'd say totally remove both the Node and Triple caches. Just
>switching off the cache in Node still leaves the create() method
>synchronized, and unnecessary checks into the empty cache on node
>creation.
>
>-Stephen
Re: Next point release?
Posted by Stephen Allen <sa...@apache.org>.
+1 on release.
On Wed, Aug 1, 2012 at 5:46 AM, Andy Seaborne <an...@apache.org> wrote:
> Do we want to release after removing (or merely switching off) the
> NodeCache? TripleCache?
>
> As the system seems slightly faster without, I'm minded to switch them off.
>
> The Node cache might give a space advantage. But there is another cache
> (which does make a difference) in RIOT for IRI resolution, and so the string
> for the IRI is shared for the same IRI input when using RIOT.
>
> Integrating RIOT properly into jena-core is ready-to-go but I'm not
> comfortable doing that juts before a release.
>
> Without presuming the decision on the Node cache for this release, I've made
> minimal changes (Node, Triple) to run without caches. My expectation is
> that no-one will, or even can, notice the difference from outside. The Node
> cache can be turned on explicitly.
>
I'd say totally remove both the Node and Triple caches. Just
switching off the cache in Node still leaves the create() method
synchronized, and unnecessary checks into the empty cache on node
creation.
-Stephen
Re: Next point release?
Posted by Andy Seaborne <an...@apache.org>.
Do we want to release after removing (or merely switching off) the
NodeCache? TripleCache?
As the system seems slightly faster without, I'm minded to switch them off.
The Node cache might give a space advantage. But there is another cache
(which does make a difference) in RIOT for IRI resolution, and so the
string for the IRI is shared for the same IRI input when using RIOT.
Integrating RIOT properly into jena-core is ready-to-go but I'm not
comfortable doing that juts before a release.
Without presuming the decision on the Node cache for this release, I've
made minimal changes (Node, Triple) to run without caches. My
expectation is that no-one will, or even can, notice the difference from
outside. The Node cache can be turned on explicitly.
Andy