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

Arup Malakar commented on HCATALOG-495:
---------------------------------------

The google guava cache is used by the HiveClientCache added as part of 
HCATALOG-370. I see that it is present in both the ivy.xml and 
ivy/libraries.properties:

{noformat}
$ grep guava ivy.xml ivy/libraries.properties 
ivy.xml:    <dependency org="com.google.guava" name="guava" 
rev="${guava.version}"/>
ivy/libraries.properties:guava.version=11.0.2
{noformat}

{noformat}
$ jar tvf ./build/ivy/lib/default/com.google.guava-guava-11.0.2.jar | grep 
RemovalListener.class
   561 Wed Feb 22 09:01:40 PST 2012 
com/google/common/collect/MapMaker$RemovalListener.class
   437 Wed Feb 22 09:01:42 PST 2012 
com/google/common/cache/RemovalListener.class
{noformat}


                
> HCat MR jobs failing in trunk
> -----------------------------
>
>                 Key: HCATALOG-495
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-495
>             Project: HCatalog
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 0.5
>            Reporter: Alan Gates
>            Priority: Critical
>
> All MR jobs run by the e2e tests fail with:
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> com/google/common/cache/RemovalListener
>     at org.apache.hcatalog.common.HCatUtil.getHiveClient(HCatUtil.java:533)
>     at 
> org.apache.hcatalog.mapreduce.InitializeInput.getInputJobInfo(InitializeInput.java:96)
>     at 
> org.apache.hcatalog.mapreduce.InitializeInput.setInput(InitializeInput.java:77)
>     at 
> org.apache.hcatalog.mapreduce.HCatInputFormat.setInput(HCatInputFormat.java:40)
>     at org.apache.hcatalog.utils.SimpleRead.run(SimpleRead.java:89)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>     at org.apache.hcatalog.utils.SimpleRead.main(SimpleRead.java:104)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> {code}
> Have we removed any jars lately that we would expect to cause this?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to