<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div>
<div>
<div>
<div dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 12pt">
<div>
<div>Hello, I am not sure if I should use this mailing list to ask questions but I wanted to try, I am a developer trying to use GDAL to open rasters in HDFS.<br>
</div>
<div><br>
<div><b></b></div>
</div>
</div>
<div>
<div>
<p>I read in GDAL documentation that starting 2.4 it is possible to open a raster in HDFS. I downloaded and compiled the latest source code available version and the generated libraries show it is 2.4 (libgdal.so.20.4.2). I compiled with option "-with-hdfs=yes"
 and "--with-java=yes".</p>
<p>I am trying to open a raster using:</p>
<p>     <br>
</p>
<p>    Dataset raster = gdal.Open("/vsihdfs/hdfs://node:8020/user/hdfs /spatial_raster/input_raster/kahoolawe.tif", gdalconst.GA_ReadOnly);</p>
<p><br>
</p>
<p>but I am getting the following error: "ERROR 4: No such file or directory"</p>
<p><br>
</p>
<p>HDFS system is accesible and the raster exists in that path.<br>
</p>
<p>could anyone please tell me if hdfs virtual system not supported yet?, or maybe I configured it wrong when compiling?</p>
<p><br>
</p>
<p>I truly appreciate your help, thanks!</p>
<p><br>
</p>
<p>Zazhil-ha<br>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</body>
</html>