hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: How to create a temporary HDFS file system using Java?
Date Wed, 09 Jun 2010 21:29:21 GMT
We developed some in-house tool to deploy hadoop/hbase to mini cluster and
carry performance evaluation on the cluster.

On Wed, Jun 9, 2010 at 8:54 AM, Patrick Angeles <patrick@cloudera.com>wrote:

> Hey Stan,
>
> There's really no way to programmatically spin up an HDFS cluster. What's
> your actual goal?
>
> Regards,
>
> - Patrick
>
> p.s., Thanks for all the great comix! ;-)
>
> On Wed, Jun 9, 2010 at 4:48 AM, stan lee <lee.stan065@gmail.com> wrote:
>
> > Hi Experts,
> >
> > Although HDFS file system has exposed some APIs which can be used to
> create
> > directory, file, read and write data, can you tell me that whether there
> is
> > any API exposed to be used to create an HDFS file system in Java
> programe?
> >
> > For example, I have two machines, one is namenode, the other one is
> > datanode, before using HDFS API to create/delete dir and read/write data
> > into distributed system, how can I create a tempory HDFS file system
> under
> > /home/stan/hdfs using Java? Is there any API or example to do this?
> >
> > Thanks!
> > Stan
> >
>

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