[
https://issues.apache.org/jira/browse/HBASE-8528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655093#comment-13655093
]
Gary Helmling commented on HBASE-8528:
--------------------------------------
bq. I like the yarn.is.minicluster setting approach because it is more direct.
I'm wondering why this isn't the default when every minimrcluster is created.
This is set in the MiniMRCluster configuration automatically, but the
Configuration instance seems to be a copy of any Configuration passed down to
the MiniMRCluster constructor, so it isn't visible externally. At the moment
HBaseTestingUtility doesn't even pass down the Configuration instance, but even
if it did it wouldn't help due to the above.
If you see any more transparent way of getting yarn.is.minicluster set
automatically, that would be cool.
> [hadoop2] TestMultiTableInputFormat always fails on hadoop with YARN-129
> applied
> --------------------------------------------------------------------------------
>
> Key: HBASE-8528
> URL: https://issues.apache.org/jira/browse/HBASE-8528
> Project: HBase
> Issue Type: Sub-task
> Components: hadoop2, mapreduce, test
> Affects Versions: 0.95.0
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: 0.98.0, 0.95.1
>
> Attachments: hbase-8528_alt.patch, hbase-8528.patch
>
>
> TestMulitTableInputFormat always fails if YARN-129 is applied. Its error
> message isn't useful (assertion failed) -- but if you look at the
> stderr/stdout/syslog files of the jobs in
> hbase-server/target/org.apache.hadoop.mapred.MiniMRCluster* (minicluster data
> dirs) you'll find this class not found exception:
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/hadoop/mapreduce/v2/app/MRAppMaster
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class:
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster. Program will exit.
> {code}
--
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