Re: Error on storing JCLoud blob

2015-11-11 Thread Felipe Gutierrez
yes. thanks On Wed, Nov 11, 2015 at 2:11 PM, Ignasi Barrera wrote: > > java.io.IOException: Não há espaço disponível no dispositivo > > It looks like the disk ran out of space? > --

Error on storing JCLoud blob

2015-11-11 Thread Felipe Gutierrez
Hi, I got this error using JClouds after 2 days I am copying files to my container. The line is where I call putBlob Blob blob = mStore.blobBuilder(Integer.toString(mBucketIndex)).build(); blob.setPayload(data); mStore.putBlob(mContainerName, blob); I am using this versions org.apache.jclou

Re: too may files open

2014-11-19 Thread Felipe Gutierrez
thanks, apparently it is working well. I already could 130Gb and the files open remain around 2800. Let's see until 400Gb. On Wed, Nov 19, 2014 at 12:46 AM, Andrew Gaul wrote: > On Tue, Nov 18, 2014 at 05:27:48PM -0300, felipe gutierrez wrote: > > time ago I asked here why I a

distributed file system with jclouds.

2014-11-19 Thread felipe gutierrez
Hi Gaul, I was reading your site and this presentation . Thanks to share that =)! I am wondering to study about distributed file systems and may you have any books/papers to help me on the theory about it? I also wonde

too may files open

2014-11-18 Thread felipe gutierrez
Hi, time ago I asked here why I am getting "too many files open" with jclouds and the answer was I needed to close my BlobStoreContext. I did but now I am getting this error again. I believe the context is opening in other location. This is my code . I close the conte

Re: Blobstore Filesystem: does it work on shared folders with concurrent clients?

2014-11-12 Thread felipe gutierrez
gt; is already a distributed service. There are a number of things like > this including swift, ceph, many cassandra-like-things, etc. > > Filesystem was designed just as a tool, not as a production service. > > Hope this helps! > -A > > On Wed, Nov 12, 2014 at 9:28 AM, felipe

Re: Blobstore Filesystem: does it work on shared folders with concurrent clients?

2014-11-12 Thread felipe gutierrez
Hi, and about distributed servers with jCloud file system? Is that possible? Is there any example of it? Thanks in advance! On Wed, Nov 12, 2014 at 12:57 PM, Adrian Cole wrote: > Hi, Anthony. There is no synchronized, or mutex code in the current > filesystem implementation. There are also no m

Re: Version of jclouds 1.8.0 with jdk1.7.0_60

2014-10-14 Thread felipe gutierrez
it is compiling with the reflections-spring and jclouds. Now I am working to build these reflections. On Tue, Oct 14, 2014 at 3:41 PM, Andrew Phillips wrote: > Thanks Andrew, at the reflection jar there is another guava.jar. So I >> excluded it: >> > > Do things work now? ;-) > > ap >

Re: Version of jclouds 1.8.0 with jdk1.7.0_60

2014-10-14 Thread felipe gutierrez
Thanks Andrew, at the reflection jar there is another guava.jar. So I excluded it: org.reflections reflections 0.9.9 guava com.google.guava org.reflections reflections-spring 0.9.9-RC1 On Tue, Oct 14, 2014 at 2:21 PM, Andrew Phillips wrote: > Hi Felipe > > This looks very much like JCLOU

Version of jclouds 1.8.0 with jdk1.7.0_60

2014-10-14 Thread felipe gutierrez
hello, Does any one knows if it is about versions of jclouds with java? Thanks! my app is using jclouds version 1.8.0 with jdk1.7.0_60 and I am getting this error below when I add these dependencies at my pom: org.reflections reflections 0.9.9 org.reflections reflections-spring 0.9.9-RC1 co

Re: Method initialization failed from the command prompt

2014-09-08 Thread felipe gutierrez
I think you are missing some jars. http://stackoverflow.com/questions/15475576/error-package-org-jclouds-logging-slf4j-config-does-not-exist-the-class-slf4j On Mon, Sep 8, 2014 at 1:48 PM, Sofiane Bendoukha wrote: > Hello, > > executing this https://jclouds.apache.org/guides/openstack/ from Ec

Re: Error: No space left on device

2014-08-27 Thread felipe gutierrez
le? Note that the > filesystem blobstore does not create any temporary files although other > processes can consume this space. > > On Mon, Aug 25, 2014 at 03:12:59PM -0300, felipe gutierrez wrote: > > I am using rootfs, but I deleted the blocks to start again. So I have 83G > >

Re: Error: No space left on device

2014-08-25 Thread felipe gutierrez
yes, I used local file system context. Properties properties = new Properties(); properties.setProperty(FilesystemConstants.PROPERTY_BASEDIR, pFile.getAbsolutePath()); ContextBuilder overrides = ContextBuilder.newBuilder("filesystem").overrides(properties); mContext = overrides.buildView(BlobStore

Re: Error: No space left on device

2014-08-25 Thread felipe gutierrez
I am using rootfs, but I deleted the blocks to start again. So I have 83G free. My copy of 100G stoped in 80G. $ df -h Filesystem Size Used Avail Use% Mounted on rootfs 92G 4.7G 83G 6% / udev

Re: Error: No space left on device

2014-08-25 Thread felipe gutierrez
I am writing on the root "/storage/bench53473ResourcegraveISCSI9284" at my linux and my provide is a BlobStore. How could I delete the files only the temporary directory? I also cant find this directory at /tmp On Mon, Aug 25, 2014 at 2:12 PM, Andrew Phillips wrote: > org.jclouds.blobstore.Lo

Error: No space left on device

2014-08-25 Thread felipe gutierrez
Hi, I am trying to understand this error: 22:21:39 ERROR pool-13-thread-3 storage.JCloudsStorageModule - Error when storing blob: java.lang.RuntimeException: java.io.IOException: No space left on device at com.google.common.base.Throwables.propagate(Throwables.java:160) at org.jclouds.blobstore.Lo

Re: How does jclouds storage my files?

2014-08-13 Thread felipe gutierrez
ok, I understood, thanks Andrew. I believe I need to check it at the iSCSI protocol and create meta-data for it. On Tue, Aug 12, 2014 at 12:35 PM, Andrew Phillips wrote: > yes. But What I am doing is editing jscsi code. So they don't know how to >> answer because they don't move the blobs to ot

Re: How does jclouds storage my files?

2014-08-12 Thread felipe gutierrez
yes. But What I am doing is editing jscsi code. So they don't know how to answer because they don't move the blobs to other place. On Tue, Aug 12, 2014 at 10:27 AM, Andrew Phillips wrote: > 2 - I use this implementation of iSCSI http://jscsi.org/. And it is this >> class that saves my blobs >>

Re: How does jclouds storage my files?

2014-08-12 Thread felipe gutierrez
and format. 5 - The indexes are the blobs that indicates there are some files on my driver, but not really the file content. Hope this answer. On Mon, Aug 11, 2014 at 9:33 PM, Andrew Gaul wrote: > On Mon, Aug 11, 2014 at 05:08:16PM -0300, felipe gutierrez wrote: > > I am new with jclou

How does jclouds storage my files?

2014-08-11 Thread felipe gutierrez
Hi, I am new with jclouds. What I am doing is: Opening a disk with java and formatting it with jclouds. So, instead of write Files.write() I use jclouds. When I format I can see about 63 blocks of 2MB. The blocks next to it, say the 30 neighbors, are the indexes of my files copied to the disk. It

connect jclouds to a private cloud

2014-07-15 Thread felipe gutierrez
Hi all, In my code I have two options to connect jclouds to a filesystem or to an aws-s3 cloud. if (credentials.length == 0) { Properties properties = new Properties(); properties.setProperty(FilesystemConstants.PROPERTY_BASEDIR, pFile.getAbsolutePath()); ContextBuilder overrides = ContextBuilder

Examples of another providers

2014-07-15 Thread felipe gutierrez
Hi all, I use org.jclouds.blobstore.domain.Blob to manage my block of files and send it to the cloud. Eg: ContextBuilder overrides = ContextBuilder.newBuilder("filesystem").overrides(properties); mContext = overrides.buildView(BlobStoreContext.class); Looking at the jclouds git I saw another lib

Maginatics Cloud Storage Platform

2014-06-02 Thread felipe gutierrez
Hi, I have a doubt about Maginatics Cloud Storage Platform. JClouds is a subproject of it? Can I use the platform for free? Where can I download? Thanks in advance! Felipe

Re: How to identify the index blocks on jclouds filesystem?

2014-05-29 Thread felipe gutierrez
, > reliability, and robustness. > > On Wed, May 28, 2014 at 11:35:59PM -0300, felipe gutierrez wrote: > > ok. Thanks. It is I would like to know. > > > > I wonder to develope a method to check if some block has the index files > of > > my driver, so I could open a drive

Re: How to identify the index blocks on jclouds filesystem?

2014-05-28 Thread felipe gutierrez
stuff, but do you think it will contribute to apache? Thanks Andrew On Wed, May 28, 2014 at 5:08 PM, Andrew Gaul wrote: > On Wed, May 28, 2014 at 08:40:50AM -0300, felipe gutierrez wrote: > > Hi all, > > > > I am using jClouds BlobStore with filesystem, so I have blocks at

How to identify the index blocks on jclouds filesystem?

2014-05-28 Thread felipe gutierrez
Hi all, I am using jClouds BlobStore with filesystem, so I have blocks at my FileSystem. I woould like to know if there is a way to check which blocks contain the index of all files of my driver. For example, when I format a new driver, jclouds creates {0,1,2,...,16,2040,2047} blocks. If I add mo

links about BlobStore?

2014-05-27 Thread felipe gutierrez
Hi all, I am learning about jclouds and BlobStore. I executed an example of jClouds with filesystem and I would like to know more about BlobStore. For example, this link http://jclouds.apache.org/start/blobstore/ there is some thing about BlobRequestSigner, but I would like to know more about thi

Re: Error on ContextBuilder.newBuilder("filesystem")

2014-05-23 Thread felipe gutierrez
t I am gonna work on this later. Thanks! Regards Felipe On Fri, May 23, 2014 at 6:31 PM, Andrew Phillips wrote: > Quoting felipe gutierrez : > > The error is on the line >> >> mContext = overrides.buildView(BlobStoreContext.class); >> >> jclouds is importing gson-

Re: Error on ContextBuilder.newBuilder("filesystem")

2014-05-23 Thread felipe gutierrez
I runned from cmd and I think it is the same output. On Fri, May 23, 2014 at 2:30 PM, Andrew Phillips wrote: > from eclipse >> > > Then I suspect we still have something on the command line that maybe is > either in the project config cache, or is not being managed via Maven. > Could you try to

Re: Error on ContextBuilder.newBuilder("filesystem")

2014-05-23 Thread felipe gutierrez
from eclipse On Fri, May 23, 2014 at 2:12 PM, Andrew Phillips wrote: > I don't see any obvious classpath dependency conflicts now, but the error > still very much looks like that. > > Are you running the program from Eclipse, or from the command line via > Maven? > > ap >

Re: Error on ContextBuilder.newBuilder("filesystem")

2014-05-23 Thread felipe gutierrez
yes > org.apache.jclouds jclouds-blobstore 1.7.2 org.apache.jclouds.api filesystem 1.7.2 com.google.guava guava 15.0 On Fri, May 23, 2014 at 10:40 AM, Andrew Phillips wrote: > Hi Filipe > > > Caused by: java.lang.IncompatibleClassChangeError: class >> com.google.common.cache.CacheBuilder$

Error on ContextBuilder.newBuilder("filesystem")

2014-05-23 Thread felipe gutierrez
Hi all, I got other error on the line: ContextBuilder overrides = ContextBuilder.newBuilder("filesystem").overrides(properties); mContext = overrides.buildView(BlobStoreContext.class); maybe is another wrong version of some .jar. Does anybody have a idea? Or how do I discover the error? Thanks

Re: Error on connect with jclouds

2014-05-23 Thread felipe gutierrez
Thanks Andrew, I solved with this dependency, guava-14.0 was breaking my code: com.google.guava guava 15.0 On Fri, May 23, 2014 at 1:11 AM, Andrew Phillips wrote: > I attached the output of mvn dependency:tree. >> > > Thanks, Gaul! In that case, could you give us some details of what

Re: Error on connect with jclouds

2014-05-22 Thread felipe gutierrez
org.jscsi.batch.App.startTarget(App.java:32) at org.jscsi.batch.App.main(App.java:55) 17:30:07 ERROR main batch.App - Exit Status : [java.lang.IllegalAccessError: tried to access class com.google.common.reflect.TypeResolver from class org.jclouds.util.TypeToken2] On Thu, May 22, 2014 at 5:02 PM, felipe gutierrez wrote

Re: Error on connect with jclouds

2014-05-22 Thread felipe gutierrez
Thanks for reply Andrew, Do i need some account at AWS when I use a "filesystem" ? I have it o my maven: org.apache.jclouds jclouds-blobstore 1.7.2 org.apache.jclouds.provider aws-s3 1.7.2 org.apache.jclouds.api filesystem 1.7.2 and gson-2.0.jar at my maven directory. With out credential

Error on connect with jclouds

2014-05-22 Thread felipe gutierrez
Hi all, I am trying for the first time to connect in a filesystem with jclouds: Properties properties = new Properties(); properties.setProperty(FilesystemConstants.PROPERTY_BASEDIR, pFile.getAbsolutePath()); mContext = ContextBuilder.newBuilder("filesystem").overrides(properties).credentials("Un