« Return to Thread: m2Eclipse 0.9.8 can't download my nexus 1.3.3 index. >100% downloaded?

Re: m2Eclipse 0.9.8 can't download my nexus 1.3.3 index. >100% downloaded?

by mathew_pl :: Rate this Message:

Reply to Author | View in Thread

Hi Richard, thanks for your reply...

2009/6/1 Richard Seddon <rseddon@...>:
> It turns out that index on repository.apache.org was broken due to a bug in
> Nexus 1.3.1 (which  was fixed in 1.3.1.1).
> It's been re-indexed, so it should work now.

Yes, now it works pretty well.

> I'm not sure if that would have anything to do with your problem, but is it
> possible for you to run re-index job on your nexus install?

I did, here is the log after presing re-index on "public group" whihc
contains 4-5 release repositories (some are proxied, some are hosted):
2009-06-01 19:20:45 INFO  [ool-1-thread-13] -
o.s.n.f.FeedRecorder:default  - Reindexing repository group Public
Repositories from path / and below. : Process started on Mon Jun 01
19:20:45 GMT+01:00 2009, not yet finished.
2009-06-01 19:21:20 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Cascading merge of group indexes for
group 'public', where repository 'binaries' is member.
2009-06-01 19:21:27 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Cascading merge of group indexes for
group 'public', where repository 'external' is member.
2009-06-01 19:21:28 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Trying to get remote index for
repository central
2009-06-01 19:21:28 INFO  [ool-1-thread-13] -
o.s.n.p.r.Repository:maven2   - Expiring local cache in repository
ID='central' from path='/.index'
2009-06-01 19:21:28 INFO  [ool-1-thread-13] -
o.s.n.p.r.Repository:maven2   - Clearing NFC cache in repository
ID='central' from path='/.index'
2009-06-01 19:21:29 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Remote indexes unchanged (no update
needed) for repository central
2009-06-01 19:21:29 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Cascading merge of group indexes for
group 'public', where repository 'central' is member.
2009-06-01 19:22:30 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Trying to get remote index for
repository jboss
2009-06-01 19:22:30 INFO  [ool-1-thread-13] -
o.s.n.p.r.Repository:maven2   - Expiring local cache in repository
ID='jboss' from path='/.index'
2009-06-01 19:22:30 INFO  [ool-1-thread-13] -
o.s.n.p.r.Repository:maven2   - Clearing NFC cache in repository
ID='jboss' from path='/.index'
2009-06-01 19:22:30 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Remote indexes unchanged (no update
needed) for repository jboss
2009-06-01 19:22:30 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Cascading merge of group indexes for
group 'public', where repository 'jboss' is member.
2009-06-01 19:22:53 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Trying to get remote index for
repository codehause-binaries
2009-06-01 19:22:53 INFO  [ool-1-thread-13] -
o.s.n.p.r.Repository:maven2   - Expiring local cache in repository
ID='codehause-binaries' from path='/.index'
2009-06-01 19:22:53 INFO  [ool-1-thread-13] -
o.s.n.p.r.Repository:maven2   - Clearing NFC cache in repository
ID='codehause-binaries' from path='/.index'
2009-06-01 19:22:53 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Remote indexes unchanged (no update
needed) for repository codehause-binaries
2009-06-01 19:22:53 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Cascading merge of group indexes for
group 'public', where repository 'codehause-binaries' is member.
2009-06-01 19:23:22 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Cascading merge of group indexes for
group 'public', where repository 'site' is member.
2009-06-01 19:23:41 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Cascading merge of group indexes for
group 'public', where repository 'prime-repo' is member.
2009-06-01 19:24:01 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Publishing best index for repository
binaries
2009-06-01 19:24:02 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Publishing best index for
repositoryexternal
2009-06-01 19:24:02 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Publishing best index for repository
central
2009-06-01 19:25:28 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Publishing best index for repository
jboss
2009-06-01 19:25:34 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Publishing best index for repository
codehause-binaries
2009-06-01 19:25:40 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Publishing best index for repository
site
2009-06-01 19:25:40 INFO  [ool-1-thread-13] -
o.s.n.i.IndexerMana~:default  - Publishing best index for repository
prime-repo

After that I've downloaded new eclipse galileo, installed fresh
m2eclipse 0.9.8 and tried to add index for group repository.
Unfortunately, it still doesn't work. m2eclipse starts downloading
index very quickly and percent counter reaches 100% after few second
and doesn't stop. Depending on bandwitch it takes him about 1-2
minutes to reach about 1020% and say 'Unable to donwload ***.gz'. I'm
afraid there is something wrong with my nexus instance.

No matter what repository I choose, every time is the same. Maybe
there is a problem with Nexus 1.3.3? Why does it publish *.gz format
if it doesn't support incremental indexes?

Please help.

Regards,
Matthew



>
> On Jun 1, 2009, at 8:18 AM, Mateusz Grzechociński wrote:
>
>> 2009/6/1 Richard Seddon <rseddon@...>
>>>
>>> The indexer was upgraded in M2Eclipse 0.9.8, it now supports downloading
>>> incremental index updates from Nexus.
>>> As part of this change the index format changed, so that is why you see
>>> it downloading "nexus-repository-index.gz"
>>
>> Ok, is there any way to force m2Eclipse to download
>> nexus-repository-index.zip index? Maybe nexus-repository-index.gz is
>> corrupted somehow.
>> I've read on sonatype blog that support for incremental indexing will
>> be available since Nexus 1.4.
>> I have 1.3.3 OSS installed, but why do I have *.gz index file in
>> .index folder of my repository? Nexus has created it?
>>
>> My nexus.properties looks like:
>>
>> #Mon Jun 01 02:09:28 GMT+01:00 2009
>> nexus.index.time=20090531230323.247 +0000
>> nexus.index.id=public-remote
>>
>> As u can see, there is no information that it's and incremental index.
>> In my opinion m2Eclipse should download nexus-repository-index.zip
>> rather than much smaller nexus-repository-index.gz index.
>>
>>> This is the first time I've heard of a failure like this.  1005% sounds a
>>> bit high. :-)
>>
>> Yes, that's really strange. I thought that something goes wrong with
>> my Nexus instance but i tried to download index of  r.a.o
>> (repository.apache.org) from m2eclipse 0.9.8 and it seems corrupted
>> too. It only shows me one artifact -
>> org.apache.maven.maven-patch-plugin... Is m2eclipse 0.9.8 100%
>> compatible with Nexus 1.3.3 and earlier? (rao uses 1.3.1 I guess).
>>
>>> Are there any errors in your eclipse log (workspace/.metadata/.log) ?
>>
>> Unfortunately, no logs about m2eclipse/repo/nexus/index errors found.
>> Only mylyn shows some stacktraces but that's not the couse I think.
>>
>> --
>> Regards,
>> Matthew
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> For additional commands, e-mail: nexus-user-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@...
> For additional commands, e-mail: nexus-user-help@...
>
>



--
Pozdrawiam,
Mateusz Grzechociński

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...

 « Return to Thread: m2Eclipse 0.9.8 can't download my nexus 1.3.3 index. >100% downloaded?