[ 
https://issues.apache.org/jira/browse/SOLR-5109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047091#comment-14047091
 ] 

Shalin Shekhar Mangar commented on SOLR-5109:
---------------------------------------------

I get the following exception on running tests with this patch:
{code}
[junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=MorphlineMapperTest 
-Dtests.method=testMapper -Dtests.seed=E7DCE14D317EEE6 -Dtests.slow=true 
-Dtests.locale=pt_BR -Dtests.timezone=CST6CDT -Dtests.file.encoding=UTF-8
   [junit4] ERROR   5.72s J0 | MorphlineMapperTest.testMapper <<<
   [junit4]    > Throwable #1: java.lang.NoSuchMethodError: 
com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([E7DCE14D317EEE6:C409BE18B828A797]:0)
   [junit4]    >        at 
org.kitesdk.morphline.tika.DetectMimeTypeBuilder$DetectMimeType.<init>(DetectMimeTypeBuilder.java:119)
   [junit4]    >        at 
org.kitesdk.morphline.tika.DetectMimeTypeBuilder.build(DetectMimeTypeBuilder.java:65)
   [junit4]    >        at 
org.kitesdk.morphline.base.AbstractCommand.buildCommand(AbstractCommand.java:302)
   [junit4]    >        at 
org.kitesdk.morphline.base.AbstractCommand.buildCommandChain(AbstractCommand.java:249)
   [junit4]    >        at 
org.kitesdk.morphline.stdlib.Pipe.<init>(Pipe.java:46)
   [junit4]    >        at 
org.kitesdk.morphline.stdlib.PipeBuilder.build(PipeBuilder.java:40)
   [junit4]    >        at 
org.kitesdk.morphline.base.Compiler.compile(Compiler.java:126)
   [junit4]    >        at 
org.kitesdk.morphline.base.Compiler.compile(Compiler.java:55)
   [junit4]    >        at 
org.apache.solr.hadoop.morphline.MorphlineMapRunner.<init>(MorphlineMapRunner.java:157)
   [junit4]    >        at 
org.apache.solr.hadoop.morphline.MorphlineMapper.setup(MorphlineMapper.java:75)
   [junit4]    >        at 
org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:142)
   [junit4]    >        at 
org.apache.hadoop.mrunit.mapreduce.MapDriver.run(MapDriver.java:137)
   [junit4]    >        at 
org.apache.solr.hadoop.MorphlineMapperTest.testMapper(MorphlineMapperTest.java:61)
   [junit4]    >        at java.lang.Thread.run(Thread.java:744)

{code}

> Solr 4.4 will not deploy in Glassfish 4.x
> -----------------------------------------
>
>                 Key: SOLR-5109
>                 URL: https://issues.apache.org/jira/browse/SOLR-5109
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.4
>         Environment: Glassfish 4.x
>            Reporter: jamon camisso
>            Priority: Blocker
>              Labels: guava
>         Attachments: LUCENE-5109.patch, guava-15.0-SNAPSHOT.jar
>
>
> The bundled Guava 14.0.1 JAR blocks deploying Solr 4.4 in Glassfish 4.x.
> This failure is a known issue with upstream Guava and is described here:
> https://code.google.com/p/guava-libraries/issues/detail?id=1433
> Building Guava guava-15.0-SNAPSHOT.jar from master and bundling it in Solr 
> allows for a successful deployment.
> Until the Guava developers release version 15 using their HEAD or even an RC 
> tag seems like the only way to resolve this.
> This is frustrating since it was proposed that Guava be removed as a 
> dependency before Solr 4.0 was released and yet it remains and blocks 
> upgrading: https://issues.apache.org/jira/browse/SOLR-3601



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to