You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by kawther khazri <nu...@yahoo.fr> on 2006/08/07 13:40:39 UTC

problems in logs files on 0.8

hello,
we are trying to install nutch in single machine using this guide:
"http://wiki.apache.org/nutch/NutchHadoopTutorial?highlight=%28nutch%29", we are blocked in this step:
[nutch@localhost search]$ bin/hadoop dfs -ls
java.lang.NullPointerException
   at java.net.InetSocketAddress.hashCode(libgcj.so.7)
   at java.util.Hashtable.hash(libgcj.so.7)
   at java.util.Hashtable.get(libgcj.so.7)
   at org.apache.hadoop.ipc.Client.getConnection(Client.java:357)
   at org.apache.hadoop.ipc.Client.call(Client.java:297)
   at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:150)
   at org.apache.hadoop.dfs.$Proxy0.getListing(Unknown Source)
   at org.apache.hadoop.dfs.DFSClient.listPaths(DFSClient.java:332)
   at org.apache.hadoop.dfs.DistributedFileSystem.listPathsRaw(DistributedFileSystem.java:157)
   at org.apache.hadoop.fs.FileSystem.listPaths(FileSystem.java:509)
   at org.apache.hadoop.fs.FileSystem.listPaths(FileSystem.java:479)
   at org.apache.hadoop.dfs.DFSShell.ls(DFSShell.java:165)
   at org.apache.hadoop.dfs.DFSShell.run(DFSShell.java:330)
   at org.apache.hadoop.util.ToolBase.executeCommand(ToolBase.java:173)
   at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:182)
   at org.apache.hadoop.dfs.DFSShell.main(DFSShell.java:361)


When, i have a look at the logs directory, I found this error:
2006-08-05 17:27:46,138 INFO  util.Credential - Checking Resource aliases
2006-08-05 17:27:46,328 INFO  http.HttpServer - Version Jetty/5.1.4
2006-08-05 17:27:46,329 INFO  util.Container - Started HttpContext[/logs,/logs]
2006-08-05 17:27:46,444 WARN  servlet.WebApplicationContext - Web application not found /nutch/search/file:/nutch/search/lib/hadoop-0.4.0.jar!/webapps/dfs
2006-08-05 17:27:46,447 WARN  servlet.WebApplicationContext - Configuration error on /nutch/search/file:/nutch/search/lib/hadoop-0.4.0.jar!/webapps/dfs
java.io.FileNotFoundException: /nutch/search/file:/nutch/search/lib/hadoop-0.4.0.jar!/webapps/dfs
   at org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:266)
   at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:452)
   at org.mortbay.util.Container.start(Container.java:73)
   at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
   at org.mortbay.util.Container.start(Container.java:73)
   at org.apache.hadoop.mapred.StatusHttpServer.start(StatusHttpServer.java:139)
   at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:174)
   at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:91)
   at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:85)
   at org.apache.hadoop.dfs.NameNode.main(NameNode.java:491)

2006-08-05 17:27:46,450 INFO  util.Container - Started HttpContext[/static,/static]
2006-08-05 17:27:46,992 INFO  http.SocketListener - Started SocketListener on 0.0.0.0:50070

I don't know the cause of this error.
Please, If you have any idea,help me.
BEST REGARDS, 


 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 
 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 

Re: problems in logs files on 0.8

Posted by Andrzej Bialecki <ab...@getopt.org>.
kawther khazri wrote:
> hello,
> we are trying to install nutch in single machine using this guide:
> "http://wiki.apache.org/nutch/NutchHadoopTutorial?highlight=%28nutch%29", we are blocked in this step:
>   

You are using GCJ Java, which is not officially supported by 
Nutch/Hadoop - please try this again using Sun JVM 1.5.x.

-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com