hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jason hadoop <jason.had...@gmail.com>
Subject Re: Specifying NameNode externally to hadoop-site.xml
Date Mon, 25 May 2009 16:07:51 GMT
if you launch your jobs via bin/hadoop jar jar_file [main class]  [options]

you can simply specify -fs hdfs://host:port before the jar_file

On Sun, May 24, 2009 at 3:02 PM, Stas Oskin <stas.oskin@gmail.com> wrote:

> Hi.
>
> I'm looking to move the Hadoop NameNode URL outside the hadoop-site.xml
> file, so I could set it at the run-time.
>
> Any idea how to do it?
>
> Or perhaps there is another configuration that can be applied to the
> FileSystem object?
>
> Regards.
>



-- 
Alpha Chapters of my book on Hadoop are available
http://www.apress.com/book/view/9781430219422
www.prohadoopbook.com a community for Hadoop Professionals

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message