[ 
https://issues.apache.org/jira/browse/HCATALOG-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis Crawford updated HCATALOG-495:
-------------------------------------

    Attachment: exclude_guava_from_hbase.patch

Hey [~alangates] - I trashed my maven cache and tried running tests, and the 
hbase storage handler ones fail with the same error. Looking into this I found 
r09 on the classpath instead of 11 like we'd expect. The attached patch puts 
the correct guava version on the classpath.

Something similar might be happening with the e2e tests. Can you try patching 
this in and seeing if they pass?
                
> 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
>         Attachments: exclude_guava_from_hbase.patch
>
>
> 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