Comments (6)
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.
@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.
@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.
@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.
@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.
Thanks for the PR. HDFS drop-in is here and definitely relevant :) I'll get this merged soon.
from cephfs-hadoop.
Related Issues (9)
- update the Ceph Hadoop plugin to Apache Hadoop/HDFS 2.7x HOT 15
- CephFS HDFS clients failing to respond to cache pressure HOT 3
- Connection failed HOT 6
- The config of "ceph.root.dir" seems not work HOT 5
- Exception in namenode join java.lang.IllegalArgumentException: Invalid URI for NameNode address (check fs.defaultFS): ceph://dellnode1:6789/ is not of scheme 'hdfs'.
- Does the hadoop plugin access the data as a cluster over the network or locally? HOT 1
- Cephfs - Hadoop out of maintenance?
- hadoop & ceph version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cephfs-hadoop.