nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Nioche (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (NUTCH-778) Running Nutch On linux having whoami exception?
Date Fri, 22 Jan 2010 09:49:21 GMT

     [ https://issues.apache.org/jira/browse/NUTCH-778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julien Nioche resolved NUTCH-778.
---------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 1.0.0)

This is likely to be a problem with the Hadoop configuration or machine setup. it is not a
Nutch issue as such so I'll mark this as invalid.

> Running Nutch On linux having whoami exception?
> -----------------------------------------------
>
>                 Key: NUTCH-778
>                 URL: https://issues.apache.org/jira/browse/NUTCH-778
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>         Environment: Linux (RedHat)
>            Reporter: Prakash Panjwani
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I want to run nutch on the linux kernel,I have loged in as a root user, I have setted
all the environment variable and nutch file setting. I have created a url.txt file which content
the url to crawl, When i am trying to run nutch using following command
> bin/nutch crawl urls -dir pra
> it generates following exception.
> crawl started in: pra
> rootUrlDir = urls
> threads = 10
> depth = 5
> Injector: starting
> Injector: crawlDb: pra/crawldb
> Injector: urlDir: urls
> Injector: Converting injected urls to crawl db entries.
> Exception in thread "main" java.io.IOException: Failed to get the current user's information.
>         at org.apache.hadoop.mapred.JobClient.getUGI(JobClient.java:717)
>         at org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:592)
>         at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:788)
>         at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1142)
>         at org.apache.nutch.crawl.Injector.inject(Injector.java:160)
>         at org.apache.nutch.crawl.Crawl.main(Crawl.java:113)
> Caused by: javax.security.auth.login.LoginException: Login failed: Cannot run program
"whoami": java.io.IOException: error=12, Cannot allocate memory
>         at org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:250)
>         at org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:275)
>         at org.apache.hadoop.mapred.JobClient.getUGI(JobClient.java:715)
>         ... 5 more
> Server has enough space to run any java application.I have attached the statics..
>  total       used       free  
> Mem:        524320     194632     329688 
> -/+ buffers/cache:     194632     329688
> Swap:      2475680          0    2475680
> Total:     3000000     194632    2805368
> Is it sufficient memory space for nutch? Please some one help me ,I am new with linux
kernel and nutch. 
> Thanks in Advance.

-- 
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