vertica / DistributedR

GNU General Public License v2.0
163 stars 54 forks source link

DistributedR :: Issue HPdata with kerberos based hadoop environment. #61

Open hemendray120 opened 7 years ago

hemendray120 commented 7 years ago

Hi,

I am trying to load csv file from hadoop hdfs (Cloudera 5.8.0+Kerberos) but receiving the error.

Rscript: library(HPdata) library(distributedR) distributedR_start() Sys.setenv(DEBUG_DDC=TRUE) system("kinit -kt ") mydframe <- csv2dframe(url='hdfs:///user//Sample.csv',schema='A1:character,A2:character,A3:character', hdfsConfigurationFile='/home//hdfsconfig.json')

Error: response-parse: lexical error: invalid char in json text.

", "hdfsUser": "" } Not sure whether kerberos authentication is supported in HPdata package. I have tried by running wget command on the webhdfs url and able to get the json response after kerberos authentication.So it seems issue with kerberos authentication in HPdata package. Do we have any configuration or workaround to this. Thanks
hemendray120 commented 7 years ago

Is there any update on this.

Thanks,