A problem with hippo uploading

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

A problem with hippo uploading

Allen
Following the 'Hippo Baby Steps', I successfully installed the hippo on my computer. Cheers.
During trying the uploading function, I encountered a problem.

The asset files uploaded by me are merged in one .dat file in 'storage\workspaces\default\db\seg0', is there a way to store the files individually and keep their format unchanged, like Maven Repository?
Furthermore, the size of the .dat file couldn't reduce as I delete some files. What is the reason for this?

Thanks very much.
Allen
2012.10.14
Reply | Threaded
Open this post in threaded view
|

Re: A problem with hippo uploading

Jeroen Reijn
Administrator
Hi! See my comments inline.

On Sun, Oct 14, 2012 at 4:42 AM, Allen <[hidden email]> wrote:
> Following the 'Hippo Baby Steps', I successfully installed the hippo on my
> computer. Cheers.

Great! :-)

> During trying the uploading function, I encountered a problem.
>
> The asset files uploaded by me are merged in one .dat file in
> 'storage\workspaces\default\db\seg0', is there a way to store the files
> individually and keep their format unchanged, like Maven Repository?
> Furthermore, the size of the .dat file couldn't reduce as I delete some
> files. What is the reason for this?

I'm afraid that's not possible. The file is stored inside the storage
layer of Apache Jackrabbit. This can be either filesystem or database.
Jackrabbit is in full control over how it stores the files and
therefor the files are not accessible like on a normal filesystem.

That files are not removed is due to the fact that in a normal
scenario the Jackrabbit datastore is append only. You need to run the
garbage collector explicitly before removing files permanently. See
for more information: http://wiki.apache.org/jackrabbit/DataStore

>
> Thanks very much.
> Allen
> 2012.10.14
>
>
>
> --
> View this message in context: http://hippo.2275632.n2.nabble.com/A-problem-with-hippo-uploading-tp7579538.html
> Sent from the Hippo CMS 7 mailing list archive at Nabble.com.
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html



--
Jeroen Reijn
Solution Architect
Hippo

Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com

http://about.me/jeroenreijn
_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html
Reply | Threaded
Open this post in threaded view
|

Re: A problem with hippo uploading

Allen
Thanks very much.
 

徐旺
Email:xu.wang[hidden email]
 
Date: 2012-10-15 17:00
Subject: Re: [Hippo-cms7-user] A problem with hippo uploading
Hi! See my comments inline.
 
On Sun, Oct 14, 2012 at 4:42 AM, Allen <[hidden email]> wrote:
> Following the 'Hippo Baby Steps', I successfully installed the hippo on my
> computer. Cheers.
 
Great! :-)
 
> During trying the uploading function, I encountered a problem.
>
> The asset files uploaded by me are merged in one .dat file in
> 'storage\workspaces\default\db\seg0', is there a way to store the files
> individually and keep their format unchanged, like Maven Repository?
> Furthermore, the size of the .dat file couldn't reduce as I delete some
> files. What is the reason for this?
 
I'm afraid that's not possible. The file is stored inside the storage
layer of Apache Jackrabbit. This can be either filesystem or database.
Jackrabbit is in full control over how it stores the files and
therefor the files are not accessible like on a normal filesystem.
 
That files are not removed is due to the fact that in a normal
scenario the Jackrabbit datastore is append only. You need to run the
garbage collector explicitly before removing files permanently. See
for more information: http://wiki.apache.org/jackrabbit/DataStore
 
>
> Thanks very much.
> Allen
> 2012.10.14
>
>
>
> --
> View this message in context: http://hippo.2275632.n2.nabble.com/A-problem-with-hippo-uploading-tp7579538.html
> Sent from the Hippo CMS 7 mailing list archive at Nabble.com.
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
 
 
 
-- 
Jeroen Reijn
Solution Architect
Hippo
 
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142
 
US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com
 
http://about.me/jeroenreijn
_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------


_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html
Reply | Threaded
Open this post in threaded view
|

Re: A problem with hippo uploading

Allen
In reply to this post by Jeroen Reijn
Thank you very much for your reply and help.
:-)
 
> Furthermore, the size of the .dat file couldn't reduce as I delete some
> files. What is the reason for this?
As you said, I could run the garbage collector to deal with that. 
 
Then what if I do not use the garbage collector and continue to add assets to 
the repository. The size of that .dat file would increase infinitely?
Or when it reaches to some limitation, it breaks into two or more .dat files?
 
Thanks very much.
Allen Xu
2012.10.16
 

徐旺
Email:xu.wang[hidden email]
 
Date: 2012-10-15 17:00
Subject: Re: [Hippo-cms7-user] A problem with hippo uploading
Hi! See my comments inline.
 
On Sun, Oct 14, 2012 at 4:42 AM, Allen <[hidden email]> wrote:
> Following the 'Hippo Baby Steps', I successfully installed the hippo on my
> computer. Cheers.
 
Great! :-)
 
> During trying the uploading function, I encountered a problem.
>
> The asset files uploaded by me are merged in one .dat file in
> 'storage\workspaces\default\db\seg0', is there a way to store the files
> individually and keep their format unchanged, like Maven Repository?
> Furthermore, the size of the .dat file couldn't reduce as I delete some
> files. What is the reason for this?
 
I'm afraid that's not possible. The file is stored inside the storage
layer of Apache Jackrabbit. This can be either filesystem or database.
Jackrabbit is in full control over how it stores the files and
therefor the files are not accessible like on a normal filesystem.
 
That files are not removed is due to the fact that in a normal
scenario the Jackrabbit datastore is append only. You need to run the
garbage collector explicitly before removing files permanently. See
for more information: http://wiki.apache.org/jackrabbit/DataStore
 
>
> Thanks very much.
> Allen
> 2012.10.14
>
>
>
> --
> View this message in context: http://hippo.2275632.n2.nabble.com/A-problem-with-hippo-uploading-tp7579538.html
> Sent from the Hippo CMS 7 mailing list archive at Nabble.com.
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
 
 
 
-- 
Jeroen Reijn
Solution Architect
Hippo
 
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142
 
US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com
 
http://about.me/jeroenreijn
_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------


_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html
Reply | Threaded
Open this post in threaded view
|

Re: A problem with hippo uploading

Jeroen Reijn
Administrator


Op 16 okt. 2012 08:57 schreef "徐旺" <[hidden email]> het volgende:
>
> Thank you very much for your reply and help.
> :-)
>  
> > Furthermore, the size of the .dat file couldn't reduce as I delete some
> > files. What is the reason for this?
> As you said, I could run the garbage collector to deal with that. 
>  
> Then what if I do not use the garbage collector and continue to add assets to 
> the repository. The size of that .dat file would increase infinitely?
> Or when it reaches to some limitation, it breaks into two or more .dat files?

Well I'm not sure. The file which you are refering to is a derby database file. For production usages we do not really recommend using derby, but switching to for instance mysql, postgres, oracle or mssql.

For development purposes using derby is fine and does not require people trying out Hippo to setup a database first.

I hope that explains things.

>  
> Thanks very much.
> Allen Xu
> 2012.10.16
>  
> ________________________________
> 徐旺
> Email:[hidden email]
>  
> From: Jeroen Reijn
> Date: 2012-10-15 17:00
> To: Hippo CMS 7 implementation list
> CC: [hidden email]
> Subject: Re: [Hippo-cms7-user] A problem with hippo uploading
> Hi! See my comments inline.
>  
> On Sun, Oct 14, 2012 at 4:42 AM, Allen <[hidden email]> wrote:
> > Following the 'Hippo Baby Steps', I successfully installed the hippo on my
> > computer. Cheers.
>  
> Great! :-)
>  
> > During trying the uploading function, I encountered a problem.
> >
> > The asset files uploaded by me are merged in one .dat file in
> > 'storage\workspaces\default\db\seg0', is there a way to store the files
> > individually and keep their format unchanged, like Maven Repository?
> > Furthermore, the size of the .dat file couldn't reduce as I delete some
> > files. What is the reason for this?
>  
> I'm afraid that's not possible. The file is stored inside the storage
> layer of Apache Jackrabbit. This can be either filesystem or database.
> Jackrabbit is in full control over how it stores the files and
> therefor the files are not accessible like on a normal filesystem.
>  
> That files are not removed is due to the fact that in a normal
> scenario the Jackrabbit datastore is append only. You need to run the
> garbage collector explicitly before removing files permanently. See
> for more information: http://wiki.apache.org/jackrabbit/DataStore
>  
> >
> > Thanks very much.
> > Allen
> > 2012.10.14
> >
> >
> >
> > --
> > View this message in context: http://hippo.2275632.n2.nabble.com/A-problem-with-hippo-uploading-tp7579538.html
> > Sent from the Hippo CMS 7 mailing list archive at Nabble.com.
> > _______________________________________________
> > Hippo-cms7-user mailing list and forums
> > http://www.onehippo.org/cms7/support/forums.html
>  
>  
>  
> -- 
> Jeroen Reijn
> Solution Architect
> Hippo
>  
> Amsterdam - Oosteinde 11, 1017 WT Amsterdam
> Boston - 1 Broadway, Cambridge, MA 02142
>  
> US +1 877 414 4776 (toll free)
> Europe +31(0)20 522 4466
> www.onehippo.com
>  
> http://about.me/jeroenreijn
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
>
> ---------------------------------------------------------------------------------------------------
>
> Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
> is intended only for the use of the intended recipient and may be confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this communication in error,please
> immediately notify the sender by return e-mail, and delete the original message and all copies from
> your system. Thank you.
> ---------------------------------------------------------------------------------------------------
>
>
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html


_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html