On Fri, 2006-08-11 at 13:53 +0200, Mikkel Kamstrup Erlandsen wrote:
> I'm trying to run a distributed indexing service where records a read
> from a remote database via Java rmi. If I run with
> mapred.job.tracker="local" everything is fine and dandy, but if I run
> distributed the jobtracker hangs on a
> java.rmi.Naming.lookup(serviceName) call. I'm kinda stumped on this, so
> I'd appreciate any thoughts on this, however loose they may be...
> 
> Cheers,
> Mikkel 
> 
> Note
> My HADOOP_OPTS in hadoop/bin/hadoop is set to
> HADOOP_OPTS="-Djava.security.manager
> -Djava.security.policy=/home/hadoop/mapred-indexer/config/.index.policy"
>   To enable java security management
> 

I solved this (or worked around it to be precise) by implementing a
proxy standalone server talking rmi with the database and talking hadoop
rpc with hadoop.

So far it seems to work. I still don't have any clue about the original
problem though.

Cheers,
Mikkel

  • Hadoop vs Java RMI Mikkel Kamstrup Erlandsen
    • Re: Hadoop vs Java RMI Mikkel Kamstrup Erlandsen

Reply via email to