hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfonso Olias Sanz" <alfonso.olias.s...@gmail.com>
Subject [core] dfs.getFileCacheHints () returns an empty matrix for an existing file
Date Wed, 19 Mar 2008 17:51:08 GMT
HI there,

I am trying to get the hostnames where  a file is contained
      dfs.getFileCacheHints(inFile, 0, 100);
But for a reason I cannot guess, some files that are in the HDFS the
returning String[][] is empty.

if I list the file using bin/hadoop -ls path | grep fileName   The file appears.

Also I am able to get the FileStatus dfs.getFileStatus(inFile);

What I am trying to do is for a list of files, get the hostnames were
the files are phisically stored.


View raw message