saurfang / rwebhdfs

R Package for WebHDFS REST API
18 stars 6 forks source link

Could not resolve host: bigdatalite.localdomain #16

Closed rachid-drago closed 2 years ago

rachid-drago commented 2 years ago

when i try to read the file from hdfs it says Could not resolve host: bigdatalite.localdomain but i can create and edit directories

f <- read_file(hdfs, "/Tpa_groupe_4/Marketing/Marketing.csv") Error in function (type, msg, asError = TRUE) : Could not resolve host: bigdatalite.localdomain

dir_stat(hdfs, "/Tpa_groupe_4/Marketing") accessTime blockSize childrenNum fileId group length modificationTime owner pathSuffix permission replication Marketing.csv 2021-12-25 16:59:49 67108864 0 206617 supergroup 638 2021-12-25 16:59:50 oracle Marketing.csv 644 1 storagePolicy type Marketing.csv 0 FILE

rachid-drago commented 2 years ago

Fixed I just need to add bigdatalite.localdomain to Hosts file in my local machine