Am 16.09.2013 10:06, schrieb Dirk Heinrichs:

> As you can see, they're not exactly the same and also somewhat old (~5
> months). Should I rebuild the index anyway?

Ok, I have rebuilt the index today and did another export/rsync/import
cycle. While ther hasn't been any error during export, import still has
some problems. I could identify three types of warnings or errors:

1) Metadata errors:
2013-09-17 10:38:00,101 [art-exec-24096] [WARN ]
(o.a.r.d.DbStoringRepoMixin:261) - IO error while trying to save
resource repository_name:path/to/some/directory/maven-metadata.xml'': No
such file or directory
2013-09-17 10:38:00,102 [art-exec-24096] [ERROR]
(o.a.m.AbstractMetadataCalculator:61) - Error while writing metadata for
repository_name:path/to/some/directory.: No such file or directory

2) File import errors. These only affect POM files:
2013-09-17 10:38:20,743 [art-exec-24097] [ERROR]
(o.a.r.d.i.DbRepoImportHandler:230) - Could not import file
'/tmp/artifactory_export/20130917.084937/repositories/ext-release-local/com/sun/facelets/jsf-facelets/1.1.15/jsf-facelets-1.1.15.pom'
into
ext-release-local:com/sun/facelets/jsf-facelets/1.1.15/jsf-facelets-1.1.15.pom.:
/tmp/artifactory_export/20130917.084937/repositories/ext-release-local/com/sun/facelets/jsf-facelets/1.1.15/jsf-facelets-1.1.15.pom:
File doesn't exist and matching binary either doesn't exist of settings
are not configured to use it

3) Data truncation error while indexing after import:
2013-09-17 10:41:28,606 [art-exec-24096] [INFO ]
(o.a.s.a.ArchiveIndexerImpl:128) - Indexing archive:
ext-release-local:com/moonrug/moonrug/2009.06.28/moonrug-2009.06.28.jar
2013-09-17 10:41:28,742 [art-exec-24096] [ERROR]
(o.a.s.a.ArchiveIndexerImpl:178) - Exception indexing
ext-release-local:com/moonrug/moonrug/2009.06.28/moonrug-2009.06.28.jar
org.artifactory.storage.StorageException: Failed to insert archive
entries: Data truncation: Data too long for column 'entry_name' at row 1
        at
org.artifactory.storage.db.fs.service.ArchiveEntriesServiceImpl.addArchiveEntries(ArchiveEntriesServiceImpl.java:116)
~[artifactory-storage-db-3.0.3.jar:na]
        at
org.artifactory.search.archive.ArchiveIndexerImpl.index(ArchiveIndexerImpl.java:143)
~[artifactory-core-3.0.3.jar:na]
        at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source)
~[na:na]
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.7.0_25]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25]
...
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too
long for column 'entry_name' at row 1
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4118)
~[mysql-connector-java-5.1.24.jar:na]
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
~[mysql-connector-java-5.1.24.jar:na]
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
~[mysql-connector-java-5.1.24.jar:na]
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
~[mysql-connector-java-5.1.24.jar:na]
        at
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
~[mysql-connector-java-5.1.24.jar:na]
        at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
~[mysql-connector-java-5.1.24.jar:na]
        at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
~[mysql-connector-java-5.1.24.jar:na]
        at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
~[mysql-connector-java-5.1.24.jar:na]
        at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
~[mysql-connector-java-5.1.24.jar:na]
        at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
~[commons-dbcp-1.4.jar:1.4]
        at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
~[commons-dbcp-1.4.jar:1.4]
        at
org.artifactory.storage.db.util.JdbcHelper.executeUpdate(JdbcHelper.java:126)
~[artifactory-storage-db-3.0.3.jar:na]
        at
org.artifactory.storage.db.fs.dao.ArchiveEntriesDao.createArchiveName(ArchiveEntriesDao.java:129)
~[artifactory-storage-db-3.0.3.jar:na]
        at
org.artifactory.storage.db.fs.service.ArchiveEntriesServiceImpl.addArchiveEntries(ArchiveEntriesServiceImpl.java:103)
~[artifactory-storage-db-3.0.3.jar:na]
        ... 30 common frames omitted

What I would need is an estimate about how harmful each of those
problems is and what I can do to solve them.

Since we're upgrading to a different machine, would builtin replication
be an option?

Thanks...

    Dirk
-- 

*Dirk Heinrichs*, Senior Systems Engineer, Infrastructure
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 1596666 1149
*Email*: [email protected] <mailto:[email protected]>
*Skype*: dirk.heinrichs.recommind
www.recommind.com <http://www.recommind.com>


http://www.recommind.com

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to