hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Noguchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4526) fsck failing with NullPointerException (return value 0)
Date Mon, 27 Oct 2008 22:03:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643075#action_12643075
] 

Koji Noguchi commented on HADOOP-4526:
--------------------------------------

Reproduced the problem on a singlenode cluster by inserting some sleep.
Very similar issue with HADOOP-3107.
It somehow prints out the full stacktrace to the log only when there's no successful fsck
before that.
(I believe it's an uncaught exception)


{noformat}
2008-10-27 21:50:17,285 WARN /: /fsck?path=%2Fuser:
java.lang.NullPointerException
  at org.apache.hadoop.dfs.NamenodeFsck.check(NamenodeFsck.java:172)
  at org.apache.hadoop.dfs.NamenodeFsck.check(NamenodeFsck.java:166)
  at org.apache.hadoop.dfs.NamenodeFsck.fsck(NamenodeFsck.java:129)
  at org.apache.hadoop.dfs.FsckServlet.doGet(FsckServlet.java:48)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
  at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)
  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
  at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
  at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
  at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
  at org.mortbay.http.HttpServer.service(HttpServer.java:954)
  at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
  at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
  at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
  at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
  at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
  at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
{noformat}

{code:title=NamenodeFsck.java|borderStyle=solid}
171     LocatedBlocks blocks = nn.namesystem.getBlockLocations(path, 0, fileLen);
172     isOpen = blocks.isUnderConstruction();
{code}

> fsck failing with NullPointerException  (return value 0)
> --------------------------------------------------------
>
>                 Key: HADOOP-4526
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4526
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.18.1
>         Environment: 0.18.1_H4277_H4271_H4326_H4314_H4395_H4351_H4407_H3217
>            Reporter: Koji Noguchi
>
> fsck is siliently dying with return value of 0.
> Namenode log showing 
> 2008-10-27 07:57:00,514 WARN /: /fsck?path=%2F:
> java.lang.NullPointerException
> No stack trace.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message