Hi,
      VERSION does not appear to show up when running  "hadoop dfs -lsr /"
   it displays the files previously placed into hdfs . but nothing about
VERSION.      I can see the VERSION file  on the datanodes under the hdfs
managed data  directoy

find /data | xargs ls -lrta | grep VERSION
-rw-rw-r-- 1 hdfs   hdfs     154 Aug  9 16:28 /data/1/dfs/dn/current/VERSION
-rw-rw-r-- 1 hdfs   hdfs     154 Aug  9 16:28 /data/2/dfs/dn/current/VERSION
-rw-rw-r-- 1 hdfs   hdfs     154 Aug  9 16:28 /data/3/dfs/dn/current/VERSION
-rw-rw-r-- 1 hdfs hdfs    154 Aug  9 16:28 VERSION
-rw-rw-r-- 1 hdfs hdfs    154 Aug  9 16:28 VERSION
-rw-rw-r-- 1 hdfs hdfs    154 Aug  9 16:28 VERSION

But using hadoop dfs does not see it ?


2012/8/9 Mohammad Tariq <donta...@gmail.com>

> Hello Stephen,
>
>     You can use the VERSION file to verify that.
>
> Regards,
>     Mohammad Tariq
>
>
> On Fri, Aug 10, 2012 at 4:34 AM, Stephen Boesch <java...@gmail.com> wrote:
> >
> > Hi,  what's your take?   I was thinking to check if a certain
> always-present
> > file exists  via a  hadoop dfs -ls <file> .  Other suggestions  welcome.
> >
> > thanks
> >
> > stephenb
>

Reply via email to