Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
hdfsFS lfs = hdfsConnect(NULL, 0);
if(!fs)
The test should be
hdfsFS lfs = hdfsConnect(NULL, 0);
if(!lfs) { fprintf(stderr, "Oops! Failed to connect to 'local' hdfs!n"); exit(-1); }