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 Raj Hadoop <ha...@yahoo.com> on 2014/02/08 18:33:23 UTC
A hadoop command to determine the replication factor of a hdfs file ?
Hi,
Is there a hadoop command to determine the replication factor of a hdfs file ? Please advise.
I know that "fs setrep" only changes the replication factor.
Regards,
Raj
Re: A hadoop command to determine the replication factor of a hdfs file ?
Posted by Raj Hadoop <ha...@yahoo.com>.
Thank you all.
On Saturday, February 8, 2014 12:53 PM, Devin Suiter RDX <ds...@rdx.com> wrote:
Also Raj - if you're using pseudo-distributed mode, the replication factor will be 1. This is part of pseudo-distributed configuration. So if you're working on a Cloudera preconfigured machine image, for example, it's not wrong that 'hadoop fs -ls' shows all files as replicated 1 times.
Devin Suiter
Jr. Data Solutions Software Engineer
100 Sandusky Street | 2nd Floor | Pittsburgh, PA 15212
Google Voice: 412-256-8556 | www.rdx.com
On Sat, Feb 8, 2014 at 12:48 PM, Harsh J <ha...@cloudera.com> wrote:
Hi Raj,
>
>The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
>the "hadoop fs -stat" commands both reveal the replication factor
>of a given file.
>
>On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>> Hi,
>>
>> Is there a hadoop command to determine the replication factor of a hdfs file
>> ? Please advise.
>>
>> I know that "fs setrep" only changes the replication factor.
>>
>> Regards,
>> Raj
>
>
>
>--
>Harsh J
>
Re: A hadoop command to determine the replication factor of a hdfs file ?
Posted by Raj Hadoop <ha...@yahoo.com>.
Thank you all.
On Saturday, February 8, 2014 12:53 PM, Devin Suiter RDX <ds...@rdx.com> wrote:
Also Raj - if you're using pseudo-distributed mode, the replication factor will be 1. This is part of pseudo-distributed configuration. So if you're working on a Cloudera preconfigured machine image, for example, it's not wrong that 'hadoop fs -ls' shows all files as replicated 1 times.
Devin Suiter
Jr. Data Solutions Software Engineer
100 Sandusky Street | 2nd Floor | Pittsburgh, PA 15212
Google Voice: 412-256-8556 | www.rdx.com
On Sat, Feb 8, 2014 at 12:48 PM, Harsh J <ha...@cloudera.com> wrote:
Hi Raj,
>
>The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
>the "hadoop fs -stat" commands both reveal the replication factor
>of a given file.
>
>On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>> Hi,
>>
>> Is there a hadoop command to determine the replication factor of a hdfs file
>> ? Please advise.
>>
>> I know that "fs setrep" only changes the replication factor.
>>
>> Regards,
>> Raj
>
>
>
>--
>Harsh J
>
Re: A hadoop command to determine the replication factor of a hdfs file ?
Posted by Raj Hadoop <ha...@yahoo.com>.
Thank you all.
On Saturday, February 8, 2014 12:53 PM, Devin Suiter RDX <ds...@rdx.com> wrote:
Also Raj - if you're using pseudo-distributed mode, the replication factor will be 1. This is part of pseudo-distributed configuration. So if you're working on a Cloudera preconfigured machine image, for example, it's not wrong that 'hadoop fs -ls' shows all files as replicated 1 times.
Devin Suiter
Jr. Data Solutions Software Engineer
100 Sandusky Street | 2nd Floor | Pittsburgh, PA 15212
Google Voice: 412-256-8556 | www.rdx.com
On Sat, Feb 8, 2014 at 12:48 PM, Harsh J <ha...@cloudera.com> wrote:
Hi Raj,
>
>The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
>the "hadoop fs -stat" commands both reveal the replication factor
>of a given file.
>
>On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>> Hi,
>>
>> Is there a hadoop command to determine the replication factor of a hdfs file
>> ? Please advise.
>>
>> I know that "fs setrep" only changes the replication factor.
>>
>> Regards,
>> Raj
>
>
>
>--
>Harsh J
>
Re: A hadoop command to determine the replication factor of a hdfs file ?
Posted by Raj Hadoop <ha...@yahoo.com>.
Thank you all.
On Saturday, February 8, 2014 12:53 PM, Devin Suiter RDX <ds...@rdx.com> wrote:
Also Raj - if you're using pseudo-distributed mode, the replication factor will be 1. This is part of pseudo-distributed configuration. So if you're working on a Cloudera preconfigured machine image, for example, it's not wrong that 'hadoop fs -ls' shows all files as replicated 1 times.
Devin Suiter
Jr. Data Solutions Software Engineer
100 Sandusky Street | 2nd Floor | Pittsburgh, PA 15212
Google Voice: 412-256-8556 | www.rdx.com
On Sat, Feb 8, 2014 at 12:48 PM, Harsh J <ha...@cloudera.com> wrote:
Hi Raj,
>
>The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
>the "hadoop fs -stat" commands both reveal the replication factor
>of a given file.
>
>On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
>> Hi,
>>
>> Is there a hadoop command to determine the replication factor of a hdfs file
>> ? Please advise.
>>
>> I know that "fs setrep" only changes the replication factor.
>>
>> Regards,
>> Raj
>
>
>
>--
>Harsh J
>
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Devin Suiter RDX <ds...@rdx.com>.
Also Raj - if you're using pseudo-distributed mode, the replication factor
will be 1. This is part of pseudo-distributed configuration. So if you're
working on a Cloudera preconfigured machine image, for example, it's not
wrong that 'hadoop fs -ls' shows all files as replicated 1 times.
*Devin Suiter*
Jr. Data Solutions Software Engineer
100 Sandusky Street | 2nd Floor | Pittsburgh, PA 15212
Google Voice: 412-256-8556 | www.rdx.com
On Sat, Feb 8, 2014 at 12:48 PM, Harsh J <ha...@cloudera.com> wrote:
> Hi Raj,
>
> The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
> the "hadoop fs -stat" commands both reveal the replication factor
> of a given file.
>
> On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> > Hi,
> >
> > Is there a hadoop command to determine the replication factor of a hdfs
> file
> > ? Please advise.
> >
> > I know that "fs setrep" only changes the replication factor.
> >
> > Regards,
> > Raj
>
>
>
> --
> Harsh J
>
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Devin Suiter RDX <ds...@rdx.com>.
Also Raj - if you're using pseudo-distributed mode, the replication factor
will be 1. This is part of pseudo-distributed configuration. So if you're
working on a Cloudera preconfigured machine image, for example, it's not
wrong that 'hadoop fs -ls' shows all files as replicated 1 times.
*Devin Suiter*
Jr. Data Solutions Software Engineer
100 Sandusky Street | 2nd Floor | Pittsburgh, PA 15212
Google Voice: 412-256-8556 | www.rdx.com
On Sat, Feb 8, 2014 at 12:48 PM, Harsh J <ha...@cloudera.com> wrote:
> Hi Raj,
>
> The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
> the "hadoop fs -stat" commands both reveal the replication factor
> of a given file.
>
> On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> > Hi,
> >
> > Is there a hadoop command to determine the replication factor of a hdfs
> file
> > ? Please advise.
> >
> > I know that "fs setrep" only changes the replication factor.
> >
> > Regards,
> > Raj
>
>
>
> --
> Harsh J
>
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Devin Suiter RDX <ds...@rdx.com>.
Also Raj - if you're using pseudo-distributed mode, the replication factor
will be 1. This is part of pseudo-distributed configuration. So if you're
working on a Cloudera preconfigured machine image, for example, it's not
wrong that 'hadoop fs -ls' shows all files as replicated 1 times.
*Devin Suiter*
Jr. Data Solutions Software Engineer
100 Sandusky Street | 2nd Floor | Pittsburgh, PA 15212
Google Voice: 412-256-8556 | www.rdx.com
On Sat, Feb 8, 2014 at 12:48 PM, Harsh J <ha...@cloudera.com> wrote:
> Hi Raj,
>
> The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
> the "hadoop fs -stat" commands both reveal the replication factor
> of a given file.
>
> On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> > Hi,
> >
> > Is there a hadoop command to determine the replication factor of a hdfs
> file
> > ? Please advise.
> >
> > I know that "fs setrep" only changes the replication factor.
> >
> > Regards,
> > Raj
>
>
>
> --
> Harsh J
>
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Devin Suiter RDX <ds...@rdx.com>.
Also Raj - if you're using pseudo-distributed mode, the replication factor
will be 1. This is part of pseudo-distributed configuration. So if you're
working on a Cloudera preconfigured machine image, for example, it's not
wrong that 'hadoop fs -ls' shows all files as replicated 1 times.
*Devin Suiter*
Jr. Data Solutions Software Engineer
100 Sandusky Street | 2nd Floor | Pittsburgh, PA 15212
Google Voice: 412-256-8556 | www.rdx.com
On Sat, Feb 8, 2014 at 12:48 PM, Harsh J <ha...@cloudera.com> wrote:
> Hi Raj,
>
> The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
> the "hadoop fs -stat" commands both reveal the replication factor
> of a given file.
>
> On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> > Hi,
> >
> > Is there a hadoop command to determine the replication factor of a hdfs
> file
> > ? Please advise.
> >
> > I know that "fs setrep" only changes the replication factor.
> >
> > Regards,
> > Raj
>
>
>
> --
> Harsh J
>
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Harsh J <ha...@cloudera.com>.
Hi Raj,
The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
the "hadoop fs -stat" commands both reveal the replication factor
of a given file.
On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> Hi,
>
> Is there a hadoop command to determine the replication factor of a hdfs file
> ? Please advise.
>
> I know that "fs setrep" only changes the replication factor.
>
> Regards,
> Raj
--
Harsh J
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Harsh J <ha...@cloudera.com>.
Hi Raj,
The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
the "hadoop fs -stat" commands both reveal the replication factor
of a given file.
On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> Hi,
>
> Is there a hadoop command to determine the replication factor of a hdfs file
> ? Please advise.
>
> I know that "fs setrep" only changes the replication factor.
>
> Regards,
> Raj
--
Harsh J
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Shekhar Sharma <sh...@gmail.com>.
Run fsck command
On 8 Feb 2014 23:03, "Raj Hadoop" <ha...@yahoo.com> wrote:
> Hi,
>
> Is there a hadoop command to determine the replication factor of a hdfs
> file ? Please advise.
>
> I know that "fs setrep" only changes the replication factor.
>
> Regards,
> Raj
>
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Shekhar Sharma <sh...@gmail.com>.
Run fsck command
On 8 Feb 2014 23:03, "Raj Hadoop" <ha...@yahoo.com> wrote:
> Hi,
>
> Is there a hadoop command to determine the replication factor of a hdfs
> file ? Please advise.
>
> I know that "fs setrep" only changes the replication factor.
>
> Regards,
> Raj
>
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Harsh J <ha...@cloudera.com>.
Hi Raj,
The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
the "hadoop fs -stat" commands both reveal the replication factor
of a given file.
On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> Hi,
>
> Is there a hadoop command to determine the replication factor of a hdfs file
> ? Please advise.
>
> I know that "fs setrep" only changes the replication factor.
>
> Regards,
> Raj
--
Harsh J
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Harsh J <ha...@cloudera.com>.
Hi Raj,
The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
the "hadoop fs -stat" commands both reveal the replication factor
of a given file.
On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <ha...@yahoo.com> wrote:
> Hi,
>
> Is there a hadoop command to determine the replication factor of a hdfs file
> ? Please advise.
>
> I know that "fs setrep" only changes the replication factor.
>
> Regards,
> Raj
--
Harsh J
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Shekhar Sharma <sh...@gmail.com>.
Run fsck command
On 8 Feb 2014 23:03, "Raj Hadoop" <ha...@yahoo.com> wrote:
> Hi,
>
> Is there a hadoop command to determine the replication factor of a hdfs
> file ? Please advise.
>
> I know that "fs setrep" only changes the replication factor.
>
> Regards,
> Raj
>
Re: A hadoop command to determine the replication factor of a hdfs
file ?
Posted by Shekhar Sharma <sh...@gmail.com>.
Run fsck command
On 8 Feb 2014 23:03, "Raj Hadoop" <ha...@yahoo.com> wrote:
> Hi,
>
> Is there a hadoop command to determine the replication factor of a hdfs
> file ? Please advise.
>
> I know that "fs setrep" only changes the replication factor.
>
> Regards,
> Raj
>