| 3 | | $ vim /opt/hadoop-0.20/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java |
| | 5 | #!text |
| | 6 | org.apache.jasper.JasperException: Unable to compile class for JSP: |
| | 7 | |
| | 8 | An error occurred at line: 128 in the jsp file: /dfshealth.jsp |
| | 9 | The method getFSImage() from the type FSNamesystem is not visible |
| | 10 | 125: HttpServletRequest request) |
| | 11 | 126: throws IOException { |
| | 12 | 127: long underReplicatedBlocks = fsn.getUnderReplicatedBlocks(); |
| | 13 | 128: FSImage fsImage = fsn.getFSImage(); |
| | 14 | 129: |
| | 15 | 130: |
| | 16 | 131: List<Storage.StorageDirectory> removedStorageDirs = fsImage.getRemovedStorageDirs(); |
| | 17 | |
| | 18 | |
| | 19 | An error occurred at line: 131 in the jsp file: /dfshealth.jsp |
| | 20 | The method getRemovedStorageDirs() from the type FSImage is not visible |
| | 21 | 128: FSImage fsImage = fsn.getFSImage(); |
| | 22 | 129: |
| | 23 | 130: |
| | 24 | 131: List<Storage.StorageDirectory> removedStorageDirs = fsImage.getRemovedStorageDirs(); |
| | 25 | 132: String storageDirsSizeStr="", removedStorageDirsSizeStr="", storageDirsStr="", removedStorageDirsStr="", storageDirsDiv="", removedStorageDirsDiv=""; |
| | 26 | 133: |
| | 27 | 134: //FS Image storage configuration |
| | 28 | |
| | 29 | |
| | 30 | Stacktrace: |
| | 31 | org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) |
| | 32 | org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) |
| | 33 | org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457) |
| | 34 | org.apache.jasper.compiler.Compiler.compile(Compiler.java:378) |
| | 35 | org.apache.jasper.compiler.Compiler.compile(Compiler.java:353) |
| | 36 | org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) |
| | 37 | org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:644) |
| | 38 | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358) |
| | 39 | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389) |
| | 40 | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333) |
| | 41 | javax.servlet.http.HttpServlet.service(HttpServlet.java:722) |
| | 42 | |
| | 43 | |