Hi,
I recently upgraded from cloudera's cdh3 to cdh4 (Hadoop 0.23) version,
im trying to check if file exists on hdfs or not using the following code
(code was working fine in cdh3):
Path path = new Path(p);
if (!fileSystem.exists(path)) {
As Shaswat mentioned previously, you're problem may be related to your
configuration.
Is core-site.xml on your classpath? For example, what is the value for
conf.get(fs.default.name)?
Alternatively, you can set this property directly in your code:
conf.set(fs.default.name,
there may be a problem with hostname resolution check if it is forward and
backword resolvable...and if you have any ip address anywhere please
replace it with hostname and the try..
On Sun, Jul 22, 2012 at 9:56 PM, Minh Duc Nguyen mdngu...@gmail.com wrote:
As Shaswat mentioned previously,
Thank you every one for the help. Issue is fixed.
On Sun, Jul 22, 2012 at 4:31 PM, shashwat shriparv
dwivedishash...@gmail.com wrote:
there may be a problem with hostname resolution check if it is forward and
backword resolvable...and if you have any ip address anywhere please
replace it
Hi,
I was planning to use DataJoin jar (located in
$HADOOP_INSTALL/contrib/datajoin) for reduce-side join (version 1.0.3).
It looks like DataJoinMapperBase implements Mapper interface (according
to old API) and not extends it (according to new API). This is a problem
because I cannot write
I don't like to clutter up with list with simple thanks responses...so,
thanks.
Cheers!
Keith Wiley kwi...@keithwiley.com keithwiley.commusic.keithwiley.com
I used to be with it, but then they changed