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

Peter Vary updated HIVE-22185:
------------------------------
    Status: Patch Available  (was: Open)

> HADOOP-15832 will cause problems with tests using MiniYarn clusters
> -------------------------------------------------------------------
>
>                 Key: HIVE-22185
>                 URL: https://issues.apache.org/jira/browse/HIVE-22185
>             Project: Hive
>          Issue Type: Task
>          Components: Test
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>         Attachments: HIVE-22185.patch
>
>
> HADOOP-15832 changed the way to depend on bouncycastle jars.
> This will break tests depending on it like:
>  * 
> org.apache.hive.hcatalog.mapreduce.TestHCatMultiOutputFormat.org.apache.hive.hcatalog.mapreduce.TestHCatMultiOutputFormat
>  * 
> org.apache.hive.hcatalog.mapreduce.TestHCatMultiOutputFormat.org.apache.hive.hcatalog.mapreduce.TestHCatMultiOutputFormat
>  * 
> org.apache.hive.hcatalog.mapreduce.TestHCatPartitionPublish.org.apache.hive.hcatalog.mapreduce.TestHCatPartitionPublish
>  * 
> org.apache.hive.hcatalog.mapreduce.TestMultiOutputFormat.org.apache.hive.hcatalog.mapreduce.TestMultiOutputFormat
> Example exception:
> {code:java}
> java.lang.NoClassDefFoundError: 
> org/bouncycastle/operator/OperatorCreationException
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:814)
>       at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1245)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:321)
>       at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
>       at 
> org.apache.hadoop.yarn.server.MiniYARNCluster.initResourceManager(MiniYARNCluster.java:348)
>       at 
> org.apache.hadoop.yarn.server.MiniYARNCluster.access$200(MiniYARNCluster.java:128)
>       at 
> org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.serviceInit(MiniYARNCluster.java:497)
>       at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
>       at 
> org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
>       at 
> org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:316)
>       at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:206)
>       at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
>       at 
> org.apache.hadoop.mapred.MiniMRClientClusterFactory.create(MiniMRClientClusterFactory.java:79)
>       at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:188)
>       at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:176)
>       at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:168)
>       at 
> org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:129) {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to