hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Oskin <stas.os...@gmail.com>
Subject Re: Getting free and used space
Date Wed, 08 Apr 2009 13:51:46 GMT
Hi.

Thanks for the explanation.

Now for the easier part - how do I specify the user when connecting? :)

Is it a config file level, or run-time level setting?

Regards.

2009/4/8 Brian Bockelman <bbockelm@cse.unl.edu>

> Hey Stas,
>
> Did you try this as a privileged user?  There might be some permission
> errors... in most of the released versions, getUsed() is only available to
> the Hadoop superuser.  It may be that the exception isn't propagating
> correctly.
>
> Brian
>
>
> On Apr 8, 2009, at 3:13 AM, Stas Oskin wrote:
>
>  Hi.
>>
>> I'm trying to use the API to get the overall used and free spaces.
>>
>> I tried this function getUsed(), but it always returns 0.
>>
>> Any idea?
>>
>> Thanks.
>>
>
>

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