Hi,
The exception already states the problem:
UninitializedMessageException: Message missing required fields: replication_flags, striping_policy
If you look for examples how to use the libxtreemfs for Java, have a look at the JUnit tests of libxtreemfs. Here’s a good example: https://code.google.com/p/xtreemfs/source/browse/java/servers/test/org/xtreemfs/common/libxtreemfs/VolumeTest.java#512
replication_flags can be “0” for r/w replicated flags.
Also, do not add all OSD UUIDs to the replica: newReplicaBuilder.addAllOsdUuids(osds);
Instead, pick one e.g, the first one returned by getSuitableOSDs().
Best regards,
Michael
--
---
You received this message because you are subscribed to the Google Groups "XtreemFS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtreemfs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
---
You received this message because you are subscribed to a topic in the Google Groups "XtreemFS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xtreemfs/1SkJrs3R69s/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to xtreemfs+u...@googlegroups.com.
--
--- You received this message because you are subscribed to a topic in the Google Groups "XtreemFS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xtreemfs/1SkJrs3R69s/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to xtreemfs+unsubscribe@googlegroups.com.