Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Re: CouchDB brand identity and design of couchdb.apache.org

CouchCamp whiteboard
(11 lines)
How can I resolve an external relation in embedded documents
(44 lines)
Jul 9, 2010
David Coallier
David Coallier
*Bump*

Hey all,

I was thinking that it might be a nice idea to coordinate the redesign
of the website with the release of 1.0.0.

On this, let the discussions begin! :) Anyone's got something?




Reply
Tags: discussions
Messages in this thread
Re: CouchDB brand identity and design of couchdb.apache.org
Similar Threads
Apache CouchDB 1.0.0 has been released
Hello,

Apache CouchDB 1.0.0 has been released and is available for download:

	http://couchdb.apache.org/downloads.html

This is a huge milestone for the CouchDB community, and we'd like to thank
every single person who's helped us get this far. This project would be
nothing without its community, and we are fortunate enough to be blessed
with a very healthy one.

Changes in this release:

 * More efficient header commits.
 * Use O_APPEND to save lseeks.
 * Faster implementation of pread_iolist(). Further improves performance
on
   concurrent reads.
 * Added authentication caching
 * Faster default view collation.
 * Added option to include update_seq in view responses.

This builds on the changes made in 0.11.1, also released today.

Apache CouchDB is a document-oriented database that can be queried and
indexed in a MapReduce fashion using JavaScript. CouchDB also offers
incremental replication with bi-directional conflict detection and
resolution.

CouchDB provides a RESTful JSON API than can be accessed from any
environment that allows HTTP requests. There are myriad third-party client
libraries that make this even easier from your programming language of
choice. CouchDB’s built in Web administration console speaks directly to
the database using HTTP requests issued from your browser.

CouchDB is written in Erlang, a robust functional programming language
ideal for building concurrent distributed systems. Erlang allows for a
flexible design that is easily scalable and readily extensible.

Relax and prosper,

N

Apache CouchDB 0.11.1 has been released
Hello,

Apache CouchDB 0.11.1 has been released and is available for download:

	http://couchdb.apache.org/downloads.html

Changes in this release:

 * Mask passwords in active tasks and logging.
 * Update mochijson2 to allow output of BigNums not in float form.
 * Added support for X-HTTP-METHOD-OVERRIDE.
 * Disable jsonp by default.
 * Accept gzip encoded standalone attachments.
 * Made max_concurrent_connections configurable.
 * Added continuous replication option to Futon.
 * Added option to replicating test results anonymously to a community
   CouchDB instance.
 * Allow creation and deletion of config entries in Futon.
 * Fixed various UI issues in Futon.
 * Fixed compatibility with the Erlang R14 series.
 * Fixed warnings on Linux builds.
 * Fixed build error when aclocal needs to be called during the build.
 * Require ICU 4.3.1.
 * Fixed compatibility with Solaris.
 * Added authentication redirect URL to log in clients.
 * Added authentication caching, to avoid repeated opening and closing of
the
   users database for each request requiring authentication.
 * Made authentication timeout configurable.
 * Temporary views are now admin-only resources.
 * Don't require a revpos for attachment stubs.
 * Make file deletions async to avoid pauses during compaction and db
   deletion.
 * Fixed for wrong offset when writing headers and converting them to
blocks,
   only triggered when header is larger than 4k.
 * Preserve _revs_limit and instance_start_time after compaction.
 * Fixed timeout with large .ini files.
 * Added tests for couch.js and jquery.couch.js
 * Added various API features to jquery.couch.js
 * Faster default view collation.
 * Upgrade CommonJS modules support to 1.1.1.
 * Added option to include update_seq in view responses.
 * Fixed erlang filter funs and normalize filter fun API.
 * Fixed hang in view shutdown.
 * Refactored various internal APIs related to attachment streaming.
 * Fixed hanging replication.
 * Fixed keepalive issue.
 * Allow global rewrites so system defaults are available in vhosts.
 * Allow isolation of databases with vhosts.
 * Made the test suite overall more reliable.

Apache CouchDB is a document-oriented database that can be queried and
indexed in a MapReduce fashion using JavaScript. CouchDB also offers
incremental replication with bi-directional conflict detection and
resolution.

CouchDB provides a RESTful JSON API than can be accessed from any
environment that allows HTTP requests. There are myriad third-party client
libraries that make this even easier from your programming language of
choice. CouchDB’s built in Web administration console speaks directly to
the database using HTTP requests issued from your browser.

CouchDB is written in Erlang, a robust functional programming language
ideal for building concurrent distributed systems. Erlang allows for a
flexible design that is easily scalable and readily extensible.

Relax and prosper,

N



couchdb from java.
Have a problem with couchdb. I have installed couchdb and hv written code
to insert document from java.
Following is my code:

Session dbSession = new Session("localhost", 5984);

dbSession.createDatabase("employee");

Database db = dbSession.getDatabase("employee");

System.out.println("Database name is --"+db.toString());

Document doc = new Document();

doc.setId("1");

doc.put("EmpNo", 1);

doc.put("Name", "Mike");

doc.put("Group", "J2EECOE");

doc.put("Designation", "Manager");

doc.put("Language","Java");

db.saveDocument(doc);



but i am getting the following exceptions:



Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.commons.httpclient.HeaderElement.parseElements(Ljava/lang/String;)[Lorg/apache/commons/httpclient/HeaderElement;

at
org.apache.commons.httpclient.methods.StringRequestEntity.<init>(StringRequestEntity.java:101)

at com.fourspaces.couchdb.Session.post(Session.java:276)

at com.fourspaces.couchdb.Session.post(Session.java:262)

at com.fourspaces.couchdb.Database.saveDocument(Database.java:169)

at com.fourspaces.couchdb.Database.saveDocument(Database.java:194)

at testForCouchDB.CouchDBTest.main(CouchDBTest.java:28)



I have the following jars in the classpath:

cayenne-1.2.1.jar
commons-beanutils-1.8.3.jar
commons-codec-1.3.jar
commons-httpclient-3.1.jar
commons-logging-1.1.1.jar
couchdb4j-0.1.2.jar
ezmorph-1.0.6.jar
httpclient-4.0.-bet2.jar
httpcore-4.0.1.jar
httpmime-4.0.1.jar
json-lib-2.2.3-jdk15.jar



please let me know what is it that i am missing?



thanx

jyoti


Reporting in CouchDB
I need to write some reports on top of the data in my couch db
application.  My use case is a central database monitoring the data
coming in from a bunch of satellite sites, and they want to generate
aggregate reports on the data by site and by date range.

My current plan is to use a view with a complex key that includes the
site id and date the data came in, with the value being a dictionary
of contributions the data makes to each aggregate indicator in the
report.  Then my reduce function can just sum up the individual keys.

However, this will only generate reports with the granularity of a
single day out-of-the-box, which means I will need to do further
processing on the client side in order to aggregate the counts over
the entire range specified.

My question is -- is there any way to do this in one view via couchdb?
 My understanding is that the best aggregation I can do is get it down
to one value per key, so even though I am only using the keys to
specify start and end ranges and always want to return a full
aggregate with a single set of counts I still have to do the final
aggregation on the client side.

Sorry if this is unclear.  I'd be happy to clarify over mail or IRC if
necessary.

thanks,
Cory


Asynchronous JS CouchDB API
Hi guys,

I could not find any asynchronous version of
http://localhost:5984/_utils/script/couch.js
(Perhaps I didn't search hard enough)
That's why I modified it to work asynchronously instead of
synchronously.

This makes it possible to use CouchDB in Qt's QML.
If you are interested, have a look at
http://github.com/manuels/Async-CouchDB-API

Cheers,
Manuel



CouchDB Relaxback
Couchers,

I finally got around to starting what I hope is a regular series of blog
posts that will help everyone keep tabs on what's happening in the
community.

The first CouchDB Relaxback is here:
http://blog.couch.io/post/843835847/couchdb-relaxback

I would love to get ideas for things I should cover. It can be anything
from a shout-out to people who've been helping out on Stack Overflow
(thanks Sam Bisbee and others, I hope I remember to do that shout out in
next week's post) to just letting the world know that you've deployed a
CouchApp.

Or maybe it's even bigger, like your web-site has migrated to CouchDB. Or
even just normal, like you wrote a tutorial about how to get started with
CouchDB and Eclipse.

Nothing is to big or to small to include in the Relaxback. But I
definitely need help to keep track of it all. So feel free to reply to this
thread or write me directly: jchr### @apache.org

Cheers,
Chris



NYC CouchDB this week
Two CouchDB events in two straight days. NYC is like heaven!

There is a CouchDB meetup tomorrow, Tuesday the 27th, in NYC at 7pm at
DBA,
41 First Avenue, New York City, NY. 10003. Between 2nd and 3rd Street.

And I will be speaking on Wednesday the 28th at the NYC NoSQL meetup.
http://www.meetup.com/nosql-nyc/calendar/14107119/

-Mikeal


CouchDB stats
Hello,

I don't know how I ever found out about /_stats to view statistics of a
CouchDB instance, because I can't find anything on it in the wiki or The
Definitive Guide. Anyway, the data mostly speaks for itself, but I haven't
been able to figure out what 'current' and 'count' mean exactly. Can anyone
enlighten me? (I'm still running on 0.10 for now if that's relevant.)

Nils.

De informatie vervat in deze  e-mail en meegezonden bijlagen is
uitsluitend bedoeld voor gebruik door de geadresseerde en kan
vertrouwelijke informatie bevatten. Openbaarmaking, vermenigvuldiging,
verspreiding en/of verstrekking van deze informatie aan derden is
voorbehouden aan geadresseerde. De VPRO staat niet in voor de juiste en
volledige overbrenging van de inhoud van een verzonden e-mail, noch voor
tijdige ontvangst daarvan.


Error with couchdb 0.11
I have just installed couchdb 0.11 on gentoo, using the ebuild present
in portage.
The problem is that I can't start it.
That's the log:

[Sat, 03 Jul 2010 09:02:12 GMT] [error] [<0.95.0>]
{error_report,<0.31.0>,
              {<0.95.0>,crash_report,
              
[[{initial_call,{mochiweb_socket_server,init,['Argument__1']}},
                 {pid,<0.95.0>},
                 {registered_name,[]},
                 {error_info,{exit,eaddrnotavail,
                                   [{gen_server,init_it,6},
                                    {proc_lib,init_p_do_apply,3}]}},
                 {ancestors,[couch_secondary_services,couch_server_sup,
                             <0.32.0>]},
                 {messages,[]},
                 {links,[<0.85.0>]},
                 {dictionary,[]},
                 {trap_exit,true},
                 {status,running},
                 {heap_size,1597},
                 {stack_size,24},
                 {reductions,446}],
                []]}}

[Sat, 03 Jul 2010 09:02:12 GMT] [error] [<0.85.0>]
{error_report,<0.31.0>,
              {<0.85.0>,supervisor_report,
               [{supervisor,{local,couch_secondary_services}},
                {errorContext,start_error},
                {reason,eaddrnotavail},
                {offender,[{pid,undefined},
                           {name,httpd},
                           {mfa,{couch_httpd,start_link,[]}},
                           {restart_type,permanent},
                           {shutdown,brutal_kill},
                           {child_type,worker}]}]}}

[Sat, 03 Jul 2010 09:02:12 GMT] [error] [<0.77.0>]
{error_report,<0.31.0>,
    {<0.77.0>,supervisor_report,
     [{supervisor,{local,couch_server_sup}},
      {errorContext,start_error},
      {reason,shutdown},
      {offender,
          [{pid,undefined},
           {name,couch_secondary_services},
           {mfa,{couch_server_sup,start_secondary_services,[]}},
           {restart_type,permanent},
           {shutdown,infinity},
           {child_type,supervisor}]}]}}

I don't know how to interpret these errors, any suggestions?

Thanks,
-- Francesco


Re: Couchdb and OpenSolaris
 >We need couchdb 0.11 installed onto a Solaris 10 server. Has anyone
 >written a more recent guide for installing couchdb on Solaris than
the
 >Joyent 0.8.1 guide?

Last month I succeeded in installing Couchdb on Solaris 10 following the 
Joyent Guide, with some modifications.

I managed to install a version of couchdb 0.11 that somehow passes the 
"make test", (or whatever its name), but it starts up a nonworking
couchdb.

I had to install GNU sed and redo the configure - make -install cycle.
Suns Built-in sed creates incorrect Makefile + other scripts.


The diagnosis commands on the erl shell
1> application:start(couch)
, mentioned on this web page
https://issues.apache.org/jira/browse/COUCHDB-716
"CouchDB fails to start, just hangs."
was also helpful.

But as I said, installing GNU sed and setting the PATH appropriately 
sufficed for me. Don't know if this can help you on OPenSOlaris, though

Don't remember what else I did. I also omitted the cc => gcc hack as
our 
Solaris always uses gcc by default.



Knut Behrends                       Phone: +49 (0) 331 288 1688
Email: k### @gfz-potsdam.de           KeyID: 0xF22CACEF (GPG Public Key)

clucene and couchdb
Hi,

I am writing a clucene indexer for CouchDB, I have
update_notifications and _fti as a db handler working. I am using
stdout/stdin for the communication and it is looking good.

Looking at http://wiki.apache.org/couchdb/Full_text_search I see that
the index property in the design document is a javascript function and
I am wondering why? For views I can understand why you would want to
do an evaluation but for Lucene could we just use a JSON Path
reference?

Thoughts appreciated, since I am in C++ and SpiderMonkey is available
I could do an eval of the javascript, but it might be easier just to
parse the JSON path.

We will be putting this CLucene implementation in the public domain
once I have cleared the necessary internal paperwork.

CLucene is dual license (Apache and LGPL) and I am using Cajun (BSD)
for the JSON parsing so should I host this separately or take out a
JIRA ticket to have it included in CouchDB?

thanks,

Norman


Couchdb via java
I'm currently evaluating couchdb as a database for one of our web
applications.

This scenario requires couchdb to be used from java. Therefore I
downloaded couchdb-0.11.0 and couchdb4j-0.1.2.jar. 

I did install couchdb on my Windows-XP box and it runs fine:
	{"couchdb":"Welcome","version":"0.11.0"}
Then I inserted two simple documents and tried to "query" it with the
following java program:

Session s = new Session("localhost", 5984);
Database db = s.getDatabase("mydb");
ViewResults result = db.getAllDocuments(); 		
for (Document d : result.getResults()) {
	System.out.println("id:"+d.getId());	 // Oops
	String id = (String) d.get("id");
	System.out.println("id:"+id); 		// Here "id" is correct

	Document full = db.getDocument(d.getId());	
	System.out.println("Name:"+full.getString("name"));
}

Problem is that the document Ids are not returned. But the program
reports the proper id when getting the field directly. 

What gives?

/Axel

/Axel


AW: Couchdb via java
I tried jcouchdb and this worked ok.

Thanks for helping.

/Axel


Re: CouchDB 1.0 retrospectives
On 15 Jul 2010, at 01:14, Jan Lehnardt wrote:

 
 On 15 Jul 2010, at 01:11, Will Hartung wrote:
 
> Heh -- ditto -- I thought someone might aggregate links for a one
time
> post, but not hook me up to some confounded soulless world
reaching
> info bot contraption! :)
 
 I actually subscribe to CouchDB-only feeds (except for Rick Ho's blog
because it is all awesome) and Damien of course, so it is still very
selective. I read planet CouchDB every day :)

Today I added: 

 Will Hartung
 Klaus Trainer
 Randall Leeds

Anyone else with a CouchDB-only posts feed on his/her blog?
(cc us### @ — Looking for blogs to link on http://planet.couchdb.org/)

Cheers
Jan



Couchdb and OpenSolaris
We need couchdb 0.11 installed onto a Solaris 10 server. Has anyone 
written a more recent guide for installing couchdb on Solaris than the 
Joyent 0.8.1 guide?

My colleague built couchdb 0.11 and succeeded in getting past the 
https://issues.apache.org/jira/browse/COUCHDB-716 issue, to the futon 
management screen.

So far we've encountered two show-stopping issues:

- When trying to create a new user via futon, the action fails, and the 
error shown is
Signup error: {gen_server,call, [couch_query_servers,
{get_proc,{doc,<<"_design/_auth">>, {1, ..............(goes on
for a 
long time, includes the _user db validate_doc_update function text)


- Most of the tests don't work, including the 'basics' test - the status 
changes to 'running', but the test never completes.


Happy to help with chasing these things up, but not sure where to start.
-Patrick Barnes


Couchdb 0.11 and Ubuntu 10.04
Hi,
I have just installed couchdb 0.11 on ubuntu 10.04 following the wiki
instructions ( http://wiki.apache.org/couchdb/Installing_on_Ubuntu ).
It compiles fine, and it seems to work - I can get elements with the
id - but when I try to get elements through a view the request just
hangs. I've been waiting for at least 10 minutes while writing this
message and it's still hanging, yesterday at some point a got a
strange error back after some time (something like error: "unknown",
reason: "shutdown").
I made sure that all the permissions are ok, I recompiled it several
times, but nothing. I need 0.11 for the because it has the incremental
id.

-- Francesco


Re: couchdb local.ini set up
Hello,

the saveDoc function take the document to save in the first argument, and
options in the second arguiment...




function joinChannel(app, cname) {
  var authorRand = Math.random().toString();
  $("#frPage").submit(function() {
    var apl, apid, first, last, dsc, email, _id;
    apl = $("#app").val();
    apid = $("#appid").val();
    first = $("#first").val();
    last = $("#last").val();
    dsc = $("#desc").val();
    email = $("#email").val();
    if (apl) {
      var message = {
        _id:idGenerator(),
        apinfo: { apl : apl,  apid:apid, dsc:dsc
        },
        owner:{ first:first, last:last, email:email
        },
        date : new Date()
      };
      alert(JSON.stringify(message));
      app.db.saveDoc( message, 
        {
          "success": function () { alert ("document saved");},
          "error": function () { alert ("document recording failed");}
        }
      );
    }
    return false;
  }) 



Mickael



----- Mail Original -----
De: "tomy" <toma### @yahoo.com>
À: us### @couchdb.apache.org
Envoyé: Vendredi 11 Juin 2010 10h48:31 GMT +01:00 Amsterdam / Berlin /
Berne / Rome / Stockholm / Vienne
Objet: Re: couchdb local.ini set up

Thanks a lot guys for ur help I really appreciate it:
Could u please explain how can I modify
this 'app.db.saveDoc({channel:cname,message:message});' for my
application,
how the saveDoc() function works

function joinChannel(app, cname) {
  var authorRand = Math.random().toString();
  $("#frPage").submit(function() {
    var apl, apid, first, last, dsc, email, _id;
    apl = $("#app").val();
    apid = $("#appid").val();
    first = $("#first").val();
    last = $("#last").val();
    dsc = $("#desc").val();
    email = $("#email").val();
    if (apl) {
      var message = {
        _id:idGenerator(),
        apinfo: { apl : apl,  apid:apid, dsc:dsc
        },
        owner:{ first:first, last:last, email:email
        },
        date : new Date()
      };
      alert(JSON.stringify(message));
      app.db.saveDoc({channel:cname,message:message});
    }
    return false;
  }) 

thanks




CouchDB vs. MongoDB?
Hi,

I recently launched a Q+A site about scalability, and someone posted
this question about CouchDB vs. MongoDB:
  
http://scale.metaoptimize.com/questio...couchdb-or-others

I wanted to invite you to join the discussion and give your perspective.

Best,
    Joseph


CouchDB Clients?
I'm working on blog post about CouchDB clients for different languages
and I was hoping to get some help from the crowd on this one.

What CouchDB clients are available for each language?
What ones are good and well supported?
Which ones are just plain aweful?
Which languages/platforms just have plain bad HTTP support?

The wiki covers about 10% of the clients out there so I figured it was
best to just ask everyone.

-Mikeal


couchdb 1.0.0 with ubuntu 10.4
Servus  
I'm not able to get couchdb 1.0.0 running correct under ubuntu 10.4.

While installing I got an error bout a missing package mozjs that I'm
ignoring
(after reading some Web-Articles about that).

The couchdb is running, but ma testapp that runs with couchdb 0.10.0
doesnt.
A View-Request doesnt get any answer.

The reasn for me to change the couchdb-version was only the wish to have
jquery
1.4 runing. So my question is:
Is ist possible to change the content of /_utils/script/jquery to "update"
tp
jquery 1.4.2

Second Question: did anyone have installed couchdb 1.0.0 on ubuntu 10.4
without
errors

Wolfgang