GithubHelp home page GithubHelp logo

Vagrant Up Fails about cephfs-hadoop HOT 6 CLOSED

ceph avatar ceph commented on May 28, 2024
Vagrant Up Fails

from cephfs-hadoop.

Comments (6)

kdunn926 avatar kdunn926 commented on May 28, 2024

I am using an OSX host for Vagrant. The problem seems to be related to the files CephFS.java and CephFs.java. I renamed CephFS.java to CephFsProto.java and updated the class references throughout and it compiled fine.

from cephfs-hadoop.

dotnwat avatar dotnwat commented on May 28, 2024

@kdunn926 Are you compiling on HFS+? That file system is not case-sensitive, which might be the cause of the problem. Can you submit a pull request with your fix?

from cephfs-hadoop.

kdunn926 avatar kdunn926 commented on May 28, 2024

@noahdesu I am technically compiling within the Centos 6.5 guest, however the cephfs-hadoop source is mounted from the OSX host, which is indeed HFS+. As it turns out, renaming the CephFS.java file to CephFsProto.java was sufficient. I'm not a Java dev so I'm not sure if convention prefers class names be reflected in the file name. If so, I can submit a pull request with the changes I previously described.

from cephfs-hadoop.

dotnwat avatar dotnwat commented on May 28, 2024

@kdunn926 The case sensitivity of HFS+ definitely seems to be the issue. I would have expected Java to complain that the filename didn't match the class name inside. It's probably a good idea to change the class name inside as well. If it wasn't complaining then its probably because Java wasn't trying to load that class.

Can you open a pull request with what you have? I'll do some poking around and see if that code is even being used. I'm gonna reopen this ticket.

from cephfs-hadoop.

kdunn926 avatar kdunn926 commented on May 28, 2024

@noahdesu Pull request opened. Is this code still relevant or has HDFS drop-in functionality been moved elsewhere in Ceph or dropped altogether?

from cephfs-hadoop.

dotnwat avatar dotnwat commented on May 28, 2024

Thanks for the PR. HDFS drop-in is here and definitely relevant :) I'll get this merged soon.

from cephfs-hadoop.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.