You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to access HDFS file in Map function of RMR. (The file is of type cdf.) I am using the following approach but not able to succeed in it.
Normal approach in R(without using mapreduce):
d <- open.ncdf("file.cdf")
This refers to local file.
Appoach I am trying in RMR:
x=hdfs.file("file.cdf")
d<- open.ncdf(x) #We will write this function call in map function
Error: No file found with the specified name. (I even tried by giving absolute path)
I am replacing local file reference with HDFS reference. (I can't use hdfs.read.text.file because my file is not in text format)
So could any one help me if there is anyway to refer the HDFS file (other than text file)?
(P.S: I can't use form.dfs also in my map because file is of size ~70MB)
Environment:
R Version - 3.2.2
Rmr-2_3.3.1
Cloudera Quickstart VM 5.5.0
Please let me know if any information required.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to access HDFS file in Map function of RMR. (The file is of type cdf.) I am using the following approach but not able to succeed in it.
Normal approach in R(without using mapreduce):
d <- open.ncdf("file.cdf")
This refers to local file.
Appoach I am trying in RMR:
x=hdfs.file("file.cdf")
d<- open.ncdf(x) #We will write this function call in map function
Error: No file found with the specified name. (I even tried by giving absolute path)
I am replacing local file reference with HDFS reference. (I can't use hdfs.read.text.file because my file is not in text format)
So could any one help me if there is anyway to refer the HDFS file (other than text file)?
(P.S: I can't use form.dfs also in my map because file is of size ~70MB)
Environment:
R Version - 3.2.2
Rmr-2_3.3.1
Cloudera Quickstart VM 5.5.0
Please let me know if any information required.
Thanks
The text was updated successfully, but these errors were encountered: