[gdal-dev] Question on how to open a raster in HDFS using GDAL
ZAZHIL-HA HERENA
zazhil_ha at hotmail.com
Fri Nov 23 11:15:10 PST 2018
Thank you so much!, now I am working on 2.4 source code but I am getting an error when trying to configure using:
./configure --prefix=/scratch/zherena/gdal/build/gdal-master/gdal/outputb/ --with-complete=yes --with-java=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-11.b12.el7.x86_64/ --with-swig-java=yes --with-hdfs=/scratch/zherena/gdal/CDH-6.0.1-1.cdh6.0.1.p0.590678/ --with-curl=/usr/bin/curl-config
The error I get is:
checking for HDFS in /scratch/zherena/gdal/CDH-6.0.1-1.cdh6.0.1.p0.590678/... checking for hdfsConnect in -lhdfs... no
checking for /scratch/zherena/gdal/CDH-6.0.1-1.cdh6.0.1.p0.590678//include/hdfs.h... yes
configure: error: HDFS support not enabled.
Is there any configuration in my environment that I should consider? or maybe another distribution of Hadoop?
________________________________
From: Even Rouault <even.rouault at spatialys.com>
Sent: Friday, November 23, 2018 11:52 AM
To: gdal-dev at lists.osgeo.org
Cc: ZAZHIL-HA HERENA; James McClain; nik at nikosalexandris.net
Subject: Re: [gdal-dev] Question on how to open a raster in HDFS using GDAL
> Version says 2.3.2 but libraries say: libgdal.so.20.4.2 .
Libtool number (.so.20.4.2) has nothing to do with user-friendly version
number (2.3.2)
> I am not sure if I
> got the latest code, this is the first time I compile it myself, I used
> this link to download source code:
> http://download.osgeo.org/gdal/CURRENT/gdal-2.3.2.tar.gz
This is the latest release, but /vsihdfs/ is in the development version, not
yet released, so download
https://github.com/OSGeo/gdal/archive/master.zip
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20181123/29c6aa81/attachment-0001.html>
More information about the gdal-dev
mailing list