You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Alexandros Papadopoulos <al...@gmail.com> on 2014/04/14 22:43:40 UTC

hdfs - get file block path for a datanode

hi all,

     in some cases as hdfs-client, i would like to know the file block 
path in a datanode.
Is there a way to get a file block path for a datanode ??

Thanks in advance,
alexpap

Re: hdfs - get file block path for a datanode

Posted by Alexandros Papadopoulos <al...@gmail.com>.
thanks for the response, yep y r right!
sorry i didn't make it clear.

i need this feature throw the java api ??


On 04/15/2014 12:04 AM, Peyman Mohajerian wrote:
> hadoop fsck <path> -files -blocks -locations
>
>
> On Mon, Apr 14, 2014 at 4:43 PM, Alexandros Papadopoulos 
> <alex.pap.cs@gmail.com <ma...@gmail.com>> wrote:
>
>     hi all,
>
>         in some cases as hdfs-client, i would like to know the file
>     block path in a datanode.
>     Is there a way to get a file block path for a datanode ??
>
>     Thanks in advance,
>     alexpap
>
>


Re: hdfs - get file block path for a datanode

Posted by Alexandros Papadopoulos <al...@gmail.com>.
thanks for the response, yep y r right!
sorry i didn't make it clear.

i need this feature throw the java api ??


On 04/15/2014 12:04 AM, Peyman Mohajerian wrote:
> hadoop fsck <path> -files -blocks -locations
>
>
> On Mon, Apr 14, 2014 at 4:43 PM, Alexandros Papadopoulos 
> <alex.pap.cs@gmail.com <ma...@gmail.com>> wrote:
>
>     hi all,
>
>         in some cases as hdfs-client, i would like to know the file
>     block path in a datanode.
>     Is there a way to get a file block path for a datanode ??
>
>     Thanks in advance,
>     alexpap
>
>


Re: hdfs - get file block path for a datanode

Posted by Alexandros Papadopoulos <al...@gmail.com>.
thanks for the response, yep y r right!
sorry i didn't make it clear.

i need this feature throw the java api ??


On 04/15/2014 12:04 AM, Peyman Mohajerian wrote:
> hadoop fsck <path> -files -blocks -locations
>
>
> On Mon, Apr 14, 2014 at 4:43 PM, Alexandros Papadopoulos 
> <alex.pap.cs@gmail.com <ma...@gmail.com>> wrote:
>
>     hi all,
>
>         in some cases as hdfs-client, i would like to know the file
>     block path in a datanode.
>     Is there a way to get a file block path for a datanode ??
>
>     Thanks in advance,
>     alexpap
>
>


Re: hdfs - get file block path for a datanode

Posted by Alexandros Papadopoulos <al...@gmail.com>.
thanks for the response, yep y r right!
sorry i didn't make it clear.

i need this feature throw the java api ??


On 04/15/2014 12:04 AM, Peyman Mohajerian wrote:
> hadoop fsck <path> -files -blocks -locations
>
>
> On Mon, Apr 14, 2014 at 4:43 PM, Alexandros Papadopoulos 
> <alex.pap.cs@gmail.com <ma...@gmail.com>> wrote:
>
>     hi all,
>
>         in some cases as hdfs-client, i would like to know the file
>     block path in a datanode.
>     Is there a way to get a file block path for a datanode ??
>
>     Thanks in advance,
>     alexpap
>
>


Re: hdfs - get file block path for a datanode

Posted by Peyman Mohajerian <mo...@gmail.com>.
hadoop fsck <path> -files -blocks -locations


On Mon, Apr 14, 2014 at 4:43 PM, Alexandros Papadopoulos <
alex.pap.cs@gmail.com> wrote:

> hi all,
>
>     in some cases as hdfs-client, i would like to know the file block path
> in a datanode.
> Is there a way to get a file block path for a datanode ??
>
> Thanks in advance,
> alexpap
>

Re: hdfs - get file block path for a datanode

Posted by Peyman Mohajerian <mo...@gmail.com>.
hadoop fsck <path> -files -blocks -locations


On Mon, Apr 14, 2014 at 4:43 PM, Alexandros Papadopoulos <
alex.pap.cs@gmail.com> wrote:

> hi all,
>
>     in some cases as hdfs-client, i would like to know the file block path
> in a datanode.
> Is there a way to get a file block path for a datanode ??
>
> Thanks in advance,
> alexpap
>

Re: hdfs - get file block path for a datanode

Posted by Peyman Mohajerian <mo...@gmail.com>.
hadoop fsck <path> -files -blocks -locations


On Mon, Apr 14, 2014 at 4:43 PM, Alexandros Papadopoulos <
alex.pap.cs@gmail.com> wrote:

> hi all,
>
>     in some cases as hdfs-client, i would like to know the file block path
> in a datanode.
> Is there a way to get a file block path for a datanode ??
>
> Thanks in advance,
> alexpap
>

Re: hdfs - get file block path for a datanode

Posted by Peyman Mohajerian <mo...@gmail.com>.
hadoop fsck <path> -files -blocks -locations


On Mon, Apr 14, 2014 at 4:43 PM, Alexandros Papadopoulos <
alex.pap.cs@gmail.com> wrote:

> hi all,
>
>     in some cases as hdfs-client, i would like to know the file block path
> in a datanode.
> Is there a way to get a file block path for a datanode ??
>
> Thanks in advance,
> alexpap
>