Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cloudera FUSE Can't get access I/O-Error

Cloudera FUSE Can't get access I/O-Error

New Contributor

I succsesfully installed a CDH 5.3 system with one nameNode and 3 dataNodes.

Now I wanted to use FUSE to use HDFS as a normal linux mount.

So I tried


apt-get install hadoop-hdfs-fuse 


like described here:

http://www.cloudera.com/content/cloudera/en/documentation/cdh4/latest/CDH4-Installation-Guide/cdh4ig...

 

But it does not work:

 

No package hadoop-hdfs-fuse available.


So I used this sources i have found with google

$ wget http://archive.cloudera.com/one-click-install/$(lsb_release -cs)/cdh3-repository_1.0_all.deb
$ sudo dpkg -i cdh3-repository_1.0_all.deb
$ sudo apt-get update
$ sudo apt-get install hadoop-0.20-fuse

 


OK, now i tried to connect to my namenode:

$ mkdir -p /testhd
$ hadoop-fuse-dfs dfs://vm0.fritz.box:8020 /testhd

 



Result:

NFO fuse_options.c:165 Adding FUSE arg /testhd

 



But I can’t access the mounted point

$ cd /testhd
$ -bash: cd: /testhd: Eingabe-/Ausgabefehler (I/O error)

 

Do you have any idea?

 

thx

 

Michael

 

3 REPLIES 3

Re: Cloudera FUSE Can't get access I/O-Error

Please install the hdfs fuse deb from the 5.3.0 repository, not cdh3.
You can see the rpm here, it is based on Hadoop 2.5.0, not 0.20.
http://archive.cloudera.com/cdh5/ubuntu/trusty/amd64/cdh/pool/contrib/h/hadoop/

Instructions are here:
http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_ig_hdfs_mountable.h...

Please try again and let us know if you face problems.

Regards,
Gautam Gopalakrishnan
Highlighted

Re: Cloudera FUSE Can't get access I/O-Error

New Contributor

Thx Gautam

 

 

I tried to install it on my namenode master

 

 rpm -Uvh hadoop-hdfs-fuse-2.5.0+cdh5.3.0+781-1.cdh5.3.0.p0.54.el6.x86_64.rpm

Fehler: Fehlgeschlagende Abhängigkeiten:
    hadoop = 2.5.0+cdh5.3.0+781-1.cdh5.3.0.p0.54.el6 wird benötigt von hadoop-hdfs-fuse-2.5.0+cdh5.3.0+781-1.cdh5.3.0.p0.54.el6.x86_64
    hadoop-libhdfs = 2.5.0+cdh5.3.0+781-1.cdh5.3.0.p0.54.el6 wird benötigt von hadoop-hdfs-fuse-2.5.0+cdh5.3.0+781-1.cdh5.3.0.p0.54.el6.x86_64
    hadoop-client = 2.5.0+cdh5.3.0+781-1.cdh5.3.0.p0.54.el6 wird benötigt von hadoop-hdfs-fuse-2.5.0+cdh5.3.0+781-1.cdh5.3.0.p0.54.el6.x86_64

 Is this normal that I have to install all these dependencies?

 

Would you perfere to install fuse on a diffrent machine outside of the hadoop servers?

 

 

thx

 

 

Michael

 

Re: Cloudera FUSE Can't get access I/O-Error

Are you downloading one rpm separately and installing it? Usually it is best to download a CDH version's entire RPM archive and install using the name, like "yum install hadoop-hdfs-fuse" and this will pull in any dependencies.

You should not need to install FUSE on a host outside the cluster.
Regards,
Gautam Gopalakrishnan