Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while mounting kfs directory using FUSE #1

Open
GoogleCodeExporter opened this issue Mar 16, 2016 · 4 comments
Open

Error while mounting kfs directory using FUSE #1

GoogleCodeExporter opened this issue Mar 16, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Error while mounting KFS directory  using FUSE ? 

./kfs_fuse /media/hugedisk/KFS/mountkfs -f

kfs_fuse: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* 
boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = 
KFS::KfsClient]: Assertion `px != 0' failed.
Aborted


What version of the product are you using? On what operating system?
Im using kosmosfs .5 version on Ubuntu 10.04 64 bit .. 





Original issue reported on code.google.com by swap4uma...@gmail.com on 10 Jun 2011 at 12:33

@GoogleCodeExporter
Copy link
Author

the same problem with me. Wtf is that T_T

Original comment by Ng.t...@gmail.com on 6 Sep 2011 at 6:01

@GoogleCodeExporter
Copy link
Author

is the kfs.prp right?

Original comment by whspecia...@gmail.com on 7 Sep 2011 at 4:14

@GoogleCodeExporter
Copy link
Author

I had the same issue. my kfs.prp file was as follows (copied from 
http://sourceforge.net/apps/trac/kosmosfs/wiki/UsingWithFUSE)
metaServer.host = localhost
metaServer.port = 20000

After having a look at the code src/cc/libkfsClient/KfsClient.cc:

KfsClientPtr
KfsClientFactory::GetClient(const char *propFile)
{
    bool verbose = false;
#ifdef DEBUG
    verbose = true;
#endif
    if (theProps().loadProperties(propFile, '=', verbose) != 0) {
        KfsClientPtr clnt;
    return clnt;
    }

    return GetClient(theProps().getValue("metaServer.name", ""),
                     theProps().getValue("metaServer.port", -1));

}

I changed the kfs.prp file to:
metaServer.name = localhost
metaServer.port = 20000

and it all worked fine.

Original comment by m...@robertobruggemann.com on 23 Oct 2011 at 11:01

@GoogleCodeExporter
Copy link
Author

That kfs_fuse file is error because there are bugs in Kfs_fuse_main.cc file.
The author  even didn‘t test its release 

Original comment by charles....@gmail.com on 13 May 2012 at 11:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant