-
Notifications
You must be signed in to change notification settings - Fork 167
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
hdfs backend #301
Comments
Hi,
you hadn't done anything wrong. Indeed the module hasn't been used/tested
for quite a long time.
Could you give the fix-hdfs referred by #302 a shot to see if that works
for you?
Note that the arguments for the HDFS module now need to be specified using
--hdfs.XXXX, with --help you'll get all the settable options.
|
Thanks. It can make now, but It doesn't work. I run
|
I see. I'll do some testing. Note: MDTest wasn't supported by the HDFS API
so far.
|
It appears, it works with IOR now, example in local mode:
$ mpiexec -np 2 ./src/ior -F -a HDFS --hdfs.user=root --hdfs.replicas=1 -G
141 -w -r -o /tmp/testfile -t 1m -k -R
The error: readDirect: FSDataInputStream#read error:
UnsupportedOperationException: Byte-buffer read unsupported by input
streamjava.lang.UnsupportedOperationException: Byte-buffer read unsupported
by input stream
at org.apache.hadoop.fs.FSDataInputStream.read(FSDataInputStream.java:150)
Can apparently be ignored.
https://issues.apache.org/jira/browse/HDFS-14083
Can you verify?
|
I've now implemented the necessary AIORI interface for MDTest. Let me know
if there is any problem.
Example:
$ mpiexec -np 2 ./src/mdtest -a HDFS --hdfs.user=root --hdfs.replicas=1 -n
10
Operation Max Min Mean
Std Dev
--------- --- --- ----
-------
Directory creation : 22,523 22,523 22,523
0,000
Directory stat : 325,632 325,628 325,630
0,002
Directory removal : 1593,567 1593,198 1593,382
0,184
File creation : 184,086 184,077 184,081
0,004
File stat : 520,211 520,209 520,210
0,001
File read : 1446,575 1446,525 1446,550
0,025
File removal : 5043,560 5043,509 5043,535
0,025
Tree creation : 95,137 95,137 95,137
0,000
Tree removal : 2907,856 2907,856 2907,856
0,000
|
Thank you very much. It can work now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to use the ior and mdtest for hdfs, and I use
./configure --with-hdfs
and thenmake
. However, I get some error:If I do something wrong? What I can do?
The text was updated successfully, but these errors were encountered: