You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Wing Yew Poon (JIRA)" <ji...@apache.org> on 2013/04/06 02:41:16 UTC
[jira] [Created] (BIGTOP-907) hadoop-mapreduce-historyserver
should require hadoop-hdfs
Wing Yew Poon created BIGTOP-907:
------------------------------------
Summary: hadoop-mapreduce-historyserver should require hadoop-hdfs
Key: BIGTOP-907
URL: https://issues.apache.org/jira/browse/BIGTOP-907
Project: Bigtop
Issue Type: Bug
Components: Debian, RPM
Affects Versions: 0.5.0
Reporter: Wing Yew Poon
Fix For: 0.6.0
This problem is usually not encountered because hadoop-mapreduce-historyserver is usually installed on a host where hadoop-hdfs is also installed.
The hadoop-mapreduce-historyserver package does not have any dependency (direct or indirect) on hadoop-hdfs. If hadoop-hdfs is not installed, however, the hadoop-mapreduce-historyserver service will fail to start, due to:
{noformat}
2013-04-04 14:15:25,083 FATAL org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer: Error starting JobHistoryServer
java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.Hdfs not found
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1571)
at org.apache.hadoop.fs.AbstractFileSystem.createFileSystem(AbstractFileSystem.java:142)
at org.apache.hadoop.fs.AbstractFileSystem.get(AbstractFileSystem.java:233)
at org.apache.hadoop.fs.FileContext$2.run(FileContext.java:321)
at org.apache.hadoop.fs.FileContext$2.run(FileContext.java:319)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
at org.apache.hadoop.fs.FileContext.getAbstractFileSystem(FileContext.java:319)
at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:432)
at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:454)
at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.init(HistoryFileManager.java:392)
at org.apache.hadoop.mapreduce.v2.hs.JobHistory.init(JobHistory.java:87)
...
{noformat}
Installing the hadoop-hdfs package solves the problem.
--
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