You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Mohammad Mustaqeem <3m...@gmail.com> on 2013/05/18 12:42:19 UTC
How to use WebHDFS?
Can any one help me to explore WebHDFS.
The link for it is
here<http://hadoop.apache.org/docs/r2.0.3-alpha/hadoop-project-dist/hadoop-hdfs/WebHDFS.html>
.
I am unable to access it.
When I run this command
curl -i "
http://127.0.0.1:50070/webhdfs/v1/input/listOfFiles?op=GETFILESTATUS"
I get following error -
Sorry, you are not currently allowed to request
http://127.0.0.1:50070/webhdfs/v1/input/listOfFiles? from this cache until
you have authenticated yourself.
Please help me.
--
*With regards ---*
*Mohammad Mustaqeem*,
M.Tech (CSE)
MNNIT Allahabad
9026604270
Re: How to use WebHDFS?
Posted by Alejandro Abdelnur <tu...@cloudera.com>.
please try adding the user.name parameter to the querystring. use your hdfs username as value
thanks
Alejandro
(phone typing)
On May 18, 2013, at 3:42, Mohammad Mustaqeem <3m...@gmail.com> wrote:
> Can any one help me to explore WebHDFS.
> The link for it is here.
> I am unable to access it.
>
> When I run this command
> curl -i "http://127.0.0.1:50070/webhdfs/v1/input/listOfFiles?op=GETFILESTATUS"
>
> I get following error -
>
> Sorry, you are not currently allowed to request http://127.0.0.1:50070/webhdfs/v1/input/listOfFiles? from this cache until you have authenticated yourself.
>
> Please help me.
>
>
> --
> With regards ---
> Mohammad Mustaqeem,
> M.Tech (CSE)
> MNNIT Allahabad
> 9026604270
>
>
Re: How to use WebHDFS?
Posted by Alejandro Abdelnur <tu...@cloudera.com>.
please try adding the user.name parameter to the querystring. use your hdfs username as value
thanks
Alejandro
(phone typing)
On May 18, 2013, at 3:42, Mohammad Mustaqeem <3m...@gmail.com> wrote:
> Can any one help me to explore WebHDFS.
> The link for it is here.
> I am unable to access it.
>
> When I run this command
> curl -i "http://127.0.0.1:50070/webhdfs/v1/input/listOfFiles?op=GETFILESTATUS"
>
> I get following error -
>
> Sorry, you are not currently allowed to request http://127.0.0.1:50070/webhdfs/v1/input/listOfFiles? from this cache until you have authenticated yourself.
>
> Please help me.
>
>
> --
> With regards ---
> Mohammad Mustaqeem,
> M.Tech (CSE)
> MNNIT Allahabad
> 9026604270
>
>
Re: How to use WebHDFS?
Posted by Alejandro Abdelnur <tu...@cloudera.com>.
please try adding the user.name parameter to the querystring. use your hdfs username as value
thanks
Alejandro
(phone typing)
On May 18, 2013, at 3:42, Mohammad Mustaqeem <3m...@gmail.com> wrote:
> Can any one help me to explore WebHDFS.
> The link for it is here.
> I am unable to access it.
>
> When I run this command
> curl -i "http://127.0.0.1:50070/webhdfs/v1/input/listOfFiles?op=GETFILESTATUS"
>
> I get following error -
>
> Sorry, you are not currently allowed to request http://127.0.0.1:50070/webhdfs/v1/input/listOfFiles? from this cache until you have authenticated yourself.
>
> Please help me.
>
>
> --
> With regards ---
> Mohammad Mustaqeem,
> M.Tech (CSE)
> MNNIT Allahabad
> 9026604270
>
>
Re: How to use WebHDFS?
Posted by Alejandro Abdelnur <tu...@cloudera.com>.
please try adding the user.name parameter to the querystring. use your hdfs username as value
thanks
Alejandro
(phone typing)
On May 18, 2013, at 3:42, Mohammad Mustaqeem <3m...@gmail.com> wrote:
> Can any one help me to explore WebHDFS.
> The link for it is here.
> I am unable to access it.
>
> When I run this command
> curl -i "http://127.0.0.1:50070/webhdfs/v1/input/listOfFiles?op=GETFILESTATUS"
>
> I get following error -
>
> Sorry, you are not currently allowed to request http://127.0.0.1:50070/webhdfs/v1/input/listOfFiles? from this cache until you have authenticated yourself.
>
> Please help me.
>
>
> --
> With regards ---
> Mohammad Mustaqeem,
> M.Tech (CSE)
> MNNIT Allahabad
> 9026604270
>
>